forked from ajv-validator/ajv-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.26 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
{
"name": "ajv-i18n",
"version": "3.5.0",
"description": "Internationalised error messages for ajv JSON-Schema validator",
"main": "localize/index.js",
"files": [
"localize/",
"LICENSE"
],
"scripts": {
"build": "node scripts/compile-locales.js",
"bundle-all": "npm run browserify && npm run uglify",
"bundle-test": "npm run browserify-test && npm run uglify-test",
"browserify": "mkdir -p dist/ && browserify -r ./localize/index -o dist/ajv-i18n.bundle.js",
"browserify-test": "mkdir -p dist/ && browserify -r ./node_modules/ajv/lib/ajv.js:ajv -r ./localize/index -o dist/ajv-i18n.test.bundle.js",
"eslint": "eslint messages scripts spec/*.js",
"uglify": "uglifyjs ./dist/ajv-i18n.bundle.js -o ./dist/ajv-i18n.min.js -m -c --warn",
"uglify-test": "uglifyjs ./dist/ajv-i18n.test.bundle.js -o ./dist/ajv-i18n.test.min.js -m -c --warn",
"prepublish": "npm run build",
"test": "npm run eslint && npm run build && npm run test-cov",
"test-spec": "mocha spec/*.spec.js -R spec",
"test-cov": "nyc npm run test-spec",
"test-browser": "npm run bundle-test && scripts/prepare-tests && karma start --single-run --browsers PhantomJS"
},
"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": "^6.0.0",
"ajv-keywords": "^3.0.0",
"brfs": "^2.0.0",
"browserify": "^16.0.0",
"coveralls": "^3.0.0",
"dot": "^1.0.3",
"eslint": "^6.0.0",
"js-beautify": "^1.7.4",
"json-schema-test": "^2.0.0",
"karma": "^4.0.1",
"karma-mocha": "^1.3.0",
"karma-phantomjs-launcher": "^1.0.0",
"mocha": "^7.0.1",
"nyc": "^13.2.0",
"phantomjs-prebuilt": "^2.1.4",
"pre-commit": "^1.1.1",
"require-globify": "^1.3.0",
"uglify-js": "^3.0.10"
},
"peerDependencies": {
"ajv": "^6.0.0"
},
"nyc": {
"exclude": [
"**/spec/**",
"node_modules"
],
"reporter": [
"lcov",
"text-summary"
]
}
}