forked from ajv-validator/ajv-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.01 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
{
"name": "ajv-i18n",
"version": "4.2.0",
"description": "Internationalised error messages for Ajv JSON validator",
"main": "localize/index.js",
"types": "localize/index.d.ts",
"files": [
"localize/",
"LICENSE"
],
"scripts": {
"build": "npm run build:json-schema && npm run build:jtd",
"build:json-schema": "node scripts/compile-locales.js '' index",
"build:jtd": "node scripts/compile-locales.js '/jtd' jtd",
"eslint": "eslint messages scripts spec/*.js",
"prepublish": "npm run build",
"test": "npm run prettier:check && npm run eslint && npm run build && npm run test-cov",
"test-spec": "mocha spec/*.spec.js -R dot",
"test-cov": "nyc npm run test-spec",
"prettier:write": "prettier --write \"./**/*.{json,yaml,js,ts}\"",
"prettier:check": "prettier --list-different \"./**/*.{json,yaml,js,ts}\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/epoberezkin/ajv-i18n.git"
},
"keywords": [
"ajv",
"JSON",
"schema",
"i18n",
"internationalisation"
],
"author": "Evgeny Poberezkin",
"license": "MIT",
"bugs": {
"url": "https://github.com/epoberezkin/ajv-i18n/issues"
},
"homepage": "https://github.com/epoberezkin/ajv-i18n#readme",
"devDependencies": {
"@ajv-validator/config": "^0.3.0",
"ajv": "^8.0.0",
"ajv-formats": "^2.0.0",
"ajv-keywords": "^5.0.0",
"dot": "^1.0.3",
"eslint": "^7.8.1",
"eslint-config-prettier": "^8.1.0",
"husky": "^7.0.1",
"json-schema-test": "^2.0.0",
"lint-staged": "^11.1.1",
"mocha": "^9.0.3",
"nyc": "^15.0.0",
"prettier": "^2.2.1"
},
"peerDependencies": {
"ajv": "^8.0.0-beta.0"
},
"nyc": {
"exclude": [
"**/spec/**",
"node_modules"
],
"reporter": [
"lcov",
"text-summary"
]
},
"prettier": "@ajv-validator/config/prettierrc.json",
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test"
}
},
"lint-staged": {
"*.{json,yaml,js,ts}": "prettier --write"
}
}