generated from KTH/node-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.29 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
{
"//": "The production flag is added in the jenkins build script.",
"name": "kurs-pm-data-api",
"version": "0.8.0",
"description": "API that supports the new administraion site that makes it possible to create and manage course memos.",
"main": "app.js",
"private": true,
"scripts": {
"docker:build": "bash ./docker-build-image.sh dev",
"docker:run": "bash ./docker-run-image.sh dev",
"codefix": "pretty-quick",
"test": "cross-env NODE_ENV=test jest",
"test:watch": "NODE_ENV=test jest test/unit/*.js --watch",
"test-unit-in-docker": "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-data-api-integration . && bash -c 'LOCAL_IMAGE_ID=kurs-pm-data-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.1.0",
"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.0.3",
"passport": "^0.7.0",
"safe-utils": "1.0.1",
"swagger-ui-dist": "^5.11.7"
},
"devDependencies": {
"@kth/eslint-config-kth": "^3.4.0",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
"lint-staged": "^15.2.0",
"nodemon": "^3.0.2",
"prettier": "^3.2.5"
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"engines": {
"node": "20"
},
"lint-staged": {
"**/*.{js,jsx}": [
"npx prettier --write"
]
}
}