mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-22 15:26:43 +08:00
27339079f7
Allows us to use NodeJS code for file/directory locating to not be shell/os specific, while also also reducing duplicated complexity within packages.json file. Related to #3323
34 lines
1.2 KiB
JSON
34 lines
1.2 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": "node dev/build/esbuild.js",
|
|
"build:js:watch": "chokidar --initial \"./resources/**/*.js\" -c \"npm run build:js:dev\"",
|
|
"build:js:production": "node dev/build/esbuild.js production",
|
|
"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": "^3.0",
|
|
"esbuild": "0.14.36",
|
|
"livereload": "^0.9.3",
|
|
"npm-run-all": "^4.1.5",
|
|
"punycode": "^2.1.1",
|
|
"sass": "^1.50.0"
|
|
},
|
|
"dependencies": {
|
|
"clipboard": "^2.0.10",
|
|
"codemirror": "^5.65.2",
|
|
"dropzone": "^5.9.3",
|
|
"markdown-it": "^12.3.2",
|
|
"markdown-it-task-lists": "^2.1.1",
|
|
"sortablejs": "^1.15.0"
|
|
}
|
|
}
|