-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
71 lines (71 loc) · 1.97 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": "banditypes",
"version": "0.2.5",
"description": "The might 400-byte schema validator",
"author": "Vladimir Klepov v.klepov@gmail.com",
"license": "MIT",
"type": "module",
"sideEffects": false,
"module": "./dist/index.js",
"main": "./dist/cjs/index.cjs",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/cjs/index.cjs"
}
},
"types": "./dist/index.d.ts",
"engines": {
"node": "^14 || ^16 || >=18"
},
"scripts": {
"test:types": "tsc && tsc -p tests/tsconfig.dts.json --noEmit",
"test:runtime": "rm -f dist/tests/**/*.{ts,js} && tsc -p tests/tsconfig.json && uvu dist/tests '.test.js$'",
"test": "npm run test:types && npm run test:runtime",
"test:coverage": "c8 --100 --exclude dist/tests npm test",
"lint:all": "prettier --check --loglevel warn .",
"format": "prettier --loglevel silent --write",
"format:all": "npm run format -- .",
"format:staged": "npx nano-staged",
"size": "node bench/run",
"build:cjs": "tsc -p tsconfig.cjs.json && mv dist/cjs/index.js dist/cjs/index.cjs",
"build": "rm -rf dist && tsc && npm run build:cjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thoughtspile/banditypes.git"
},
"keywords": [
"typescript",
"superstruct",
"schema",
"validation",
"zod"
],
"bugs": {
"url": "https://github.com/thoughtspile/banditypes/issues"
},
"homepage": "https://github.com/thoughtspile/banditypes#readme",
"devDependencies": {
"@types/node": "^18.14.1",
"c8": "^7.13.0",
"esbuild": "^0.17.10",
"expect-type": "^0.15.0",
"nano-staged": "^0.8.0",
"pre-commit": "^1.2.2",
"prettier": "^2.8.4",
"superstruct": "^1.0.3",
"terser": "^5.16.4",
"typed": "^4.1.2",
"typescript": "^4.9.5",
"uvu": "^0.5.6",
"zod": "^3.20.6"
},
"nano-staged": {
"*": "prettier --loglevel silent --write"
},
"precommit": [
"format:staged",
"test:coverage"
]
}