-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
53 lines (53 loc) · 1.83 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
{
"name": "hydrogen-ts",
"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"
},
"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"
},
"dependencies": {
"@headlessui/react": "^1.5.0",
"@shopify/hydrogen": "^0.14.0",
"@types/node": "^17.0.24",
"@types/react": "^18.0.5",
"body-parser": "^1.19.1",
"compression": "^1.7.4",
"cssnano": "^5.1.7",
"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",
"typescript": "^4.6.3"
}
}