-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
74 lines (74 loc) · 2.07 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
{
"name": "ajv-draft-04",
"version": "1.0.0",
"description": "Ajv class for JSON Schema draft-04",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src/",
"dist/"
],
"scripts": {
"build": "rm -rf dist && tsc && cp -r src/refs dist",
"prettier:write": "prettier --write \"./**/*.{json,yaml,js,ts}\"",
"prettier:check": "prettier --list-different \"./**/*.{json,yaml,js,ts}\"",
"eslint": "eslint \"./{src,tests,scripts}/**/*.{ts,js}\"",
"json-tests": "rm -rf tests/_json/*.js && node scripts/jsontests",
"test-spec": "jest",
"test-cov": "jest --coverage",
"test-debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test": "npm run json-tests && npm run prettier:check && npm run build && npm run eslint && npm run test-cov",
"test-ci": "AJV_FULL_TEST=true npm test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ajv-validator/ajv-draft-04.git"
},
"keywords": [
"Ajv",
"JSON-Schema",
"validation",
"draft-04"
],
"author": "Evgeny Poberezkin",
"license": "MIT",
"bugs": {
"url": "https://github.com/ajv-validator/ajv-draft-04/issues"
},
"homepage": "https://github.com/ajv-validator/ajv-draft-04#readme",
"dependencies": {},
"peerDependencies": {
"ajv": "^8.5.0"
},
"peerDependenciesMeta": {
"ajv": {
"optional": true
}
},
"devDependencies": {
"@ajv-validator/config": "^0.3.0",
"@types/jest": "^26.0.5",
"@types/node": "^14.10.1",
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.7.0",
"ajv-formats": "^2.0.0",
"eslint": "^7.5.0",
"eslint-config-prettier": "^6.11.0",
"husky": "^4.2.5",
"jest": "^26.1.0",
"json-schema-test": "^2.0.0",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"ts-jest": "^26.1.3",
"typescript": "^4.0.0"
},
"prettier": "@ajv-validator/config/prettierrc.json",
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test"
}
},
"lint-staged": {
"*.{json,yaml,js,ts}": "prettier --write"
}
}