-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.23 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
{
"name": "kursinfo-api",
"version": "2.0.0",
"automaticPublish": "true",
"description": "Api to serve and save information on course level",
"main": "app.js",
"private": true,
"scripts": {
"docker:build": "bash ./docker-build-image.sh dev",
"docker:run": "bash ./docker-run-image.sh dev",
"prepare": "husky",
"test-ci": "is-ci \"test\" \"test:watch\"",
"test": "NODE_ENV=test jest test/unit/*.js",
"test:watch": "NODE_ENV=test jest test/unit/*.js --watch",
"test:docker:integration": "ID=$(docker build -q .) && LOCAL_IMAGE_ID=$ID docker-compose -f docker-compose-integration-tests.yml up --abort-on-container-exit --build --remove-orphans --force-recreate && LOCAL_IMAGE_ID=$ID docker-compose -f docker-compose-integration-tests.yml down",
"test:integration": "INTEGRATION_TEST_BASEURL=http://localhost:3001/api/kursinfo API_KEY=14321 npx jest --config ./test/integration/integration-jest.config.js",
"start": "NODE_ENV=production node app.js",
"start-dev": "cross-env NODE_ENV=development nodemon app.js"
},
"dependencies": {
"@kth/appinsights": "^0.4.0",
"@kth/kth-node-api-common": "^2.0.4",
"@kth/log": "^4.0.7",
"@kth/mongo": "^4.0.15",
"@kth/monitor": "^4.3.1",
"@kth/server": "^4.1.0",
"body-parser": "^1.20.3",
"cookie-parser": "^1.4.7",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"express-handlebars": "^7.1.3",
"fs": "0.0.2",
"kth-node-access-log": "^0.2.10",
"kth-node-api-key-strategy": "^2.0.3",
"kth-node-configuration": "^2.1.0",
"kth-node-express-routing": "^2.2.0",
"mongoose": "^8.7.3",
"passport": "^0.7.0",
"safe-utils": "1.0.1",
"swagger-ui-dist": "^5.17.14"
},
"devDependencies": {
"@kth/eslint-config-kth": "^3.5.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"husky": "^9.1.6",
"is-ci-cli": "^2.2.0",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"nodemon": "^3.1.7",
"prettier": "^3.3.3"
},
"engines": {
"node": "20"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 120,
"arrowParens": "avoid"
},
"lint-staged": {
"**/*.{js,jsx}": [
"npx prettier --write"
]
}
}