-
-
Notifications
You must be signed in to change notification settings - Fork 106
/
package.json
117 lines (117 loc) · 2.42 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
{
"name": "ow",
"version": "2.0.0",
"description": "Function argument validation for humans",
"license": "MIT",
"repository": "sindresorhus/ow",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./dev-only": {
"types": "./dist/index.d.ts",
"default": "./dev-only.js"
}
},
"sideEffects": false,
"engines": {
"node": ">=18"
},
"scripts": {
"test": "xo && NODE_OPTIONS='--import=tsx/esm' c8 ava",
"docs": "typedoc source/index.ts",
"build": "del-cli dist && tsc",
"prepare": "npm run build",
"postpublish": "npm run docs && gh-pages --dist docs --no-history --message \"Deploy documentation\"",
"example": "npm run build && node example.js"
},
"files": [
"dist",
"dev-only.js"
],
"keywords": [
"type",
"types",
"check",
"checking",
"guard",
"guards",
"assert",
"assertion",
"predicate",
"predicates",
"is",
"validate",
"validation",
"utility",
"util",
"typeof",
"instanceof",
"object"
],
"dependencies": {
"@sindresorhus/is": "^6.3.0",
"callsites": "^4.1.0",
"dot-prop": "^8.0.2",
"environment": "^1.0.0",
"fast-equals": "^5.0.1",
"is-identifier": "^1.0.0"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^5.0.0",
"@types/node": "^20.12.8",
"ava": "^6.1.2",
"c8": "^9.1.0",
"del-cli": "^5.1.0",
"expect-type": "^0.19.0",
"gh-pages": "^6.1.1",
"tsx": "^4.9.1",
"typedoc": "^0.25.13",
"typescript": "^5.4.5",
"xo": "^0.58.0"
},
"browser": {
"./dist/utils/infer-label.js": "./dist/utils/infer-label.browser.js"
},
"xo": {
"ignores": [
"example.js",
"dev-only.js",
"source/utils/infer-label.browser.ts"
],
"rules": {
"no-useless-return": "off",
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-argument": "off"
}
},
"ava": {
"files": [
"test/**",
"!test/fixtures/**"
],
"extensions": {
"ts": "module"
},
"workerThreads": false
},
"c8": {
"reporter": [
"text",
"lcov"
]
}
}