540119f133
Moving sass out of webpack cleans the setup quite considerably and brings a good speed improvement. Made use of npm-run-all so the previous commands still run like before.
37 lines
1.2 KiB
JSON
37 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": "webpack",
|
|
"build:js:watch": "webpack --watch",
|
|
"build:js:production": "NODE_ENV=production webpack",
|
|
"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": {
|
|
"livereload": "^0.9.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"sass": "^1.26.9",
|
|
"webpack": "^4.43.0",
|
|
"webpack-cli": "^3.3.12"
|
|
},
|
|
"dependencies": {
|
|
"clipboard": "^2.0.6",
|
|
"codemirror": "^5.55.0",
|
|
"dropzone": "^5.7.1",
|
|
"markdown-it": "^11.0.0",
|
|
"markdown-it-task-lists": "^2.1.1",
|
|
"sortablejs": "^1.10.2",
|
|
"vue": "^2.6.11",
|
|
"vuedraggable": "^2.23.2"
|
|
},
|
|
"browser": {
|
|
"vue": "vue/dist/vue.common.js"
|
|
}
|
|
}
|