-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.34 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
{
"//": "The production flag is added in the jenkins build script.",
"name": "kurs-pm-api",
"version": "2.0.0",
"description": "Kurs-pm-api is an alternative api to upload memo as PDF and used by kurs-pm-admin-web",
"main": "app.js",
"scripts": {
"docker:build": "bash ./docker-build-image.sh dev",
"docker:run": "bash ./docker-run-image.sh dev",
"prepare": "husky install",
"test-ci": "is-ci \"test\" \"test:watch\"",
"test": "cross-env NODE_ENV=test jest test/*/*.js",
"test:watch": "NODE_ENV=test jest test/*/*.js --watch",
"test:docker:unit": "ID=$(docker build -q .) && LOCAL_IMAGE_ID=$ID docker-compose -f docker-compose-unit-tests.yml up --build --abort-on-container-exit --always-recreate-deps --force-recreate",
"test:docker:integration": "docker build --progress plain -t kurs-pm-api-integration . && bash -c 'LOCAL_IMAGE_ID=kurs-pm-api-integration SUCCESS_DELAY=5000 docker-compose -f docker-compose-integration-tests.yml up --abort-on-container-exit --build --remove-orphans'",
"start": "NODE_ENV=production node app.js",
"start-dev": "cross-env NODE_ENV=development nodemon app.js"
},
"dependencies": {
"@kth/appinsights": "^0.3.1",
"@kth/kth-node-api-common": "^2.0.4",
"@kth/log": "^4.0.7",
"@kth/mongo": "^4.0.15",
"@kth/monitor": "^4.2.1",
"@kth/server": "^4.0.4",
"body-parser": "^1.20.2",
"cookie-parser": "^1.4.6",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-handlebars": "^7.1.2",
"fs": "0.0.2",
"kth-node-access-log": "^0.2.9",
"kth-node-api-key-strategy": "^2.0.3",
"kth-node-configuration": "^2.0.13",
"kth-node-express-routing": "^2.0.16",
"mongoose": "^8.1.2",
"passport": "^0.7.0",
"safe-utils": "1.0.1",
"swagger-ui-dist": "^5.11.7"
},
"devDependencies": {
"@babel/eslint-parser": "^7.23.10",
"@kth/eslint-config-kth": "^3.1.0",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint-plugin-jest": "^27.6.0",
"husky": "^8.0.3",
"is-ci-cli": "^2.2.0",
"jest": "^29.7.0",
"nodemon": "^3.0.2",
"prettier": "^3.1.1"
},
"engines": {
"node": "18"
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"lint-staged": {
"**/*.{js,jsx}": [
"npx prettier --write"
]
}
}