-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 1.64 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
{
"name": "@birchill/discriminator",
"version": "0.3.1",
"description": "A tagged union type for superstruct based on JSON typedef's discriminator type",
"keywords": [
"superstruct",
"tagged union",
"discriminated union",
"sum type",
"JSON typedef"
],
"repository": "https://github.com/birchill/discriminator.git",
"author": "Birchill, Inc.",
"license": "MIT",
"bugs": {
"url": "https://github.com/birchill/discriminator/issues"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"files": [
"dist"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"homepage": "https://github.com/birchill/discriminator#readme",
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"build": "tsup",
"test": "vitest run",
"prepublishOnly": "pinst --disable && tsup",
"postpublish": "pinst --enable",
"postinstall": "husky",
"prepare": "husky"
},
"lint-staged": {
"*.{js,ts,md}": [
"prettier --write"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": true
},
"devDependencies": {
"@release-it/conventional-changelog": "9.0.2",
"husky": "9.1.6",
"lint-staged": "15.2.10",
"pinst": "3.0.0",
"prettier": "3.3.3",
"release-it": "17.10.0",
"superstruct": "2.0.2",
"tsup": "8.3.5",
"typescript": "5.6.3",
"vitest": "2.1.4",
"vitest-github-actions-reporter": "0.11.1"
},
"peerDependencies": {
"superstruct": ">0.16.0 <3.0.0"
}
}