-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
41 lines (41 loc) · 1.36 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
{
"name": "mia_template_service_name_placeholder",
"version": "0.1.0",
"description": "%CUSTOM_PLUGIN_SERVICE_DESCRIPTION%",
"license": "SEE LICENSE IN LICENSE",
"main": "index.js",
"scripts": {
"checkonly": "! grep -R '\\.only' tests/",
"coverage": "npm run unit -- --coverage-report=text-summary",
"postcoverage": "tap --coverage-report=lcov --no-browser",
"lint": "eslint . --ignore-path=.gitignore",
"start": "lc39 index.js",
"start:local": "npm start -- --env-path ./default.env",
"test": "npm run lint && npm run unit && npm run checkonly",
"update-docker-version": "sed -i.bck \"s|version=\\\"[0-9]*\\.[0-9]*\\.[0-9]*.*\\\"|version=\\\"${npm_package_version}\\\"|\" Dockerfile",
"unit": "MONGO_HOST=${MONGO_HOST_CI:-localhost:27017} tap -b tests/*.test.js",
"version": "npm run update-docker-version && rm -fr Dockerfile.bck && git add Dockerfile"
},
"dependencies": {
"@mia-platform/custom-plugin-lib": "^5.0.0",
"fastify-mongodb": "^4.2.0"
},
"devDependencies": {
"@mia-platform/eslint-config-mia": "^3.0.0",
"eslint": "^8.17.0",
"mongodb": "^4.7.0",
"nock": "^13.2.6",
"pre-commit": "^1.2.2",
"tap": "^16.2.0"
},
"engines": {
"node": ">=16"
},
"private": true,
"eslintConfig": {
"extends": "@mia-platform/eslint-config-mia"
},
"tap": {
"check-coverage": false
}
}