-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
124 lines (124 loc) · 3.83 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": "kursinfo-web",
"version": "2.0.0",
"description": "Course information page",
"main": "app.js",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"uri": "git+https://github.com/KTH/kursinfo-web.git"
},
"scripts": {
"build": "bash ./build.sh prod",
"build-dev": "bash ./build.sh dev",
"docker:build": "bash ./docker-build-image.sh dev",
"docker:run": "bash ./docker-run-image.sh dev",
"test": "NODE_ENV=test jest",
"test-win": "cross-env NODE_ENV=test jest",
"test:watch": "jest --watch",
"test:file:watch": "jest ./server/apiCalls/transformers/offerings-over-several-semesters.test.js --watch",
"test:notify": "jest --watch --notify",
"docker": "npm install --development && npm run build && npm prune --production",
"lint": "eslint \"{public,server}/**/*.{js,jsx}\"",
"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\"'",
"fetch-all-env-variables": "bash ./fetch-env.sh kursinfo-web-ref kursinfo-web-ref"
},
"dependencies": {
"@kth/api-call": "^4.1.0",
"@kth/appinsights": "^0.4.0",
"@kth/kth-node-response": "^1.0.7",
"@kth/kth-node-web-common": "^9.3.1",
"@kth/log": "^4.0.7",
"@kth/monitor": "^4.3.1",
"@kth/server": "^4.1.0",
"@kth/session": "^3.0.9",
"@kth/style": "^1.4.2",
"@kth/ug-rest-api-helper": "^1.0.26",
"axios": "^1.7.2",
"body-parser": "^1.20.2",
"cookie-parser": "^1.4.6",
"date-fns": "^3.6.0",
"date-fns-tz": "^3.1.3",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-handlebars": "^7.1.2",
"http-proxy-middleware": "^2.0.6",
"kth-node-access-log": "^0.2.9",
"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.3.3",
"react": "^18.3.1",
"react-data-table-component": "^7.6.2",
"react-dom": "^18.3.1",
"react-icons": "^5.2.1",
"react-router-dom": "^6.23.1",
"reactstrap": "^9.2.2",
"sanitize-html": "^2.13.0",
"victory": "^36.9.2",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz"
},
"devDependencies": {
"@babel/cli": "^7.24.6",
"@babel/core": "^7.24.6",
"@babel/eslint-parser": "^7.24.6",
"@babel/plugin-transform-runtime": "^7.24.6",
"@babel/preset-env": "^7.24.6",
"@babel/preset-react": "^7.24.6",
"@faker-js/faker": "^8.4.1",
"@kth/eslint-config-kth": "^3.4.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"eslint": "^8.57.0",
"eslint-plugin-prettier": "^5.1.3",
"file-loader": "^6.2.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-extended": "^4.0.2",
"lint-staged": "^15.2.5",
"mini-css-extract-plugin": "^2.9.0",
"node-mocks-http": "^1.14.1",
"nodemon": "^3.1.3",
"null-loader": "^4.0.1",
"path": "^0.12.7",
"prettier": "^3.3.0",
"prettier-eslint-cli": "^8.0.1",
"react-error-boundary": "^4.0.13",
"sass": "^1.77.4",
"sass-loader": "^14.2.1",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"engines": {
"node": "20"
},
"jshintConfig": {
"maxerr": 5
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 120,
"arrowParens": "avoid"
},
"lint-staged": {
"**/*.{js,jsx}": [
"npx prettier --write"
]
}
}