forked from noinc/FE-React-Evaluation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 3.51 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
130
131
{
"name": "fe-react-eval",
"version": "0.1.0",
"private": true,
"homepage": "https://aaron-em.github.io/FE-React-Evaluation",
"dependencies": {
"formik": "^2.2.6",
"moment": "^2.24.0",
"react": "^16.10.1",
"react-dom": "^16.10.1",
"react-redux": "^7.1.1",
"react-router-dom": "^5.1.2",
"react-scripts": "4.0.3",
"redux": "^4.0.4",
"redux-thunk": "^2.3.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"eject": "react-scripts eject",
"prettier": "prettier --write src",
"stylelint": "npx stylelint --fix src/**/*.css",
"prettier:ci": "prettier --check src",
"stylelint:ci": "npx stylelint src/**/*.css",
"eslint": "eslint src",
"type-check": "tsc --noEmit",
"lint": "npm-run-all prettier stylelint type-check eslint",
"lint:ci": "npm-run-all prettier:ci stylelint:ci type-check eslint",
"test": "yarn lint && react-scripts test",
"test:ci": "yarn lint:ci && CI=true react-scripts test",
"prepare": "husky install",
"predeploy": "REACT_APP_DEPLOY_ROOT_PATH=/FE-React-Evaluation yarn build",
"deploy": "gh-pages -d build -o aaron-em",
"clean": "rimraf build"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"react-app"
]
},
"prettier": {
"useTabs": false,
"tabWidth": 2
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleNameMapper": {
"\\.(css)$": "<rootDir>/__mocks__/style-mock.js",
"\\.(png)$": "<rootDir>/__mocks__/file-mock.js"
}
},
"stylelint": {
"extends": "stylelint-config-standard"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-typescript"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.13.8",
"@babel/helper-builder-react-jsx": "^7.12.13",
"@babel/helper-regex": "^7.10.5",
"@babel/preset-env": "^7.13.9",
"@babel/preset-typescript": "^7.13.0",
"@types/jest": "^26.0.20",
"@types/js-md5": "^0.4.2",
"@types/node": "^14.14.31",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@types/react-redux": "^7.1.16",
"@types/react-router-dom": "^5.1.7",
"@types/redux": "^3.6.0",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"babel-eslint": "^10.1.0",
"eslint": "^7.11.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.3.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"gh-pages": "^3.1.0",
"husky": "^5.1.3",
"jest": "26.6.0",
"js-md5": "^0.7.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"react-icons": "^4.2.0",
"redux-devtools-extension": "^2.13.8",
"redux-persist": "^6.0.0",
"rimraf": "^3.0.2",
"stylelint": "^13.11.0",
"stylelint-config-standard": "^20.0.0",
"ts-jest": "^26.5.3",
"typescript": "^4.2.2"
}
}