forked from ajv-validator/ajv-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.3 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
{
"name": "ajv-cli-servarr",
"version": "5.0.1",
"description": "Command line interface for Ajv JSON schema validator, Servarr Edition",
"scripts": {
"build": "rimraf dist && tsc",
"prepublish": "npm run build",
"eslint": "eslint \"src/**/*.*s\" \"test/**/*.js\"",
"prettier:write": "prettier --write \"./**/*.{json,yaml,js,ts}\"",
"prettier:check": "prettier --list-different \"./**/*.{json,yaml,js,ts}\"",
"test-spec": "cross-env TS_NODE_PROJECT=test/tsconfig.json mocha -r ts-node/register \"test/**/*.spec.{ts,js}\" -R spec",
"test-cov": "nyc npm run test-spec",
"test": "npm run build && npm run eslint && npm run test-cov"
},
"nyc": {
"exclude": [
"test",
"node_modules"
],
"reporter": [
"lcov",
"text-summary"
],
"cache": true
},
"bin": {
"ajv": "dist/index.js"
},
"preferGlobal": true,
"author": "Team Servarr <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/servarr/ajv-cli"
},
"dependencies": {
"ajv": "^8.0.0",
"fast-json-patch": "^2.0.0",
"glob": "^7.1.0",
"js-yaml": "^3.14.0",
"json-schema-migrate": "^2.0.0",
"json5": "^2.1.3",
"minimist": "^1.2.0"
},
"devDependencies": {
"@ajv-validator/config": "^0.3.0",
"@types/glob": "^7.1.3",
"@types/js-yaml": "^3.12.5",
"@types/json5": "^2.2.0",
"@types/minimist": "^1.2.1",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.10",
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
"ajv-keywords": "^5.0.0",
"coveralls": "^3.0.0",
"cross-env": "^7.0.3",
"eslint": "^7.1.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^5.1.3",
"lint-staged": "^10.5.2",
"mocha": "^8.1.3",
"nyc": "^15.0.1",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"ts-node": "^9.1.0",
"typescript": "^4.1.2"
},
"peerDependencies": {
"ts-node": ">=9.0.0"
},
"peerDependenciesMeta": {
"ts-node": {
"optional": true
}
},
"prettier": "@ajv-validator/config/prettierrc.json",
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test"
}
},
"lint-staged": {
"*.{json,yaml,js,ts}": "prettier --write"
}
}