1 | {
|
2 | "name": "ajv-cli",
|
3 | "version": "5.0.0",
|
4 | "description": "Command line interface for Ajv JSON schema validator",
|
5 | "scripts": {
|
6 | "build": "rimraf dist && tsc",
|
7 | "prepublish": "npm run build",
|
8 | "eslint": "eslint \"src/**/*.*s\" \"test/**/*.js\"",
|
9 | "prettier:write": "prettier --write \"./**/*.{json,yaml,js,ts}\"",
|
10 | "prettier:check": "prettier --list-different \"./**/*.{json,yaml,js,ts}\"",
|
11 | "test-spec": "cross-env TS_NODE_PROJECT=test/tsconfig.json mocha -r ts-node/register \"test/**/*.spec.{ts,js}\" -R spec",
|
12 | "test-cov": "nyc npm run test-spec",
|
13 | "test": "npm run build && npm run eslint && npm run test-cov"
|
14 | },
|
15 | "nyc": {
|
16 | "exclude": [
|
17 | "test",
|
18 | "node_modules"
|
19 | ],
|
20 | "reporter": [
|
21 | "lcov",
|
22 | "text-summary"
|
23 | ],
|
24 | "cache": true
|
25 | },
|
26 | "bin": {
|
27 | "ajv": "dist/index.js"
|
28 | },
|
29 | "preferGlobal": true,
|
30 | "author": "Jesse Collis <jesse@jcmultimedia.com.au>",
|
31 | "license": "MIT",
|
32 | "repository": {
|
33 | "type": "git",
|
34 | "url": "https://github.com/ajv-validator/ajv-cli"
|
35 | },
|
36 | "dependencies": {
|
37 | "ajv": "^8.0.0",
|
38 | "fast-json-patch": "^2.0.0",
|
39 | "glob": "^7.1.0",
|
40 | "js-yaml": "^3.14.0",
|
41 | "json-schema-migrate": "^2.0.0",
|
42 | "json5": "^2.1.3",
|
43 | "minimist": "^1.2.0"
|
44 | },
|
45 | "devDependencies": {
|
46 | "@ajv-validator/config": "^0.3.0",
|
47 | "@types/glob": "^7.1.3",
|
48 | "@types/js-yaml": "^3.12.5",
|
49 | "@types/json5": "^2.2.0",
|
50 | "@types/minimist": "^1.2.1",
|
51 | "@types/mocha": "^8.0.4",
|
52 | "@types/node": "^14.14.10",
|
53 | "@typescript-eslint/eslint-plugin": "^4.9.0",
|
54 | "@typescript-eslint/parser": "^4.9.0",
|
55 | "ajv-keywords": "^5.0.0",
|
56 | "coveralls": "^3.0.0",
|
57 | "cross-env": "^7.0.3",
|
58 | "eslint": "^7.1.0",
|
59 | "eslint-config-prettier": "^6.15.0",
|
60 | "eslint-plugin-prettier": "^3.3.1",
|
61 | "husky": "^5.1.3",
|
62 | "lint-staged": "^10.5.2",
|
63 | "mocha": "^8.1.3",
|
64 | "nyc": "^15.0.1",
|
65 | "prettier": "^2.2.1",
|
66 | "rimraf": "^3.0.2",
|
67 | "ts-node": "^9.1.0",
|
68 | "typescript": "^4.1.2"
|
69 | },
|
70 | "peerDependencies": {
|
71 | "ts-node": ">=9.0.0"
|
72 | },
|
73 | "peerDependenciesMeta": {
|
74 | "ts-node": {
|
75 | "optional": true
|
76 | }
|
77 | },
|
78 | "prettier": "@ajv-validator/config/prettierrc.json",
|
79 | "husky": {
|
80 | "hooks": {
|
81 | "pre-commit": "lint-staged && npm test"
|
82 | }
|
83 | },
|
84 | "lint-staged": {
|
85 | "*.{json,yaml,js,ts}": "prettier --write"
|
86 | }
|
87 | }
|