👷‍♂️ Reinstall @types/node so we don't need to specify absolute paths in tsconfig

This commit is contained in:
C-3PO 2018-10-23 05:16:05 +02:00
parent afa3d2eb6c
commit dbac3b914c
Signed by: c3po
GPG key ID: 62993C4BB4D86F24
3 changed files with 12 additions and 3 deletions

View file

@ -2,10 +2,10 @@ This library provides various methods for fetching releases from SWTORs patch
# Installation
For this library to work, the following packages must be globally installed:
For this library to work, the TypeScript compiler must be globally installed:
```bash
sudo npm install -g @types/node typescript
sudo npm install -g typescript
```
In the project where you want to use this library, add the following to your `package.json` file:

6
package-lock.json generated
View file

@ -3,6 +3,12 @@
"requires": true,
"lockfileVersion": 1,
"dependencies": {
"@types/node": {
"version": "10.12.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.0.tgz",
"integrity": "sha512-3TUHC3jsBAB7qVRGxT6lWyYo2v96BMmD2PTcl47H25Lu7UXtFH/2qqmKiVrnel6Ne//0TFYf6uvNX+HW2FRkLQ==",
"dev": true
},
"sax": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",

View file

@ -23,5 +23,8 @@
"src/*/*/*.ts",
"src/*/*/*/*.ts",
"tsconfig.json"
]
],
"devDependencies": {
"@types/node": "^10.12.0"
}
}