👷‍♂️ Update package.json to allow installation as package

This commit is contained in:
C-3PO 2018-11-15 19:12:17 +01:00
parent f1d897791d
commit d2c5d9ccb2
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -9,6 +9,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"postinstall": "npm start",
"start": "rm -rf dist && tsc",
"test": "echo \"Error: no test specified\" && exit 1",
"update": "rm -rf node_modules package-lock.json && npm install"
@ -18,5 +19,10 @@
"@types/node": "^10.12.8",
"mysql": "^2.16.0",
"ssn": "git+https://git.jedipedia.net/swtor/ssn.git"
}
},
"files": [
"src/*.ts",
"src/*/*.ts",
"tsconfig.json"
]
}