- Remove the .map files from git and ignore public/css/**/*.map; they
are still generated locally by 'npm run sass' / 'sass-watch'
- New 'npm run build:css': builds the committed CSS (style.css, app.css,
style.min.css) without source maps or sourceMappingURL comments
- style.min.css was out of date (missing .search_form{display:none}
after a merge); rebuilt from the current sources
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
31 lines
1.2 KiB
JSON
31 lines
1.2 KiB
JSON
{
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "grunt --gruntfile Gruntfile.cjs watch",
|
|
"build": "grunt --gruntfile Gruntfile.cjs concat uglify",
|
|
"postinstall": "node scripts/setup-vendor.js || true",
|
|
"sass": "sass resources/assets/sass:public/css",
|
|
"build:css": "sass --no-source-map resources/assets/sass:public/css && sass --no-source-map --style compressed resources/assets/sass/style.scss:public/css/style.min.css",
|
|
"sass-watch": "sass --watch resources/assets/sass:public/css",
|
|
"sass-minify": "sass resources/assets/sass/style.scss:public/css/style.min.css --style compressed",
|
|
"sass-minify-watch": "sass --watch resources/assets/sass/style.scss:public/css/style.min.css --style compressed",
|
|
"js-watch": "grunt --gruntfile Gruntfile.cjs watch"
|
|
},
|
|
"dependencies": {
|
|
"jquery": "^3.7.0",
|
|
"jquery-ui": "^1.13.0",
|
|
"moment": "^2.30.0",
|
|
"daterangepicker": "^3.1.0",
|
|
"wavesurfer.js": "^7.8.0",
|
|
"air-datepicker": "^3.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"grunt": "^1.6.1",
|
|
"grunt-contrib-concat": "^2.1.0",
|
|
"grunt-contrib-uglify": "^5.2.2",
|
|
"grunt-contrib-watch": "^1.1.0",
|
|
"sass": "^1.71.1"
|
|
}
|
|
}
|