45 lines
1.5 KiB
JSON
45 lines
1.5 KiB
JSON
{
|
|
"name": "dev",
|
|
"description": "This is a dev environment for Hydrogen",
|
|
"version": "0.6.4",
|
|
"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 src/entry-server.jsx",
|
|
"build:worker": "WORKER=true vite build --outDir dist/worker --ssr worker.js",
|
|
"serve": "node --enable-source-maps server"
|
|
},
|
|
"prettier": "@shopify/prettier-config",
|
|
"devDependencies": {
|
|
"@shopify/eslint-plugin": "^40.4.0",
|
|
"@shopify/prettier-config": "^1.1.2",
|
|
"@shopify/stylelint-plugin": "^10.0.1",
|
|
"@tailwindcss/typography": "^0.4.1",
|
|
"autoprefixer": "^10.2.5",
|
|
"eslint": "^7.31.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss": "^8.2.10",
|
|
"prettier": "^2.3.2",
|
|
"stylelint": "^13.13.0",
|
|
"tailwindcss": "^2.2.4",
|
|
"vite": "^2.6.14"
|
|
},
|
|
"dependencies": {
|
|
"@headlessui/react": "^1.4.1",
|
|
"@shopify/hydrogen": "^0.6.4",
|
|
"compression": "^1.7.4",
|
|
"express": "^4.17.1",
|
|
"graphql-tag": "^2.12.4",
|
|
"react": "18.0.0-alpha-e6be2d531",
|
|
"react-dom": "18.0.0-alpha-e6be2d531",
|
|
"react-router-dom": "^5.2.0",
|
|
"serve-static": "^1.14.1"
|
|
}
|
|
}
|