-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.44 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
69
70
{
"//": "The production flag is added in the jenkins build script.",
"name": "kursutveckling-api",
"version": "2.0.0",
"automaticPublish": "true",
"description": "Collect data for course development and history page, used by kursutveckling-web and kursutveckling-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": "NODE_ENV=test jest test/unit/*.js",
"test-win": "cross-env NODE_ENV=test jest test/unit/*.js",
"test:watch": "NODE_ENV=test jest test/unit/*.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 kursutveckling-api-integration . && bash -c 'LOCAL_IMAGE_ID=kursutveckling-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",
"lint-staged": "^15.2.2",
"mongoose": "^8.1.3",
"passport": "^0.7.0",
"safe-utils": "1.0.1",
"swagger-ui-dist": "^5.11.7"
},
"devDependencies": {
"@kth/eslint-config-kth": "^3.1.0",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"is-ci-cli": "^2.2.0",
"jest": "^29.7.0",
"nodemon": "^3.0.2",
"prettier": "^3.2.5"
},
"engines": {
"node": "18"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 120,
"arrowParens": "avoid"
},
"lint-staged": {
"**/*.{js,jsx}": [
"npx prettier --write"
]
}
}