-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 2.47 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "@sg.js/enum-utils",
"version": "1.0.3-0",
"description": "Use enums with familiar, immutable Set and Map interfaces.",
"keywords": [
"typescript",
"ts",
"enum",
"set",
"map",
"EnumSet",
"EnumMap",
"utils",
"types",
"guard"
],
"homepage": "https://github.com/shaungrady/enum-utils#readme",
"repository": "github:shaungrady/enum-utils",
"license": "MIT",
"author": {
"name": "Shaun Grady",
"email": "[email protected]",
"url": "https://shaungrady.com"
},
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/esm/main.d.ts",
"default": "./dist/esm/main.js"
},
"require": {
"types": "./dist/commonjs/main.d.ts",
"default": "./dist/commonjs/main.js"
}
},
"./package.json": "./package.json"
},
"main": "./dist/commonjs/main.js",
"module": "./dist/esm/main.js",
"types": "./dist/commonjs/main.d.ts",
"files": [
"dist"
],
"scripts": {
"lint": "xo --fix && prettier -w ./src ./test --list-different",
"prepare": "tshy",
"release": "npm run build && np",
"test": "npm run lint && tsc --noEmit && ava",
"util:readme-toc": "doctoc README.md --github",
"util:release": "np",
"util:watch:test": "ava --watch"
},
"xo": {
"ignores": [
"test/**"
],
"prettier": true,
"rules": {
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/naming-convention": "off",
"import/extensions": "off",
"n/file-extension-in-import": "off",
"prettier/prettier": "off",
"unicorn/filename-case": "off",
"unicorn/no-array-callback-reference": "off"
}
},
"prettier": {
"plugins": [
"prettier-plugin-packagejson",
"./node_modules/prettier-plugin-jsdoc/dist/index.js"
],
"proseWrap": "always"
},
"ava": {
"extensions": {
"ts": "module"
},
"files": [
"test/**/*",
"!test/utils"
],
"nodeArguments": [
"--import=tsimp",
"--no-warnings"
]
},
"dependencies": {
"type-fest": "^3.13.1"
},
"devDependencies": {
"@types/node": "^20.17.0",
"ava": "^6.1.3",
"doctoc": "^2.2.1",
"expect-type": "^1.1.0",
"prettier": "^3.3.3",
"prettier-plugin-jsdoc": "^1.3.0",
"prettier-plugin-packagejson": "^2.5.3",
"tshy": "^3.0.2",
"tsimp": "^2.0.12",
"typescript": "^5.6.3",
"xo": "^0.57.0"
},
"packageManager": "[email protected]",
"volta": {
"node": "20.18.0",
"pnpm": "9.12.2"
},
"tshy": {
"selfLink": false,
"exports": {
".": "./src/main.ts",
"./package.json": "./package.json"
}
}
}