-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
27 lines (27 loc) · 1.11 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
{
"type": "module",
"scripts": {
"build:js": "esbuild src/js/index.ts --bundle --target=chrome58,firefox57,safari11,edge16 --outfile=dist/static/js/bundle.js --minify",
"build:css": "tailwindcss -i src/css/input.css -o dist/static/css/output.css --minify",
"build:copy": "node ./scripts/copy.js",
"build": "concurrently \"npm run build:*\"",
"preview": "node ./scripts/live-server.js",
"watch:js": "esbuild src/js/index.ts --bundle --sourcemap --target=chrome58,firefox57,safari11,edge16 --outfile=dist/static/js/bundle.js --watch",
"watch:css": "tailwindcss -i src/css/input.css -o dist/static/css/output.css --watch",
"watch:copy": "node ./scripts/copy.js --watch",
"live-server": "node ./scripts/live-server.js --watch",
"dev": "concurrently \"npm run watch:*\" \"npm run live-server\""
},
"devDependencies": {
"@types/node": "^20.10.5",
"chokidar-cli": "^3.0.0",
"concurrently": "^8.2.2",
"esbuild": "0.19.9",
"express": "^4.18.2",
"fs-extra": "^11.2.0",
"lodash": "^4.17.21",
"tailwindcss": "3.3.6",
"typescript": "^5.3.3",
"ws": "^8.15.1"
}
}