-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
64 lines (64 loc) · 2.46 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "dtc-updated",
"description": "This the default template for Hydrogen",
"version": "0.0.0",
"license": "MIT",
"private": true,
"scripts": {
"dev": "vite",
"lint": "npm-run-all lint:*",
"lint:js": "eslint --no-error-on-unmatched-pattern --ext .js,.ts,.jsx,.tsx src",
"lint:css": "stylelint ./src/**/*.{css,sass,scss}",
"build": "yarn build:client && yarn build:server && yarn build:worker",
"build:client": "vite build --outDir dist/client --manifest",
"build:server": "vite build --outDir dist/server --ssr @shopify/hydrogen/platforms/node",
"build:worker": "cross-env WORKER=true vite build --outDir dist/worker --ssr @shopify/hydrogen/platforms/worker",
"serve": "node --enable-source-maps dist/server",
"preview": "npx @shopify/hydrogen-cli@latest preview",
"test": "WATCH=true vitest",
"test:ci": "yarn build && vitest run",
"generate": "graphql-codegen"
},
"prettier": "@shopify/prettier-config",
"devDependencies": {
"@graphql-codegen/add": "^3.1.1",
"@graphql-codegen/cli": "2.6.2",
"@graphql-codegen/graphql-modules-preset": "^2.3.5",
"@graphql-codegen/import-types-preset": "^2.1.12",
"@graphql-codegen/introspection": "2.1.1",
"@graphql-codegen/near-operation-file-preset": "^2.2.6",
"@graphql-codegen/typed-document-node": "^2.2.5",
"@graphql-codegen/typescript": "2.4.5",
"@graphql-codegen/typescript-graphql-files-modules": "2.1.1",
"@graphql-codegen/typescript-operations": "2.3.2",
"@graphql-typed-document-node/core": "^3.1.0",
"@shopify/prettier-config": "^1.1.2",
"@shopify/stylelint-plugin": "^10.0.1",
"@tailwindcss/typography": "^0.5.2",
"autoprefixer": "^10.4.2",
"cross-env": "^7.0.3",
"eslint": "^7.31.0",
"eslint-plugin-hydrogen": "^0.12.1",
"npm-run-all": "^4.1.5",
"playwright": "^1.19.2",
"postcss": "^8.4.5",
"prettier": "^2.3.2",
"stylelint": "^13.13.0",
"tailwindcss": "^3.0.0",
"vite": "^2.9.0",
"vitest": "^0.5.9"
},
"dependencies": {
"@graphql-codegen/typescript": "^2.4.8",
"@graphql-codegen/typescript-operations": "^2.3.5",
"@graphql-codegen/typescript-react-query": "^3.5.9",
"@headlessui/react": "^1.5.0",
"@shopify/hydrogen": "^0.14.0",
"body-parser": "^1.19.1",
"compression": "^1.7.4",
"graphql-tag": "^2.12.4",
"react": "0.0.0-experimental-2bf7c02f0-20220314",
"react-dom": "0.0.0-experimental-2bf7c02f0-20220314",
"serve-static": "^1.14.1"
}
}