forked from bpierre/loot-rarity
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
42 lines (42 loc) · 1.05 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
{
"name": "dope-rarity",
"version": "1.0.6",
"description": "Get the rarity level of a DopeWars Gear item",
"author": "Tarrence van As",
"license": "MIT",
"main": "dist/index-node.js",
"module": "dist/index.js",
"browser": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"build": "tsup --dts --format cjs --target=es2020",
"dev": "tsup --watch --dts --format cjs --target=es2020",
"generate-rarity": "ts-node scripts/generate-items-rarity.ts > data/items-rarity-hashes.json",
"check-distribution": "ts-node scripts/rarity-distribution.ts"
},
"devDependencies": {
"@types/node": "^16.7.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",
"src/index-node.ts"
]
},
"dependencies": {
"dope-metrics": "^1.0.0",
"isomorphic-fetch": "^3.0.0",
"shorthash2": "^1.0.3"
}
}