-
-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.49 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.49 KB
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
{
"name": "decoders",
"version": "2.9.3",
"description": "Elegant and battle-tested validation library for type-safe input data for TypeScript",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/nvie/decoders.git"
},
"author": "Vincent Driessen",
"homepage": "https://github.com/nvie/decoders#readme",
"bugs": {
"url": "https://github.com/nvie/decoders/issues"
},
"type": "module",
"main": "./dist/index.cjs",
"types": "./dist/index.d.cts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"module": "./dist/index.js",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist/**",
"LICENSE",
"README.md"
],
"scripts": {
"build": "tsup",
"docs": "npm run build && cp -r dist/ docs/decoders-latest-snapshot/ && cd docs && rm -rf .next && npm run dev",
"docs:update-sources": "node bin/update-source-lines.js",
"docs:update-redirects": "node bin/update-decoder-redirects.js",
"lint": "oxlint src/ test/ && prettier --list-different src/ test/ test-d/ && node bin/lint-side-effects.js",
"lint:package": "publint --strict && attw --pack",
"format": "oxlint --fix src/ test/ ; prettier --write src/ test/ test-d/ docs/content/ ; npm run docs:update-sources ; npm run docs:update-redirects",
"test": "vitest run --coverage",
"test:treeshake": "npm run build && node bin/test-treeshake.js",
"test:completeness": "./bin/check.sh",
"test:typescript": "tsc --noEmit",
"test:types": "npm run build && tsd --typings ./dist/index.d.ts",
"test:watch": "vitest --coverage",
"release": "release-it"
},
"keywords": [
"Decoder",
"decoders",
"typescript",
"runtime",
"input",
"schema",
"validation",
"type",
"inference",
"verify"
],
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@release-it/keep-a-changelog": "^7.0.1",
"@standard-schema/spec": "^1.1.0",
"@vitest/coverage-istanbul": "^4.1.4",
"fast-check": "^4.6.0",
"itertools": "^2.6.0",
"oxlint": "^1.60.0",
"pkg-pr-new": "^0.0.66",
"prettier": "^3.8.2",
"publint": "^0.3.18",
"release-it": "^19.2.4",
"ts-morph": "^28.0.0",
"tsd": "^0.33.0",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "^4.1.4"
},
"githubUrl": "https://github.com/nvie/decoders",
"sideEffects": false
}