2015-07-13 03:01:42 +08:00
|
|
|
{
|
|
|
|
"private": true,
|
2016-10-31 01:44:00 +08:00
|
|
|
"scripts": {
|
2020-06-27 23:52:26 +08:00
|
|
|
"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",
|
2020-09-05 23:50:20 +08:00
|
|
|
"build:js:dev": "esbuild --bundle ./resources/js/index.js --outfile=public/dist/app.js --sourcemap --target=es2020",
|
|
|
|
"build:js:watch": "chokidar \"./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 --minify",
|
2020-06-27 23:52:26 +08:00
|
|
|
"build": "npm-run-all --parallel build:*:dev",
|
|
|
|
"production": "npm-run-all --parallel build:*:production",
|
2018-03-17 21:03:13 +08:00
|
|
|
"dev": "npm-run-all --parallel watch livereload",
|
2020-06-27 23:52:26 +08:00
|
|
|
"watch": "npm-run-all --parallel build:*:watch",
|
2018-03-17 21:03:13 +08:00
|
|
|
"livereload": "livereload ./public/dist/",
|
2017-07-27 23:10:58 +08:00
|
|
|
"permissions": "chown -R $USER:$USER bootstrap/cache storage public/uploads"
|
2015-07-13 03:01:42 +08:00
|
|
|
},
|
2016-10-31 01:44:00 +08:00
|
|
|
"devDependencies": {
|
2020-09-05 23:50:20 +08:00
|
|
|
"chokidar-cli": "^2.1.0",
|
2020-09-05 23:54:25 +08:00
|
|
|
"esbuild": "^0.6.30",
|
2020-03-15 01:38:39 +08:00
|
|
|
"livereload": "^0.9.1",
|
2018-11-28 05:47:34 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2020-09-05 23:50:20 +08:00
|
|
|
"sass": "^1.26.10"
|
2017-04-15 01:47:33 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-03-15 01:38:39 +08:00
|
|
|
"clipboard": "^2.0.6",
|
2020-09-05 23:54:25 +08:00
|
|
|
"codemirror": "^5.57.0",
|
2020-07-25 07:25:30 +08:00
|
|
|
"dropzone": "^5.7.2",
|
2020-06-27 23:52:26 +08:00
|
|
|
"markdown-it": "^11.0.0",
|
2018-11-04 23:40:10 +08:00
|
|
|
"markdown-it-task-lists": "^2.1.1",
|
2020-07-25 07:25:30 +08:00
|
|
|
"sortablejs": "^1.10.2"
|
2015-07-13 03:01:42 +08:00
|
|
|
}
|
|
|
|
}
|