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" + } }