-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
66 lines (66 loc) · 1.75 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
{
"name": "ajv-errors",
"version": "3.0.0",
"description": "Custom error messages in JSON Schemas for Ajv validator",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"src",
"dist"
],
"scripts": {
"build": "rm -rf dist && tsc",
"eslint": "eslint \"src/**/*.*s\" \"spec/**/*.*s\"",
"prettier:write": "prettier --write \"./**/*.{json,ts,js}\"",
"prettier:check": "prettier --list-different \"./**/*.{json,ts,js}\"",
"test-spec": "jest \"spec/*.ts\"",
"test-cov": "jest \"spec/*.ts\" --coverage",
"test": "npm run prettier:check && npm run eslint && npm run build && npm run test-cov",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/epoberezkin/ajv-errors.git"
},
"keywords": [
"ajv",
"json-schema",
"validator",
"error",
"messages"
],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/epoberezkin/ajv-errors/issues"
},
"homepage": "https://github.com/epoberezkin/ajv-errors#readme",
"peerDependencies": {
"ajv": "^8.0.1"
},
"devDependencies": {
"@ajv-validator/config": "^0.3.0",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.7",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"ajv": "^8.0.1",
"eslint": "^7.2.0",
"eslint-config-prettier": "^7.0.0",
"husky": "^5.1.3",
"jest": "^26.6.3",
"lint-staged": "^10.5.1",
"prettier": "^2.1.2",
"ts-jest": "^26.4.4",
"typescript": "^4.0.5"
},
"prettier": "@ajv-validator/config/prettierrc.json",
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test"
}
},
"lint-staged": {
"*.{json,yaml,js,ts}": "prettier --write"
}
}