-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
66 lines (66 loc) · 2.24 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": "js-validator-api",
"version": "2.4.1",
"description": "JavaScript IATI Validator api",
"license": "AGPL-3.0-or-later",
"type": "module",
"scripts": {
"start": "func start --javascript",
"start:verbose": "func start --javascript --verbose",
"rules:test": "mocha './ruleset-unit-tests/**/test.js'",
"int:test": "newman run integration-tests/js-validator-api-tests.postman_collection.json -e integration-tests/envs/local-function-7071.postman_environment.json --working-dir integration-tests/test-files",
"docker:start": "docker compose up --build",
"docker:int:test": "newman run integration-tests/js-validator-api-tests.postman_collection.json -e integration-tests/envs/local-docker-function.postman_environment.json --working-dir integration-tests/test-files",
"prepare": "husky install",
"postinstall": "node ./utils/validate-xmllint-installation.js"
},
"author": "IATI",
"dependencies": {
"@xmldom/xmldom": "^0.8.10",
"applicationinsights": "^2.7.3",
"date-fns": "^2.30.0",
"dotenv": "^16.3.1",
"libxmljs2": "^0.32.0",
"node-fetch": "^3.3.2",
"redis": "^4.4.0",
"underscore": "^1.13.6",
"xml2js": "^0.6.2",
"xpath": "github:IATI/xpath#v0.0.34"
},
"devDependencies": {
"@prettier/plugin-xml": "^3.2.0",
"chai": "*",
"eslint": "^8.48.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"mocha": "*",
"prettier": "^3.0.3"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,css,md}": "prettier --write"
},
"engines": {
"node": "20.x.x",
"npm": "10.x.x"
},
"directories": {
"doc": "docs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/IATI/js-validator-api.git"
},
"keywords": [
"iati",
"iativalidator",
"xml"
],
"bugs": {
"url": "https://github.com/IATI/js-validator-api/issues"
},
"homepage": "https://iativalidator.iatistandard.org"
}