build(package.json): add release script and main entry

This commit is contained in:
simon 2020-02-27 19:33:07 +01:00
parent 517bb2910b
commit e8b9462c58

View File

@ -12,6 +12,7 @@
], ],
"homepage": "https://github.com/simllll/node-radius-server", "homepage": "https://github.com/simllll/node-radius-server",
"scripts": { "scripts": {
"release": "standard-version",
"debug": "DEBUG=radius:* node dist/app.js", "debug": "DEBUG=radius:* node dist/app.js",
"start": "node dist/app.js", "start": "node dist/app.js",
"build": "tsc", "build": "tsc",
@ -21,6 +22,7 @@
"test-radtest": "radtest -x user pwd localhost 1812 testing123", "test-radtest": "radtest -x user pwd localhost 1812 testing123",
"create-certificate": "sh ./ssl/create.sh && sh ./ssl/sign.sh" "create-certificate": "sh ./ssl/create.sh && sh ./ssl/sign.sh"
}, },
"main": "dist/app.js",
"dependencies": { "dependencies": {
"debug": "^4.1.1", "debug": "^4.1.1",
"imap-simple": "^4.3.0", "imap-simple": "^4.3.0",