-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.48 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
{
"name": "openid-mongo-example",
"version": "1.0.0",
"description": "Example application for UoH Software Engineering Projects",
"main": "src/index.ts",
"scripts": {
"start": "docker compose up",
"prod": "NODE_ENV=production node --loader ts-node/esm src/server/index.ts",
"dev": "NODE_ENV=development concurrently \"nodemon --exec node --loader ts-node/esm src/server/index.ts\" \"vite\"",
"lint": "eslint 'src/**/*.ts'",
"format": "prettier --write '*.{ts,json,css,md}'",
"test": "npm run test:setup && npm run test:e2e",
"test:setup": "docker compose down && docker compose -f compose.ci.yaml up -d --build",
"test:e2e": "cypress run",
"build": "vite build",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/UniversityOfHelsinkiCS/openid-mongo-example.git"
},
"author": "Miko Keskimäki",
"license": "MIT",
"bugs": {
"url": "https://github.com/UniversityOfHelsinkiCS/openid-mongo-example/issues"
},
"homepage": "https://github.com/UniversityOfHelsinkiCS/openid-mongo-example#readme",
"eslintConfig": {
"extends": [
"airbnb",
"airbnb-typescript",
"prettier",
"plugin:cypress/recommended"
],
"plugins": [
"prettier",
"cypress"
],
"parserOptions": {
"parser": "@babel/eslint-parser",
"project": "./tsconfig.json"
},
"rules": {
"react/function-component-definition": [
2,
{
"namedComponents": "arrow-function",
"unnamedComponents": "arrow-function"
}
],
"import/prefer-default-export": "off"
}
},
"prettier": {
"trailingComma": "es5",
"semi": false,
"singleQuote": true
},
"lint-staged": {
"src/**/*.{ts,tsx}": "eslint",
"*.{ts,tsx,json,md}": "prettier --write"
},
"devDependencies": {
"@babel/eslint-parser": "^7.22.11",
"@babel/preset-typescript": "^7.22.11",
"@types/connect-redis": "^0.0.20",
"@types/cors": "^2.8.13",
"@types/eslint": "^8.44.2",
"@types/express": "^4.17.17",
"@types/node": "^20.5.6",
"@types/passport": "^1.0.12",
"@types/prettier": "^2.7.3",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"concurrently": "^8.2.1",
"cypress": "^12.17.4",
"eslint": "^8.47.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-cypress": "^2.14.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"nodemon": "^3.0.1",
"prettier": "^3.0.2",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.14.6",
"@mui/material": "^5.14.6",
"@tanstack/react-query": "^4.33.0",
"@vitejs/plugin-react": "^4.0.4",
"connect-redis": "^7.1.0",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-session": "^1.17.3",
"i18next": "^23.4.5",
"ioredis": "^5.3.2",
"mongoose": "^7.4.4",
"notistack": "^3.0.1",
"openid-client": "^5.4.3",
"passport": "^0.6.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^13.2.0",
"react-router-dom": "^6.15.0",
"vite": "^4.4.9",
"winston": "^3.10.0"
}
}