2021-12-19 15:04:00 +03:00
|
|
|
{
|
|
|
|
"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",
|
2021-12-20 16:51:05 +03:00
|
|
|
"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"
|
2021-12-19 15:04:00 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@iconify/json": "^1.1.444",
|
|
|
|
"@iconify/json-tools": "^1.0.10",
|
|
|
|
"chokidar-cli": "^3.0.0",
|
2022-10-09 02:53:52 +03:00
|
|
|
"tailwindcss": "^3.1.8"
|
2021-12-19 15:04:00 +03:00
|
|
|
},
|
|
|
|
"dependencies": {}
|
|
|
|
}
|