-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
57 lines (57 loc) · 1.92 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
{
"name": "typescript-validation-study",
"version": "1.0.0",
"description": "Study various typescript data validation solutions",
"main": "index.js",
"scripts": {
"test": "run-s pre build-clean jest",
"jest": "jest --verbose",
"build-clean": "tsc; LAST=$?; rm -fr build; exit $LAST",
"pre": "run-p pre:*",
"pre:joi": "rm -fr solutions/joi/script/interfaces; ts-node solutions/joi/script/joi-to-interface.ts",
"pre:json-schema": "rm -fr solutions/json-schema/types/; json2ts -i solutions/json-schema/schemas/ -o solutions/json-schema/types/ --cwd solutions/json-schema/schemas/",
"pre:ajv-code-gen": "rm -fr solutions/json-schema/std-alone; mkdir solutions/json-schema/std-alone; ts-node solutions/json-schema/standalone-gen.ts",
"inspect-error": "ts-node inspect-error-objects.ts",
"inspect-result": "ts-node inspect-result-objects.ts"
},
"engines": {
"node": ">=0.12"
},
"engineStrict": true,
"repository": {
"type": "git",
"url": "git+https://github.com/bingtimren/typescript-validation-study.git"
},
"author": "Bing Ren",
"license": "Unlicensed",
"bugs": {
"url": "https://github.com/bingtimren/typescript-validation-study/issues"
},
"homepage": "https://github.com/bingtimren/typescript-validation-study#readme",
"dependencies": {
"@tsconfig/node10": "^1.0.7",
"@types/jest": "^26.0.20",
"@types/mongoose": "^5.10.3",
"ajv": "^7.0.4",
"ajv-formats": "^1.5.1",
"fp-ts": "^2.9.4",
"io-ts": "^2.2.13",
"jest": "^26.6.3",
"joi": "^17.3.0",
"joi-to-typescript": "^1.10.3",
"json-schema-to-typescript": "^10.1.3",
"lodash": "^4.17.20",
"mongoose": "^5.11.15",
"npm-run-all": "^4.1.5",
"superstruct": "^0.14.2",
"ts-jest": "^26.5.0",
"ts-mongoose": "0.0.24",
"ts-node": "^9.1.1",
"typescript": "^4.1.3",
"yup": "^0.32.8",
"zod": "^3.9.0"
},
"devDependencies": {
"ajv-cli": "^4.0.1"
}
}