forked from backstage/upgrade-helper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.61 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
{
"name": "upgrade-helper",
"version": "0.1.0",
"homepage": "https://react-native-community.github.io/upgrade-helper",
"license": "MIT",
"dependencies": {
"@ant-design/icons": "4.0.3",
"@emotion/core": "10.0.28",
"@emotion/styled": "10.0.27",
"antd": "4.0.3",
"date-fns": "^2.23.0",
"framer-motion": "^2.0.0-beta.52",
"markdown-to-jsx": "6.11.0",
"query-string": "6.11.1",
"react": "16.13.0",
"react-content-loader": "5.0.2",
"react-copy-to-clipboard": "5.0.2",
"react-diff-view": "2.4.2",
"react-dom": "16.13.0",
"react-dom-confetti": "0.1.3",
"react-ga": "2.7.0",
"react-github-btn": "1.1.1",
"react-scripts": "3.4.0",
"semver": "7.1.3",
"use-persisted-state": "^0.3.3"
},
"devDependencies": {
"@emotion/babel-preset-css-prop": "10.0.27",
"@testing-library/react": "^10.0.3",
"customize-cra": "^0.9.1",
"customize-cra-react-refresh": "^1.0.1",
"eslint": "6.8.0",
"eslint-plugin-prettier": "3.1.2",
"gh-pages": "2.2.0",
"husky": "4.2.3",
"jest-image-snapshot": "4.5.0",
"prettier": "1.19.1",
"pretty-quick": "2.0.1",
"puppeteer": "10.0.0",
"react-app-rewired": "^2.1.5"
},
"scripts": {
"start": "EXTEND_ESLINT=true react-app-rewired start",
"start-and-wait": "yarn start & wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 30 http://localhost:3000/",
"build": "EXTEND_ESLINT=true react-app-rewired build",
"test": "react-app-rewired test --watchAll=false --onlyChanged=false --testPathPattern='/__tests__/((?!e2e).)*.spec.js?$'",
"test-e2e": "docker-compose run tests",
"docker-test-e2e": "yarn start-and-wait && react-app-rewired test --watchAll=false --onlyChanged=false --testPathPattern='/__tests__/.*(\\.|).e2e.spec.js?$'",
"lint": "eslint . --cache --report-unused-disable-directives"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged --pattern \"src/**/*.*(js|jsx)\"",
"pre-push": "yarn run lint"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"testMatch": [
"**/__tests__/**/*.spec.js"
],
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.js"
]
},
"eslintConfig": {
"extends": [
"react-app"
],
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": "error",
"jsx-a11y/accessible-emoji": "off",
"react-hooks/exhaustive-deps": "off"
}
}
}