-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 4.2 KB
/
package.json
File metadata and controls
134 lines (134 loc) · 4.2 KB
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
130
131
132
133
134
{
"name": "mqp_dashboard",
"version": "0.1.0",
"description": "BQP Dashboard",
"author": "Trang Huynh",
"private": true,
"proxy": "http://127.0.0.1:5000",
"homepage": "/",
"dependencies": {
"@reduxjs/toolkit": "^2.2.5",
"@tanstack/react-query": "^5.90.6",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
"bootstrap": "^5.3.3",
"cors": "^2.8.5",
"date-fns": "^4.1.0",
"env-cmd": "^10.1.0",
"framer-motion": "^12.23.24",
"json-loader": "^0.5.7",
"react": "^18.2.0",
"react-bootstrap": "^2.10.3",
"react-csv": "^2.2.2",
"react-datepicker": "^8.8.0",
"react-dom": "^18.2.0",
"react-redux": "^9.1.2",
"react-router-dom": "^6.24.0",
"react-scripts": "^5.0.1",
"sass": "^1.77.6",
"web-vitals": "^3.5.2"
},
"scripts": {
"start": "env-cmd -f .env.dev craco start",
"start:test": "env-cmd -f .env.test craco start",
"start:production": "env-cmd -f .env.production craco start",
"build": "env-cmd -f .env.dev craco build",
"build:production": "env-cmd -f .env.production craco build",
"build:test": "env-cmd -f .env.test craco build",
"build:staging": "env-cmd -f .env.staging craco build",
"serve:test": "serve -s build -l 3000",
"test": "craco test",
"test:ci": "CI=true npm test -- --watchAll=false --passWithNoTests",
"test:related": "CI=true npm test -- --findRelatedTests --watchAll=false --passWithNoTests",
"test:e2e": "playwright test --config=config/e2e/playwright.config.js",
"eject": "react-scripts eject",
"lint": "eslint src --config config/linting/.eslintrc.js --ext .js,.jsx --max-warnings=0",
"lint:fix": "eslint src --config config/linting/.eslintrc.js --ext .js,.jsx --fix",
"lint:staged": "lint-staged",
"lint:markdown": "markdownlint \"**/*.md\" --ignore-path config/linting/.markdownlintignore",
"lint:json": "node scripts/validate-json.js",
"lint:yaml": "node scripts/validate-yaml.js",
"format": "prettier --config config/linting/.prettierrc.json --write .",
"format:check": "prettier --config config/linting/.prettierrc.json --check .",
"precommit:guards": "node scripts/precommit-guards.js",
"security:audit": "node scripts/security-audit.js",
"prepare": "husky"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"engines": {
"node": ">=20 <25"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --config config/linting/.eslintrc.js --max-warnings=0",
"prettier --config config/linting/.prettierrc.json --write"
],
"**/*.{spec,test}.{js,jsx,ts,tsx}": [
"npm run test:related --"
],
"*.{css,scss,md,json,yml,yaml}": [
"prettier --config config/linting/.prettierrc.json --write"
],
"*.md": [
"markdownlint --fix"
],
"*.json": [
"npm run lint:json --"
],
"*.{yml,yaml}": [
"npm run lint:yaml --"
]
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@craco/craco": "^7.1.0",
"@playwright/test": "^1.48.2",
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
"babel-loader": "^10.0.0",
"baseline-browser-mapping": "^2.9.19",
"eslint-config-prettier": "^9.1.2",
"eslint-config-react-app": "^7.0.1",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-node": "^0.3.9",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-security": "^1.7.1",
"html-webpack-plugin": "^5.6.0",
"husky": "^9.1.7",
"js-yaml": "^4.1.1",
"lint-staged": "^16.2.6",
"markdownlint-cli": "^0.46.0",
"msw": "^1.3.5",
"prettier": "^3.6.2",
"serve": "^14.2.4",
"webpack": "^5.90.3",
"webpack-dev-server": "^5.0.2"
},
"overrides": {
"cookie": "^0.7.0",
"nth-check": "^2.1.1",
"postcss": "^8.4.31",
"react-scripts": {
"webpack-dev-server": "^5.2.1"
}
}
}