-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.26 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 2.26 KB
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
91
92
93
94
95
{
"name": "@yipe/dice",
"version": "0.2.23",
"description": "A high-performance dice probability engine for D&D 5e DPR calculations. Powers dprcalc.com.",
"keywords": [
"dnd",
"dice",
"probability",
"ttrpg",
"dpr",
"statistics"
],
"homepage": "https://github.com/yipe/dice#readme",
"bugs": {
"url": "https://github.com/yipe/dice/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yipe/dice.git"
},
"license": "MIT",
"author": "Michael Margolis <acct@yipe.org>",
"type": "module",
"packageManager": "yarn@4.9.4",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./builder": {
"types": "./dist/builder/index.d.ts",
"import": "./dist/builder/index.js",
"require": "./dist/builder/index.cjs"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"builder": [
"dist/builder/index.d.ts"
],
"": [
"dist/index.d.ts"
]
}
},
"directories": {
"example": "examples",
"test": "tests"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": [
"./dist/builder/ac.js",
"./dist/builder/dc.js"
],
"scripts": {
"lint": "eslint .",
"typecheck": "tsc -p config/tsconfig.build.json --noEmit",
"build": "tsup --config config/tsup.config.ts",
"types": "tsc -p config/tsconfig.build.json --emitDeclarationOnly",
"test": "vitest run",
"test:watch": "vitest watch",
"prepare": "yarn build",
"prepublishOnly": "yarn typecheck && yarn test && yarn build",
"example": "tsx examples/run.ts"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18.17"
},
"devDependencies": {
"@types/node": "^24.3.1",
"@typescript-eslint/eslint-plugin": "^8.43.0",
"@typescript-eslint/parser": "^8.43.0",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^9.35.0",
"eslint-plugin-import": "^2.32.0",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsup": "^8.5.0",
"tsx": "^4.20.5",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
}
}