Configure typescript

This commit is contained in:
maxswa
2019-06-13 16:49:07 -04:00
parent 7477894fd1
commit 2b6c62ae0b
5 changed files with 150 additions and 5 deletions

View File

@@ -2,8 +2,14 @@
"name": "osrs-json-hiscores",
"version": "1.1.3",
"description": "The Oldschool Runescape API wrapper that does more!",
"main": "hiscores.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib/**/*"
],
"scripts": {
"dev": "watch 'yarn run build' src",
"build": "tsc",
"test": "jest"
},
"repository": {
@@ -33,7 +39,9 @@
"devDependencies": {
"jest": "^24.8.0",
"tslint": "^5.17.0",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.2"
"typescript": "^3.5.2",
"watch": "^1.0.2"
}
}