-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 3.88 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
125
126
{
"//": "JSHint configuration - http://jshint.com/docs/options/",
"name": "kurs-pm-admin-web",
"version": "3.0.0",
"description": "The admin page to upload a course memo as a PDF for a course",
"main": "app.js",
"license": "MIT",
"repository": {
"type": "git",
"uri": "git+https://github.com/KTH/kurs-pm-admin-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",
"docker": "npm install --development && npm run build && npm prune --production",
"lint": "eslint \"{public,server}/**/*.{js,jsx}\"",
"prepare": "husky install",
"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 test/unit/*/*.js --passWithNoTests",
"test-win": "Set NODE_ENV=test jest test/unit/*/*.js --passWithNoTests"
},
"dependencies": {
"@azure/storage-blob": "^12.18.0",
"@kth/api-call": "^4.1.0",
"@kth/appinsights": "^0.4.0",
"@kth/kth-node-passport-oidc": "^5.2.0",
"@kth/kth-node-response": "^1.0.7",
"@kth/kth-node-web-common": "^9.3.1",
"@kth/kth-reactstrap": "^0.4.78",
"@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",
"@opentelemetry/api": "^1.8.0",
"@opentelemetry/sdk-trace-base": "^1.24.1",
"axios": "^1.7.2",
"body-parser": "^1.20.2",
"cacheable-lookup": "^7.0.0",
"cheerio": "^1.0.0-rc.12",
"cookie-parser": "^1.4.6",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-fileupload": "^1.5.0",
"express-handlebars": "^7.1.2",
"express-session": "^1.18.0",
"jquery": "^3.7.1",
"jquery-hoverintent": "^1.10.2",
"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",
"os": "^0.1.2",
"passport": "^0.7.0",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "^6.23.1",
"react-router-dom": "^6.23.1",
"reactstrap": "^9.2.2",
"safe-utils": "^1.0.1"
},
"devDependencies": {
"@babel/cli": "^7.24.6",
"@babel/core": "^7.24.6",
"@babel/plugin-proposal-decorators": "^7.24.6",
"@babel/plugin-transform-runtime": "^7.24.6",
"@babel/preset-env": "^7.24.6",
"@babel/preset-react": "^7.24.6",
"@babel/runtime": "^7.24.6",
"@kth/eslint-config-kth": "^3.4.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^14.3.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"babel-loader": "^9.1.3",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"css-loader": "^6.11.0",
"decache": "^4.6.2",
"eslint": "^8.57.0",
"eslint-plugin-jest-extended": "^2.4.0",
"file-loader": "^6.2.0",
"husky": "^8.0.3",
"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",
"nodemon": "^3.1.2",
"null-loader": "^4.0.1",
"path": "^0.12.7",
"prettier": "^3.2.5",
"sass": "^1.77.3",
"sass-loader": "^13.3.3",
"set-value": "^4.1.0",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"engines": {
"node": "18"
},
"jshintConfig": {
"maxerr": 5
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 2
},
"lint-staged": {
"**/*.{js,jsx}": [
"npx prettier --write",
"npx eslint --fix"
]
}
}