-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.95 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
{
"name": "h2o-test",
"description": "This the default template for Hydrogen",
"version": "0.0.0",
"license": "MIT",
"private": true,
"scripts": {
"dev": "cross-env LOCAL_DEV=true shopify hydrogen dev",
"lint": "npm-run-all lint:*",
"lint:js": "eslint --resolve-plugins-relative-to . --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-event && cat poly.js dist/worker/index.js > dist/worker/index1.js && mv dist/worker/index1.js dist/worker/index.js",
"serve": "node --enable-source-maps dist/server",
"test": "WATCH=true vitest",
"test:ci": "yarn build && vitest run",
"preview": "shopify hydrogen preview"
},
"prettier": "@shopify/prettier-config",
"devDependencies": {
"@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",
"@shopify/cli": "1.0.9",
"@shopify/cli-hydrogen": "2.0.0"
},
"dependencies": {
"@headlessui/react": "^1.5.0",
"@shopify/hydrogen": "^0.19.0",
"body-parser": "^1.20.0",
"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"
}
}