👷♂️ Reinstall @types/node so we don't need to specify absolute paths in tsconfig
This commit is contained in:
parent
afa3d2eb6c
commit
dbac3b914c
3 changed files with 12 additions and 3 deletions
|
@ -2,10 +2,10 @@ This library provides various methods for fetching releases from SWTOR’s patch
|
||||||
|
|
||||||
# Installation
|
# 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
|
```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:
|
In the project where you want to use this library, add the following to your `package.json` file:
|
||||||
|
|
6
package-lock.json
generated
6
package-lock.json
generated
|
@ -3,6 +3,12 @@
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"dependencies": {
|
"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": {
|
"sax": {
|
||||||
"version": "1.2.4",
|
"version": "1.2.4",
|
||||||
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
|
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
|
||||||
|
|
|
@ -23,5 +23,8 @@
|
||||||
"src/*/*/*.ts",
|
"src/*/*/*.ts",
|
||||||
"src/*/*/*/*.ts",
|
"src/*/*/*/*.ts",
|
||||||
"tsconfig.json"
|
"tsconfig.json"
|
||||||
]
|
],
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/node": "^10.12.0"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue