-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
89 lines (89 loc) · 2.11 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
{
"name": "egg-typebox-validate",
"version": "2.3.1",
"description": "another validate for typescript egg projects",
"eggPlugin": {
"name": "typeboxValidate"
},
"keywords": [
"egg",
"eggjs",
"validate",
"ajv",
"typebox",
"eggPlugin",
"egg-plugin"
],
"types": "typing/index.d.ts",
"dependencies": {
"@sinclair/typebox": "^0.23.0",
"ajv": "^8.8.2",
"ajv-formats": "^2.1.1",
"ajv-keywords": "^5.1.0"
},
"devDependencies": {
"@types/assert": "^1.4.2",
"@types/debug": "^4.1.4",
"@types/mocha": "^5.1.0",
"@types/node": "^9.6.5",
"@types/nunjucks": "^3.1.1",
"@types/supertest": "^2.0.7",
"benchmark": "^2.1.4",
"egg": "^2.16.0",
"egg-bin": "^4.11.0",
"egg-ci": "^1.11.0",
"egg-mock": "^3.26.0",
"egg-ts-helper": "^1.25.8",
"eslint": "^6.8.0",
"eslint-config-egg": "^8.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-compat": "^3.12.0",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-prettier": "^3.4.0",
"parameter": "^3.6.0",
"prettier": "^2.3.1",
"semver": "^7.3.5",
"typescript": "^4.2.4"
},
"egg": {
"typescript": true
},
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"build": "npm run tsc",
"tsc": "tsc -p tsconfig.json",
"tsc:noEmit": "tsc -p tsconfig.json --noEmit",
"clean": "rm -rf app/**/*.js && rm -rf *.js",
"test": "npm run lint && npm run test-local",
"test-local": "egg-bin test",
"benchmark": "node ./benchmark/ajv-vs-parameter.mjs",
"cov": "egg-bin cov",
"lint": "eslint app --ext .ts --fix",
"ci": "npm run lint && npm run cov",
"prepublishOnly": "npm run clean && npm run build"
},
"files": [
"index.d.ts",
"app/**/*.js",
"app.js",
"decorator.js",
"decorator.d.ts",
"typebox.js",
"typebox.d.ts"
],
"ci": {
"type": "travis",
"os": {
"travis": "linux"
},
"version": "14"
},
"repository": {
"type": "git",
"url": "https://github.com/xiekw2010/egg-typebox-validate.git"
},
"author": "xiekw2010"
}