generated from KTH/node-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 4.28 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "kurs-pm-web",
"version": "1.0.0",
"description": "Kurs-pm-data-web is a microservice with the public view of course memos. It uses React, and is based on KTH/node-web.",
"main": "app.js",
"private": true,
"license": "MIT",
"author": "KTH",
"repository": {
"type": "git",
"uri": "https://github.com/KTH/kurs-pm-web"
},
"scripts": {
"build": "bash ./build.sh prod",
"build-dev": "bash ./build.sh dev",
"docker:pack-dev": "bash ./build.sh docker",
"docker:build": "bash ./docker-build-image.sh dev",
"docker:run": "bash ./docker-run-image.sh dev",
"docker:start-dev": "npm run docker:build && npm run docker:run",
"prepare": "husky",
"start": "bash -c 'cat /KTH_NODEJS; NODE_ENV=production node app.js'",
"start-dev": "bash -c 'NODE_ENV=development concurrently --kill-others -n build,app \"npm run build-dev\" \"nodemon app.js\"'",
"test": "NODE_ENV=test jest --testPathIgnorePatterns=test/e2e",
"test-win": "cross-env NODE_ENV=test jest --testPathIgnorePatterns=test/e2e",
"test:watch": "NODE_ENV=test jest --watch --testPathIgnorePatterns=test/e2e",
"test:mockapi": "docker-compose -f test/mock-api/docker-compose.yml up --build --force-recreate",
"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-integration-in-docker": "ID=$(docker build -q .) && LOCAL_IMAGE_ID=$ID docker-compose -f docker-compose-integration-tests.yml up --build --abort-on-container-exit --always-recreate-deps --force-recreate",
"test-performance-in-docker": "ID=$(docker build -q .) && LOCAL_IMAGE_ID=$ID docker-compose -f docker-compose-performance-tests.yml up --build --abort-on-container-exit --remove-orphans"
},
"dependencies": {
"@kth/api-call": "^4.1.0",
"@kth/appinsights": "^0.4.0",
"@kth/kth-node-response": "^1.0.8",
"@kth/kth-node-web-common": "^9.5.0",
"@kth/kth-reactstrap": "^0.5.0",
"@kth/log": "^4.0.7",
"@kth/monitor": "^4.3.1",
"@kth/server": "^4.1.0",
"@kth/session": "^3.0.9",
"@kth/style": "^1.7.0",
"axios": "^1.7.7",
"body-parser": "^1.20.3",
"cookie-parser": "^1.4.7",
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.1",
"dotenv": "^16.4.5",
"express": "^4.21.1",
"express-handlebars": "^7.1.3",
"http-proxy-middleware": "^2.0.7",
"kth-node-access-log": "^0.2.10",
"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",
"kth-style": "^10.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^4.12.0",
"react-router": "^6.27.0",
"react-router-dom": "^6.27.0",
"reactstrap": "^9.2.3"
},
"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",
"@babel/runtime": "^7.26.0",
"@kth/eslint-config-kth": "^3.5.0",
"@testing-library/jest-dom": "^6.6.2",
"@testing-library/react": "^14.3.1",
"@types/jest": "^29.5.14",
"babel-jest": "^29.7.0",
"babel-loader": "^9.2.1",
"concurrently": "^9.0.1",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"eslint": "^8.57.0",
"file-loader": "^6.2.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "^15.2.10",
"mini-css-extract-plugin": "^2.9.1",
"node-mocks-http": "^1.16.1",
"nodemon": "^3.1.7",
"null-loader": "^4.0.1",
"path": "^0.12.7",
"prettier": "^3.3.3",
"sass": "^1.80.4",
"sass-loader": "^16.0.2",
"set-value": "^4.1.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-transform-runtime"
]
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"lint-staged": {
"**/*.{js,jsx}": [
"npx prettier --write"
]
},
"engines": {
"node": "18"
}
}