forked from bpierre/loot-rarity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.1 KB
/
package.json
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
{
"name": "loot-rarity",
"version": "5.0.1",
"description": "Get the rarity level of a Loot (lootproject.com) item",
"author": "Pierre Bertet",
"license": "MIT",
"main": "dist/index-node.js",
"module": "dist/index.mjs",
"browser": "dist/index.mjs",
"types": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"build": "tsup --dts --format esm,cjs --target=es2019",
"dev": "tsup --watch --dts --format esm,cjs --target=es2019",
"test": "jest",
"coverage": "jest --coverage",
"generate-rarity": "ts-node scripts/generate-items-rarity.ts > data/items-rarity-hashes.json",
"distribution": "ts-node scripts/rarity-distribution.ts"
},
"devDependencies": {
"@types/jest": "^27.0.1",
"@types/node": "^16.7.5",
"jest": "^27.1.0",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"tslib": "^2.3.1",
"tsup": "^4.14.0",
"typescript": "^4.4.2"
},
"tsup": {
"splitting": true,
"sourcemap": true,
"clean": true,
"entryPoints": [
"src/index.ts"
]
},
"dependencies": {
"cross-fetch": "^3.1.4"
}
}