|
7 | 7 | "test" |
8 | 8 | ], |
9 | 9 | "homepage": "http://github.com/react-component/rc-test", |
10 | | - "author": { |
11 | | - "name": "yiminghe@gmail.com" |
| 10 | + "bugs": { |
| 11 | + "url": "http://github.com/react-component/rc-test/issues" |
12 | 12 | }, |
13 | 13 | "repository": { |
14 | 14 | "type": "git", |
15 | 15 | "url": "[email protected]:react-component/rc-test.git" |
16 | 16 | }, |
17 | | - "bugs": { |
18 | | - "url": "http://github.com/react-component/rc-test/issues" |
19 | | - }, |
20 | 17 | "license": "MIT", |
21 | | - "bin": { |
22 | | - "rc-test": "./bin/rc-test.js", |
23 | | - "rc-test-migrate": "./bin/rc-test-migrate.js" |
| 18 | + "author": { |
| 19 | + |
24 | 20 | }, |
25 | 21 | "main": "./lib/index", |
26 | 22 | "module": "./es/index", |
27 | 23 | "typings": "es/index.d.ts", |
| 24 | + "bin": { |
| 25 | + "rc-test": "./bin/rc-test.js", |
| 26 | + "rc-test-migrate": "./bin/rc-test-migrate.js" |
| 27 | + }, |
28 | 28 | "files": [ |
29 | 29 | "lib", |
30 | 30 | "es" |
31 | 31 | ], |
32 | 32 | "scripts": { |
33 | 33 | "compile": "father build", |
34 | 34 | "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish", |
35 | | - "test:only": "node ./bin/rc-test.js", |
36 | | - "test": "npm run compile && npm run test:only" |
| 35 | + "test": "npm run compile && npm run test:only", |
| 36 | + "test:only": "node ./bin/rc-test.js" |
37 | 37 | }, |
38 | 38 | "dependencies": { |
39 | 39 | "@babel/preset-typescript": "^7.18.6", |
|
44 | 44 | "babel-plugin-module-resolver": "^4.1.0", |
45 | 45 | "babel-preset-umi": "^1.8.4", |
46 | 46 | "core-js": "^3.25.5", |
47 | | - "enzyme-adapter-react-16": "^1.15.6", |
48 | 47 | "fs-extra": "^10.1.0", |
49 | 48 | "jest": "^29.2.1", |
50 | 49 | "jest-environment-jsdom": "^29.2.0", |
|
57 | 56 | "@types/jest": "^29.2.0", |
58 | 57 | "@types/react": "^18.0.0", |
59 | 58 | "@types/react-dom": "^18.0.0", |
| 59 | + "enzyme-adapter-react-16": "^1.15.6", |
60 | 60 | "eslint": "^7.18.0", |
61 | 61 | "father": "^4.0.0-rc.8", |
62 | 62 | "np": "^5.0.3", |
|
0 commit comments