1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-11-01 01:30:21 +01:00
haste-server/package.json
zneix 509971c5ac
Switched to proper babel-minify lib
I Decided to remove static asset compression from actual code to make runtime faster and moved it to package.json script which only builds application once on installation.\nAfter this commit, after every update that changed static/application.js, you also need to run npm run-script build after git pull
2020-09-20 18:18:38 +02:00

36 lines
857 B
JSON

{
"name": "haste",
"version": "0.2.5",
"description": "Private Pastebin Server - continued by zneix",
"keywords": [
"paste",
"pastebin",
"haste",
"hastebin"
],
"author": {
"name": "John Crepezzi",
"email": "john.crepezzi@gmail.com",
"url": "http://seejohncode.com/"
},
"main": "server.js",
"dependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"babel-plugin-minify-mangle-names": "^0.5.0",
"busboy": "^0.3.1",
"express": "^4.17.1",
"express-rate-limit": "^5.1.3",
"st": "^2.0.0",
"winston": "^3.3.3"
},
"devDependencies": {
"eslint": "^7.9.0",
"mocha": "^8.1.3"
},
"scripts": {
"build": "npm install && npx babel --plugins minify-mangle-names --no-comments --minified static/application.js --out-file static/application.min.js",
"start": "node server.js",
"test": "mocha --recursive"
}
}