osrs-tools 2.2.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +175 -207
- package/dist/model/account/Skill.d.ts +26 -17
- package/dist/model/account/Skill.d.ts.map +1 -1
- package/dist/model/account/Skill.js +26 -17
- package/dist/model/account/Skill.js.map +1 -1
- package/dist/model/quest/all/CurrentAffairs.d.ts +35 -0
- package/dist/model/quest/all/CurrentAffairs.d.ts.map +1 -0
- package/dist/model/quest/all/CurrentAffairs.js +84 -0
- package/dist/model/quest/all/CurrentAffairs.js.map +1 -0
- package/dist/model/quest/all/Pandemonium.d.ts +36 -0
- package/dist/model/quest/all/Pandemonium.d.ts.map +1 -0
- package/dist/model/quest/all/Pandemonium.js +81 -0
- package/dist/model/quest/all/Pandemonium.js.map +1 -0
- package/dist/model/quest/all/PryingTimes.d.ts +47 -0
- package/dist/model/quest/all/PryingTimes.d.ts.map +1 -0
- package/dist/model/quest/all/PryingTimes.js +92 -0
- package/dist/model/quest/all/PryingTimes.js.map +1 -0
- package/dist/model/quest/all/TroubledTortugans.d.ts +67 -0
- package/dist/model/quest/all/TroubledTortugans.d.ts.map +1 -0
- package/dist/model/quest/all/TroubledTortugans.js +84 -0
- package/dist/model/quest/all/TroubledTortugans.js.map +1 -0
- package/dist/tools/experience.d.ts +17 -0
- package/dist/tools/experience.d.ts.map +1 -0
- package/dist/tools/experience.js +134 -0
- package/dist/tools/experience.js.map +1 -0
- package/dist/tools/getAccount.d.ts +1 -0
- package/dist/tools/getAccount.d.ts.map +1 -0
- package/dist/tools/getAccount.js +27 -0
- package/dist/tools/getAccount.js.map +1 -0
- package/package.json +90 -90
package/package.json
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "osrs-tools",
|
|
3
|
+
"description": "A comprehensive TypeScript library for Old School RuneScape (OSRS) data and utilities, including quest data, skill requirements, and game item information",
|
|
4
|
+
"version": "2.3.0",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"require": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"sideEffects": false,
|
|
15
|
+
"files": [
|
|
16
|
+
"dist/**"
|
|
17
|
+
],
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": ">=18"
|
|
20
|
+
},
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "https://github.com/jamescer/osrs-tools.git"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"osrs",
|
|
27
|
+
"runescape",
|
|
28
|
+
"typescript",
|
|
29
|
+
"quest",
|
|
30
|
+
"game-data"
|
|
31
|
+
],
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "tsc -p tsconfig.build.json",
|
|
34
|
+
"clean": "rimraf dist coverage",
|
|
35
|
+
"dev": "tsc --watch -p tsconfig.build.json",
|
|
36
|
+
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
37
|
+
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
|
|
38
|
+
"runExample": "ts-node examples/ExampleQuest.ts",
|
|
39
|
+
"scrapeQuestList": "ts-node tools/ScrapeQuestData.ts",
|
|
40
|
+
"scrapeSlayerData": "ts-node tools/ScrapeSlayerData.ts",
|
|
41
|
+
"getAccountData": "ts-node tools/GetAccountData.ts",
|
|
42
|
+
"getQuestDetails": "ts-node tools/GetQuestDetails.ts",
|
|
43
|
+
"prebuild": "npm run clean",
|
|
44
|
+
"prepublishOnly": "npm run build && npm test",
|
|
45
|
+
"test": "jest",
|
|
46
|
+
"test:coverage": "jest --coverage",
|
|
47
|
+
"test:watch": "jest --watch",
|
|
48
|
+
"test:ci": "jest --ci --coverage",
|
|
49
|
+
"coverage": "jest --coverage && codecov",
|
|
50
|
+
"postpublish": "git push && git push --tags",
|
|
51
|
+
"preversion": "npm test",
|
|
52
|
+
"version": "npm run build && git add dist"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@eslint/eslintrc": "^3.3.1",
|
|
56
|
+
"@eslint/js": "^8.57.0",
|
|
57
|
+
"@tsconfig/recommended": "^1.0.11",
|
|
58
|
+
"@types/jest": "^29.5.14",
|
|
59
|
+
"@types/node": "^18.19.130",
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
61
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
62
|
+
"codecov": "^3.8.2",
|
|
63
|
+
"commitlint": "^17.8.1",
|
|
64
|
+
"eslint": "^8.57.1",
|
|
65
|
+
"eslint-config-prettier": "^9.1.2",
|
|
66
|
+
"eslint-plugin-jest": "^27.9.0",
|
|
67
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
68
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
69
|
+
"eslint-plugin-sort-destructure-keys": "^1.6.0",
|
|
70
|
+
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
71
|
+
"jest": "^29.7.0",
|
|
72
|
+
"lint-staged": "^14.0.1",
|
|
73
|
+
"prettier": "^3.6.2",
|
|
74
|
+
"rimraf": "^5.0.10",
|
|
75
|
+
"ts-jest": "^29.4.5",
|
|
76
|
+
"ts-node": "^10.9.2",
|
|
77
|
+
"typescript": "^5.9.3"
|
|
78
|
+
},
|
|
79
|
+
"lint-staged": {
|
|
80
|
+
"*.{ts,tsx}": [
|
|
81
|
+
"eslint --fix",
|
|
82
|
+
"prettier --write"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"commitlint": {
|
|
86
|
+
"extends": [
|
|
87
|
+
"@commitlint/config-conventional"
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
}
|