-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 3.5 KB
/
package.json
File metadata and controls
116 lines (116 loc) · 3.5 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
{
"name": "cms-webapp",
"version": "0.1.0",
"private": true,
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/dev/**/*.*",
"!**/*.stories.*",
"!**/*.e2e.*",
"!**/*.d.ts",
"!**/*.styles.ts",
"!src/setupTests.ts",
"!src/reportWebVitals.ts",
"!src/theme.ts",
"!src/index.tsx",
"!src/utils/Amplitude.ts",
"!src/test-utils.tsx",
"!src/**/*.styles.{js,jsx,ts,tsx}"
],
"coverageThreshold": {
"global": {
"statements": 0,
"branches": 0,
"functions": 0,
"lines": 0
}
}
},
"scripts": {
"postinstall": "husky install",
"start": "env-cmd -f .env.local craco start",
"start:server": "json-server --watch ./data/db.json --middlweware ./data/middleware.js --port 3000",
"build:local": "env-cmd -f .env.local craco build",
"build:dev": "env-cmd -f .env.development craco build",
"build:staging": "env-cmd -f .env.staging craco build",
"build:production": "env-cmd -f .env.production craco build",
"test": "craco test --runInBand --coverage --passWithNoTests",
"test:all": "craco test --watchAll=false --coverage --passWithNoTests",
"test:debug": "craco --inspect-brk test --runInBand --no-cache",
"check:lint": "eslint src --quiet",
"check:compile": "tsc --noEmit",
"check:test": "CI=true yarn test:all",
"check:prettier": "prettier --check \"**/*.{js,jsx,ts,tsx}\"",
"fix:lint": "eslint src --fix",
"fix:prettier": "prettier --write \"**/*.{js,jsx,ts,tsx}\"",
"translate": "node ./scripts/translate.mjs"
},
"dependencies": {
"env-cmd": "^10.1.0",
"ra-data-json-server": "^4.3.1",
"ra-data-simple-rest": "^4.3.1",
"react": "^18.2.0",
"react-admin": "^4.3.1",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@babel/core": "^7.18.13",
"@babel/plugin-syntax-flow": "^7.18.6",
"@babel/plugin-transform-react-jsx": "^7.18.10",
"@craco/craco": "^6.4.5",
"@testing-library/dom": "^8.17.1",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.4.3",
"@trivago/prettier-plugin-sort-imports": "^3.3.0",
"@types/babel__core": "^7.1.19",
"@types/eslint": "^8.4.6",
"@types/jest": "^29.0.0",
"@types/json-server": "^0.14.4",
"@types/node": "^18.7.14",
"@types/prettier": "^2.7.0",
"@types/prop-types": "^15.7.5",
"@types/react": "^18.0.18",
"@types/react-dom": "^18.0.6",
"@types/testing-library__jest-dom": "^5.14.5",
"@types/testing-library__user-event": "^4.2.0",
"@types/webpack-bundle-analyzer": "^4.4.2",
"@vitalets/google-translate-api": "^8.0.0",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-compat": "^4.0.2",
"husky": ">=6",
"jest": "^29.0.1",
"jest-junit": "^14.0.0",
"json-server": "^0.17.0",
"lint-staged": ">=10",
"prettier": "^2.7.1",
"prop-types": "^15.8.1",
"react-scripts": "5.0.1",
"serverless": "^3.22.0",
"ts-jest": "^28.0.8",
"typescript": "^4.8.2",
"webpack-bundle-analyzer": "^4.6.1"
},
"packageManager": "yarn@3.2.3"
}