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-10-01 05:28:53 +08:00
|
|
|
"build:js:dev": "esbuild --bundle ./resources/js/index.js --outfile=public/dist/app.js --sourcemap --target=es2019 --main-fields=module,main",
|
2020-10-01 17:25:22 +08:00
|
|
|
"build:js:watch": "chokidar --initial \"./resources/**/*.js\" -c \"npm run build:js:dev\"",
|
2020-10-01 05:28:53 +08:00
|
|
|
"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",
|
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": {
|
2021-08-21 22:53:45 +08:00
|
|
|
"chokidar-cli": "^3.0.0",
|
|
|
|
"esbuild": "0.12.22",
|
2021-04-07 04:55:49 +08:00
|
|
|
"livereload": "^0.9.3",
|
2018-11-28 05:47:34 +08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2020-09-06 03:37:23 +08:00
|
|
|
"punycode": "^2.1.1",
|
2021-08-21 22:53:45 +08:00
|
|
|
"sass": "^1.38.0"
|
2017-04-15 01:47:33 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-04-07 04:55:49 +08:00
|
|
|
"clipboard": "^2.0.8",
|
2021-08-21 22:53:45 +08:00
|
|
|
"codemirror": "^5.62.3",
|
2021-04-07 04:55:49 +08:00
|
|
|
"dropzone": "^5.9.2",
|
2021-08-21 22:53:45 +08:00
|
|
|
"markdown-it": "^12.2.0",
|
2018-11-04 23:40:10 +08:00
|
|
|
"markdown-it-task-lists": "^2.1.1",
|
2021-08-21 22:53:45 +08:00
|
|
|
"sortablejs": "^1.14.0"
|
2015-07-13 03:01:42 +08:00
|
|
|
}
|
|
|
|
}
|