-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
88 lines (88 loc) · 2.75 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
{
"name": "decoders",
"version": "2.5.0",
"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",
"module": "./dist/index.js",
"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": {
"actually-prepublish": "echo \"\\n\\nPlease run \\`bin/publish.sh <options>\\` instead.\\n\\n\" && exit 2",
"build": "tsup",
"docs": "cog -cr docs/*.md",
"lint": "eslint --color --report-unused-disable-directives src/ test/ && prettier --list-different src/ test/ test-d/",
"lint:docs": "cog -c --check docs/*.md || (npm run docs; git diff; echo 'Error: docs not up-to-date, please re-run \"npm docs\" to update them.' && exit 1)",
"lint:package": "publint --strict && attw --pack",
"format": "eslint --color --report-unused-disable-directives --fix src/ test/ ; prettier --write src/ test/ test-d/",
"test": "vitest run --coverage",
"test:completeness": "./bin/check.sh",
"test:typescript": "tsc --noEmit",
"test:types": "npm run build && tsd --typings ./dist/index.d.ts",
"release": "npm run test && npm run lint && npm run lint:docs && npm run build && npm run lint:package && release-it"
},
"keywords": [
"Decoder",
"decoders",
"typescript",
"runtime",
"input",
"schema",
"validation",
"type",
"inference",
"verify"
],
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
"@release-it/keep-a-changelog": "^5.0.0",
"@types/eslint": "^8.56.10",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"@vitest/coverage-istanbul": "^1.6.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-simple-import-sort": "^12.1.0",
"fast-check": "^3.22.0",
"itertools": "^2.3.2",
"pkg-pr-new": "^0.0.24",
"prettier": "^3.3.3",
"publint": "^0.2.11",
"release-it": "^17.6.0",
"ts-morph": "^23.0.0",
"tsd": "^0.31.2",
"tsup": "^8.3.0",
"typescript": "^5.5.2",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.6.0"
},
"githubUrl": "https://github.com/nvie/decoders",
"sideEffects": false
}