-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.45 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
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
{
"name": "@2bad/dice",
"version": "0.0.3",
"description": "Compute dice rolls according to RPG dice notation (e.g. 1d4, d6, 2d6+5, 1d20-1)",
"keywords": [
"tabletop",
"d20",
"dice"
],
"homepage": "https://github.com/2BAD/dice#readme",
"bugs": {
"url": "https://github.com/2BAD/dice/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/2BAD/dice.git"
},
"license": "MIT",
"author": "2BAD (https://github.com/2BAD)",
"contributors": [
{
"name": "Jason Hyde",
"email": "[email protected]",
"url": "https://github.com/mrhyde"
}
],
"type": "module",
"exports": "./build/index.js",
"typings": "./build/index.d.ts",
"files": [
"build"
],
"scripts": {
"prebuild": "rimraf build",
"build": "run-p build:*",
"postbuild": "run-s fix:alias fix:ext",
"build:swc": "swc ./source -d ./build --strip-leading-paths",
"build:types": "tsc --project tsconfig.build.json",
"check": "run-p check:*",
"check:code": "eslint . --ext .ts --report-unused-disable-directives --max-warnings 0",
"check:format": "prettier --check 'source/**/*.ts'",
"fix": "run-s fix:code fix:format",
"fix:alias": "tsc-alias -p tsconfig.build.json",
"fix:code": "run-s 'check:code -- --fix'",
"fix:ext": "./fix-ext.sh",
"fix:format": "prettier --write 'source/**/*.ts'",
"prepublishOnly": "run-s build",
"preversion": "run-s check test build",
"test": "vitest run",
"test:integration": "vitest run integration --coverage",
"test:unit": "vitest run unit --coverage"
},
"prettier": {
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"dependencies": {
"pure-rand": "6.1.0"
},
"devDependencies": {
"@2bad/tsconfig": "3.0.1",
"@swc/cli": "0.5.2",
"@swc/core": "1.10.1",
"@types/node": "20.17.10",
"@vitest/coverage-v8": "2.1.8",
"eslint-config-love": "46.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-plugin-jsdoc": "48.11.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-vitest": "0.5.4",
"npm-run-all2": "6.2.6",
"prettier": "3.4.2",
"rimraf": "6.0.1",
"tsc-alias": "1.8.10",
"typescript": "5.7.2",
"vite-tsconfig-paths": "4.3.2",
"vitest": "2.1.8"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=20"
},
"volta": {
"node": "20.18.1",
"npm": "10.9.2"
}
}