mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
19 lines
952 B
JSON
19 lines
952 B
JSON
{
|
|
"scripts": {
|
|
"build": "npm run build:icons && npm run build:tailwind",
|
|
"build:tailwind": "tailwindcss build -i static/assets/css/app.css -o static/assets/css/app.dist.css --minify",
|
|
"build:icons": "node scripts/bundle_icons.js",
|
|
"build:all:compress": "npm run build && npm run compress",
|
|
"watch": "chokidar \"./views/**/*.html\" \"./static/assets/js/**/*.js\" \"./static/assets/css/**/*.css\" -i \"**/vendor/*\" -i \"**/*.dist.*\" -c \"npm run build\"",
|
|
"watch:compress": "chokidar \"./views/**/*.html\" \"./static/assets/js/**/*.js\" \"./static/assets/css/**/*.css\" -i \"**/vendor/*\" -i \"**/*.dist.*\" -c \"npm run build:all:compress\"",
|
|
"compress": "brotli -f static/assets/css/*.dist.css && brotli -f static/assets/js/*.dist.js"
|
|
},
|
|
"devDependencies": {
|
|
"@iconify/json": "^2.1.136",
|
|
"@iconify/json-tools": "^1.0.10",
|
|
"chokidar-cli": "^3.0.0",
|
|
"tailwindcss": "^3.1.8"
|
|
},
|
|
"dependencies": {}
|
|
}
|