mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
d62cdd58d3
- Sass upgrade had some breaking changes where division was used hence updated for newer sass version support.
34 lines
1.4 KiB
JSON
34 lines
1.4 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"build:css:dev": "sass ./resources/sass:./public/dist",
|
|
"build:css:watch": "sass ./resources/sass:./public/dist --watch",
|
|
"build:css:production": "sass ./resources/sass:./public/dist -s compressed",
|
|
"build:js:dev": "esbuild --bundle ./resources/js/index.js --outfile=public/dist/app.js --sourcemap --target=es2019 --main-fields=module,main",
|
|
"build:js:watch": "chokidar --initial \"./resources/**/*.js\" -c \"npm run build:js:dev\"",
|
|
"build:js:production": "NODE_ENV=production esbuild --bundle ./resources/js/index.js --outfile=public/dist/app.js --sourcemap --target=es2019 --main-fields=module,main --minify",
|
|
"build": "npm-run-all --parallel build:*:dev",
|
|
"production": "npm-run-all --parallel build:*:production",
|
|
"dev": "npm-run-all --parallel watch livereload",
|
|
"watch": "npm-run-all --parallel build:*:watch",
|
|
"livereload": "livereload ./public/dist/",
|
|
"permissions": "chown -R $USER:$USER bootstrap/cache storage public/uploads"
|
|
},
|
|
"devDependencies": {
|
|
"chokidar-cli": "^2.1.0",
|
|
"esbuild": "0.12.5",
|
|
"livereload": "^0.9.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"punycode": "^2.1.1",
|
|
"sass": "^1.34.0"
|
|
},
|
|
"dependencies": {
|
|
"clipboard": "^2.0.8",
|
|
"codemirror": "^5.61.1",
|
|
"dropzone": "^5.9.2",
|
|
"markdown-it": "^12.0.6",
|
|
"markdown-it-task-lists": "^2.1.1",
|
|
"sortablejs": "^1.13.0"
|
|
}
|
|
}
|