generated from aicore/template-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (55 loc) · 1.82 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
{
"name": "@aicore/elasticsearch-lib",
"version": "1.0.1",
"description": "Elastic Search helper module for Javascript",
"main": "src/elasticsearch.js",
"type": "module",
"keywords": [
"template",
"nodejs",
"unit",
"testing",
"mocha",
"chai",
"coverage"
],
"scripts": {
"eslint": "npm run lint",
"eslint:fix": "npm run lint:fix",
"lint": "eslint --quiet src test",
"lint:fix": "eslint --quiet --fix src test",
"prepare": "husky install",
"test": "npm run test:unit && npm run test:integ",
"test:unit": "mocha test/unit/**/*.spec.js --timeout=3000",
"test:integ": "mocha test/integration/**/*.spec.js --timeout=3000",
"printReportsLink": "echo Detailed unit test coverage report: file:///$(pwd)/coverage-unit/index.html && echo Detailed integration test coverage report: file:///$(pwd)/coverage-integration/index.html",
"cover": "npm run cover:unit && npm run cover:integ",
"cover:unit": "c8 -c .nycrc.unit.json npm run test:unit && npm run --silent printReportsLink",
"cover:integ": "c8 -c .nycrc.integration.json npm run test:integ && npm run --silent printReportsLink",
"build": "npm run cover"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aicore/elasticsearch-lib"
},
"author": "Ushmajit, core.ai",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/aicore/elasticsearch-lib/issues"
},
"homepage": "https://github.com/aicore/elasticsearch-lib#readme",
"devDependencies": {
"@commitlint/cli": "17.5.1",
"@commitlint/config-conventional": "17.4.4",
"array.prototype.flatmap": "1.3.1",
"c8": "7.13.0",
"chai": "4.3.7",
"eslint": "8.37.0",
"husky": "7.0.4",
"mocha": "9.2.2"
},
"dependencies": {
"@elastic/elasticsearch": "8.6.0",
"config": "3.3.9"
}
}