generated from KTH/node-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 4.09 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
127
128
129
{
"name": "node-web",
"version": "2.0.0",
"description": "Template project for a node express web server",
"private": true,
"license": "MIT",
"author": "KTH",
"repository": {
"type": "git",
"uri": "https://github.com/KTH/node-web"
},
"scripts": {
"prettier:all": "prettier --write \"**/*.js\" \"**/*.jsx\" \"**/*.scss\"",
"test": "jest",
"test:watch": "jest --watch",
"test:notify": "jest --watch --notify",
"test:coverage": "jest --coverage",
"build": "bash ./build.sh prod",
"build-dev": "bash ./build.sh dev",
"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\"'",
"lint": "eslint \"{public,server}/**/*.{js,jsx}\" --quiet",
"lint-v": "eslint \"{public,server}/**/*.{js,jsx}\" ",
"prepare": "husky install",
"postinstall": "bash -c 'rm -rf ./dist; rm -rf ./node_modules/.cache/webpack'",
"test:integration": "node test/integration/check-_paths.js http://localhost:3000/node",
"test:integration-in-docker": "docker build --progress plain -t node-web . && bash -c 'LOCAL_IMAGE_ID=node-web docker-compose -f docker-compose-integration-tests.yml up --abort-on-container-exit --build --no-log-prefix --remove-orphans --always-recreate-deps --force-recreate'"
},
"dependencies": {
"@babel/runtime": "^7.20.7",
"@kth/api-call": "^4.0.40",
"@kth/kth-node-passport-oidc": "^5.0.2",
"@kth/kth-node-web-common": "^7.0.15",
"@kth/log": "^4.0.5",
"@kth/monitor": "^3.0.29",
"@kth/server": "^4.0.4",
"@kth/session": "^3.0.7",
"applicationinsights": "^2.3.6",
"axios": "^1.2.2",
"body-parser": "^1.20.1",
"cookie-parser": "^1.4.6",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-handlebars": "^6.0.6",
"kth-node-access-log": "^0.2.9",
"kth-node-configuration": "^2.0.13",
"kth-node-express-routing": "^2.0.16",
"kth-node-i18n": "^1.0.17",
"kth-node-redis": "^3.1.44",
"kth-style": "^8.0.54",
"passport": "^0.6.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^3.1.4",
"react-qr-code": "^2.0.11",
"react-router-dom": "^6.6.1",
"ws": "^8.12.0"
},
"devDependencies": {
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.7",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@kth/eslint-config-kth": "^3.0.10",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/jest": "^27.5.2",
"ansi-regex": "^6.0.1",
"babel-loader": "^8.3.0",
"browserslist": "^4.21.4",
"caniuse-lite": "^1.0.30001441",
"concurrently": "^7.6.0",
"css-loader": "^6.7.3",
"eslint": "^8.30.0",
"file-loader": "^6.2.0",
"husky": "^8.0.2",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-extended": "^3.2.0",
"jest-sonar-reporter": "^2.0.0",
"mini-css-extract-plugin": "^2.7.2",
"nodemon": "^2.0.20",
"null-loader": "^4.0.1",
"prettier": "^2.8.1",
"pretty-quick": "^3.1.3",
"sass": "^1.57.1",
"sass-loader": "^13.2.0",
"set-value": "^4.1.0",
"terser-webpack-plugin": "^5.3.6",
"webpack": "^5.75.0",
"webpack-cli": "^4.10.0"
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 120,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-transform-runtime"
]
},
"jest": {
"clearMocks": true,
"notifyMode": "failure-change",
"setupFilesAfterEnv": [
"jest-extended"
],
"verbose": true,
"testEnvironment": "jsdom",
"resolver": "./test/resolver.js",
"collectCoverageFrom": [
"{public,server}/**/*.{js,jsx}"
],
"coverageDirectory": "./test/coverage",
"testResultsProcessor": "jest-sonar-reporter"
},
"jestSonar": {
"reportPath": "./test/reports",
"reportFile": "test-reporter.xml"
}
}