-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
22 lines (22 loc) · 945 Bytes
/
package.json
File metadata and controls
22 lines (22 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "bsbdev",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"clean": "rm -f website/static/styles/src.css",
"build": "npm run tw-build && node build.js && npm run minify && npm run clean",
"minify": "npm run minify-html && npm run minify-js",
"minify-html": "html-minifier-terser ./website/index.html -o ./website/index.html --collapse-whitespace --remove-comments --minify-css true --minify-js true",
"minify-js": "terser website/static/scripts/main.js -o ./website/static/scripts/main.js --compress --mangle",
"tw-build": "npx @tailwindcss/cli -i ./website/static/styles/src.css -o ./website/static/styles/build.css --minify",
"start": "npx http-server ./website/ --port 8000 --brotli --proxy https://go.bsb.dev"
},
"dependencies": {
"@tailwindcss/cli": "^4.1.12",
"tailwindcss": "^4.1.12"
},
"devDependencies": {
"html-minifier-terser": "^7.2.0"
}
}