-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 3.06 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "kursplan-api",
"version": "2.0.0",
"description": "Node.js based API template application.",
"main": "app.js",
"private": true,
"scripts": {
"lint": "eslint \"{test,server}/**/*.{js,jsx}\"",
"test": "NODE_ENV=test jest test/unit/*.js",
"test-win": "cross-env NODE_ENV=test jest",
"test:watch": "NODE_ENV=test jest test/unit/*.js --watch",
"test:check-_paths": "node test/integration/check-_paths.js http://localhost:3002/api/kursplan",
"test:unit": "ID=$(docker build -q .) && LOCAL_IMAGE_ID=$ID docker-compose -f docker-compose-unit-tests.yml up --abort-on-container-exit --always-recreate-deps",
"test:docker:integration": "docker build --progress plain -t kursplan-api-integration . && bash -c 'LOCAL_IMAGE_ID=kursplan-api-integration SUCCESS_DELAY=5000 docker-compose -f docker-compose-integration-tests.yml up --abort-on-container-exit --build --remove-orphans'",
"build": "babel server/components --out-dir server/components-dist",
"start": "NODE_ENV=production node app.js",
"start-dev": "cross-env NODE_ENV=development nodemon app.js",
"start-debug": "cross-env NODE_ENV=development nodemon -- --inspect app.js"
},
"dependencies": {
"@kth/api-call": "^4.1.0",
"@kth/appinsights": "^0.4.0",
"@kth/kth-node-api-common": "^2.0.4",
"@kth/log": "^4.0.7",
"@kth/monitor": "^4.3.1",
"@kth/server": "^4.1.0",
"@react-pdf/renderer": "^3.4.5",
"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",
"html-react-parser": "^5.1.18",
"json5": "^2.2.3",
"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",
"kth-node-i18n": "^1.0.18",
"kth-node-redis": "^3.3.0",
"passport": "^0.7.0",
"react": "^17.0.2",
"safe-utils": "1.0.1",
"swagger-ui-dist": "^5.17.14"
},
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@kth/eslint-config-kth": "^3.5.0",
"babel-jest": "^29.7.0",
"cross-env": "^7.0.3",
"eslint": "^8.57.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-testing-library": "^6.4.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-extended": "^4.0.2",
"lint-staged": "^15.2.10",
"nodemon": "^3.1.7",
"prettier": "^3.3.3",
"proxyquire": "^2.1.3"
},
"engines": {
"node": "18"
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 2
},
"lint-staged": {
"**/*.{js,jsx}": [
"npx prettier --write"
]
}
}