Skip to content

Commit 1abb786

Browse files
committed
chore: Clean up package.json
1 parent d6b1ea2 commit 1abb786

File tree

4 files changed

+31
-571
lines changed

4 files changed

+31
-571
lines changed

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
module.exports = {
2+
setupFiles: ['./tests/setup.js'],
23
snapshotSerializers: [require.resolve('enzyme-to-json/serializer')],
34
};

package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,31 +51,23 @@
5151
"@types/react": "^16.14.2",
5252
"@types/react-dom": "^16.9.10",
5353
"@umijs/fabric": "^2.0.8",
54-
"coveralls": "^3.0.6",
5554
"cross-env": "^7.0.2",
5655
"enzyme": "^3.0.0",
5756
"enzyme-adapter-react-16": "^1.0.1",
5857
"enzyme-to-json": "^3.4.0",
5958
"eslint": "^7.0.0",
6059
"father": "^2.13.4",
61-
"husky": "^4.2.5",
6260
"less": "^3.10.3",
6361
"np": "^7.0.0",
6462
"prettier": "^2.0.5",
65-
"pretty-quick": "^3.0.0",
6663
"react": "^16.0.0",
6764
"react-dom": "^16.0.0",
68-
"react-test-renderer": "^16.0.0"
65+
"regenerator-runtime": "^0.13.7"
6966
},
7067
"peerDependencies": {
7168
"react": "^16.0.0",
7269
"react-dom": "^16.0.0"
7370
},
74-
"husky": {
75-
"hooks": {
76-
"pre-commit": "pretty-quick --staged"
77-
}
78-
},
7971
"cnpm": {
8072
"mode": "npm"
8173
},

0 commit comments

Comments
 (0)