Skip to content

Commit 518909a

Browse files
committed
reorder entries in package.json for mind clarity
1 parent 0f81fb1 commit 518909a

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
{
22
"name": "upgrade-helper",
33
"version": "0.1.0",
4-
"homepage": "https://react-native-community.github.io/upgrade-helper",
54
"license": "MIT",
5+
"homepage": "https://react-native-community.github.io/upgrade-helper",
6+
"scripts": {
7+
"build": "EXTEND_ESLINT=true react-app-rewired build",
8+
"docker-test-e2e": "yarn start-and-wait && react-app-rewired test --watchAll=false --onlyChanged=false --testPathPattern='/__tests__/.*(\\.|).e2e.spec.js?$'",
9+
"lint": "eslint . --cache --report-unused-disable-directives",
10+
"prepare": "husky install",
11+
"start": "EXTEND_ESLINT=true react-app-rewired start",
12+
"start-and-wait": "yarn start & wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 30 http://localhost:3000/",
13+
"test": "react-app-rewired test --watchAll=false --onlyChanged=false --testPathPattern='/__tests__/((?!e2e).)*.spec.js?$'",
14+
"test-e2e": "docker-compose run tests"
15+
},
616
"dependencies": {
717
"@ant-design/icons": "5.0.1",
818
"@emotion/core": "10.0.28",
@@ -39,22 +49,6 @@
3949
"puppeteer": "10.0.0",
4050
"react-app-rewired": "^2.2.1"
4151
},
42-
"scripts": {
43-
"prepare": "husky install",
44-
"start": "EXTEND_ESLINT=true react-app-rewired start",
45-
"start-and-wait": "yarn start & wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 30 http://localhost:3000/",
46-
"build": "EXTEND_ESLINT=true react-app-rewired build",
47-
"test": "react-app-rewired test --watchAll=false --onlyChanged=false --testPathPattern='/__tests__/((?!e2e).)*.spec.js?$'",
48-
"test-e2e": "docker-compose run tests",
49-
"docker-test-e2e": "yarn start-and-wait && react-app-rewired test --watchAll=false --onlyChanged=false --testPathPattern='/__tests__/.*(\\.|).e2e.spec.js?$'",
50-
"lint": "eslint . --cache --report-unused-disable-directives"
51-
},
52-
"husky": {
53-
"hooks": {
54-
"pre-commit": "pretty-quick --staged --pattern \"src/**/*.*(js|jsx)\"",
55-
"pre-push": "yarn run lint"
56-
}
57-
},
5852
"browserslist": {
5953
"production": [
6054
">0.2%",
@@ -67,14 +61,6 @@
6761
"last 1 safari version"
6862
]
6963
},
70-
"jest": {
71-
"testMatch": [
72-
"**/__tests__/**/*.spec.js"
73-
],
74-
"setupFilesAfterEnv": [
75-
"<rootDir>/jest.setup.js"
76-
]
77-
},
7864
"eslintConfig": {
7965
"extends": [
8066
"react-app"
@@ -88,5 +74,19 @@
8874
"import/no-anonymous-default-export": "off",
8975
"react-hooks/exhaustive-deps": "off"
9076
}
77+
},
78+
"husky": {
79+
"hooks": {
80+
"pre-commit": "pretty-quick --staged --pattern \"src/**/*.*(js|jsx)\"",
81+
"pre-push": "yarn run lint"
82+
}
83+
},
84+
"jest": {
85+
"testMatch": [
86+
"**/__tests__/**/*.spec.js"
87+
],
88+
"setupFilesAfterEnv": [
89+
"<rootDir>/jest.setup.js"
90+
]
9191
}
9292
}

0 commit comments

Comments
 (0)