generated from gnomeria/preact-vite-starter
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
47 lines (47 loc) · 1.55 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
{
"name": "preact-vite-tailwind-todo-app",
"version": "1.8.3",
"type": "module",
"scripts": {
"dev": "VITE_PACKAGE_VERSION=$npm_package_version vite --port 5173 --strictPort",
"preview": "vite preview --port 5173 --strictPort",
"build": "VITE_PACKAGE_VERSION=$npm_package_version cross-env NODE_ENV=production && vite build",
"clean": "rm -rf dist .cache .tmp lib build && mkdir dist",
"pwaVersion": "awk -v myvar='0' '/var cacheName/{gsub(\"\\\"\",\"\"); split($NF,a,\"-\"); myvar = a[2]; gsub(a[2],a[2]++); gsub(\"version\",\"\\x22\"\"version\"); gsub(myvar,a[2]\"\\x22\");}1' public/serviceWorker.js > .tmp && mv .tmp public/serviceWorker.js"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-toastify": "^8.2.0",
"recoil": "^0.4.1"
},
"devDependencies": {
"@originjs/vite-plugin-federation": "^1.3.5",
"@tailwindcss/typography": "^0.3.1",
"@types/node": "^16.18.96",
"@types/react": "^17.0.80",
"@types/react-dom": "^18.2.25",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.19",
"cross-env": "^7.0.3",
"postcss-import": "^14.1.0",
"prettier": "^2.8.8",
"replace": "^1.2.2",
"tailwindcss": "^2.2.19",
"typescript": "^4.9.5",
"vite": "^5.2.10"
},
"lint-staged": {
"*/**/*.{js,jsx,ts,tsx, json}": [
"npx prettier --write"
]
},
"peerDependencies": {
"postcss": "^8.4.38"
},
"resolutions": {
"postcss": "8.1.10"
}
}