👷♂️ Update package.json to allow installation as package
This commit is contained in:
parent
f1d897791d
commit
d2c5d9ccb2
1 changed files with 7 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"postinstall": "npm start",
|
||||||
"start": "rm -rf dist && tsc",
|
"start": "rm -rf dist && tsc",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"update": "rm -rf node_modules package-lock.json && npm install"
|
"update": "rm -rf node_modules package-lock.json && npm install"
|
||||||
|
@ -18,5 +19,10 @@
|
||||||
"@types/node": "^10.12.8",
|
"@types/node": "^10.12.8",
|
||||||
"mysql": "^2.16.0",
|
"mysql": "^2.16.0",
|
||||||
"ssn": "git+https://git.jedipedia.net/swtor/ssn.git"
|
"ssn": "git+https://git.jedipedia.net/swtor/ssn.git"
|
||||||
}
|
},
|
||||||
|
"files": [
|
||||||
|
"src/*.ts",
|
||||||
|
"src/*/*.ts",
|
||||||
|
"tsconfig.json"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue