forked from colinhacks/zod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 3.25 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
{
"name": "zod",
"version": "3.11.4",
"description": "TypeScript-first schema declaration and validation library with static type inference",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"module": "./lib/index.mjs",
"exports": {
".": {
"require": "./lib/index.js",
"import": "./lib/index.mjs"
},
"./package.json": "./package.json"
},
"files": [
"/lib"
],
"repository": {
"type": "git",
"url": "https://github.com/colinhacks/zod"
},
"author": "Colin McDonnell <[email protected]>",
"license": "MIT",
"sideEffects": false,
"bugs": {
"url": "https://github.com/colinhacks/zod/issues"
},
"homepage": "https://github.com/colinhacks/zod",
"funding": "https://github.com/sponsors/colinhacks",
"support": {
"backing": {
"npm-funding": true
}
},
"keywords": [
"typescript",
"schema",
"validation",
"type",
"inference"
],
"scripts": {
"check:format": "prettier --check \"src/**/*.ts\" \"deno/lib/**/*.ts\"",
"fix:format": "prettier --write \"src/**/*.ts\" \"deno/lib/**/*.ts\"",
"check:lint": "eslint --ext .ts ./src",
"fix:lint": "eslint --fix --ext .ts ./src",
"check": "yarn check:lint && yarn check:format",
"fix": "yarn fix:lint && yarn fix:format",
"clean": "rm -rf lib/* deno/lib/*",
"build": "yarn run clean && npm run build:cjs && npm run build:esm && npm run build:deno",
"build:deno": "node ./deno/build.mjs",
"build:esm": "rollup --config rollup.config.js",
"build:cjs": "tsc --p tsconfig.cjs.json",
"build:types": "tsc --p tsconfig.types.json",
"rollup": "rollup --config rollup.config.js",
"test": "node --trace-warnings node_modules/.bin/jest --coverage && yarn run badge",
"testone": "jest",
"badge": "make-coverage-badge --output-path ./coverage.svg",
"prepublishOnly": "npm run test && npm run build && npm run build:deno",
"play": "nodemon -e ts -w . -x ts-node src/playground.ts --project tsconfig.json --trace-warnings",
"depcruise": "depcruise -c .dependency-cruiser.js src",
"benchmark": "ts-node src/benchmarks/index.ts"
},
"devDependencies": {
"@rollup/plugin-typescript": "^8.2.0",
"@types/benchmark": "^2.1.0",
"@types/jest": "^26.0.17",
"@types/node": "^14.14.10",
"@typescript-eslint/eslint-plugin": "^4.11.1",
"@typescript-eslint/parser": "^4.11.1",
"benchmark": "^2.1.4",
"dependency-cruiser": "^9.19.0",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-ban": "^1.5.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unused-imports": "^1.1.0",
"husky": "^4.3.4",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"make-coverage-badge": "^1.2.0",
"nodemon": "^2.0.2",
"prettier": "^2.2.1",
"rollup": "^2.42.1",
"rollup-plugin-uglify": "^6.0.4",
"ts-jest": "^26.4.4",
"ts-node": "^9.1.0",
"tslib": "^2.3.1",
"typescript": "^4.4.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn build:deno && git add .",
"pre-push": "lint-staged && yarn build && yarn test"
}
},
"lint-staged": {
"*.ts": [
"yarn fix:lint",
"yarn fix:format"
]
},
"dependencies": {}
}