From dbac3b914c0031e46a12bf54e4d5feb15f67ff73 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Tue, 23 Oct 2018 05:16:05 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=82=EF=B8=8F=20Reins?= =?UTF-8?q?tall=20@types/node=20so=20we=20don't=20need=20to=20specify=20ab?= =?UTF-8?q?solute=20paths=20in=20tsconfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- package-lock.json | 6 ++++++ package.json | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 11db89a..d1dcb46 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ This library provides various methods for fetching releases from SWTOR’s 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: diff --git a/package-lock.json b/package-lock.json index 24729c5..f9e7ed6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 597454a..266e019 100644 --- a/package.json +++ b/package.json @@ -23,5 +23,8 @@ "src/*/*/*.ts", "src/*/*/*/*.ts", "tsconfig.json" - ] + ], + "devDependencies": { + "@types/node": "^10.12.0" + } }