express: minify the javascript
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
20e560c55c
commit
fdeecd0e26
4 changed files with 412 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
"main": "server.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"minify": "cat ./asset/frontend.js | ./node_modules/.bin/minify --js > asset/frontend.min.js",
|
||||
"start": "node server.js"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -16,6 +17,7 @@
|
|||
"dependencies": {
|
||||
"body-parser": "^1.20.2",
|
||||
"express": "^4.18.2",
|
||||
"minify": "^10.5.2",
|
||||
"morgan": "^1.10.0",
|
||||
"sqlite3": "^5.1.6"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue