👷‍♂️ Remove @types/node since it must be globally installed

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

View file

@ -1,11 +1,11 @@
This library provides various methods for fetching releases from SWTORs patch server CDN and installing them. You can use it to write your own patch program. If you just want to install patches without having to do any programming, use the command-line tools from the [ssn-tools](/swtor/ssn-tools) repository.
This library provides various methods for fetching releases from SWTORs patch server CDN and installing them. You can use it to write your own patch program. If you just want to install patches without having to do any programming, use the command line tools from the [ssn-tools](/swtor/ssn-tools) repository.
# Installation
For this tool to work, `tsc` and `tslint` must be globally available, e.g. by running:
For this library to work, the following packages must be globally installed:
```bash
sudo npm install -g typescript tslint
sudo npm install -g @types/node 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,12 +3,6 @@
"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

@ -13,9 +13,6 @@
"start": "rm -rf dist && tsc",
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"@types/node": "^10.12.0"
},
"dependencies": {
"ssn-installer": "git+https://git.jedipedia.net/swtor/ssn-installer.git",
"xml-js": "^1.6.8"