- Add package.json dependencies: jquery, jquery-ui, moment, daterangepicker, wavesurfer.js, air-datepicker - Create scripts/setup-vendor.js to copy npm packages to public/assets/vendor - Update view templates to use vendor paths instead of old /js/ or CDN URLs - Clean up legacy commented-out scripts in master layout
30 lines
938 B
JSON
30 lines
938 B
JSON
{
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "grunt watch",
|
|
"build": "grunt uglify concat",
|
|
"postinstall": "node scripts/setup-vendor.js || true",
|
|
"sass": "sass resources/assets/sass:public/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 watch"
|
|
},
|
|
"dependencies": {
|
|
"jquery": "^3.7.0",
|
|
"jquery-ui": "^1.13.0",
|
|
"moment": "^2.30.0",
|
|
"daterangepicker": "^3.1.0",
|
|
"wavesurfer.js": "^6.3.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"
|
|
}
|
|
}
|