|
33 | 33 | }
|
34 | 34 | ],
|
35 | 35 | "scripts": {
|
36 |
| - "clean": "rimraf dist", |
37 |
| - "prebuild": "npm run clean", |
| 36 | + "prebuild": "rimraf dist", |
38 | 37 | "build": "microbundle build --jsx React.createElement",
|
39 | 38 | "lint": "eslint '**/*.{js,ts}'",
|
40 | 39 | "lint:fix": "npm run lint -- --fix",
|
41 | 40 | "lint:types": "tsc --noEmit",
|
42 | 41 | "test": "jest --runInBand",
|
43 |
| - "test:watch": "npm run test -- --watchAll --coverage", |
44 |
| - "postversion": "git push && git push origin v$npm_package_version", |
45 |
| - "prepublishOnly": "npm run lint && npm run lint:types && npm test && npm run build" |
| 42 | + "test:watch": "npm run test -- --watchAll --coverage" |
46 | 43 | },
|
47 | 44 | "keywords": [
|
48 | 45 | "react",
|
|
66 | 63 | },
|
67 | 64 | "homepage": "https://react-hook-form.com",
|
68 | 65 | "devDependencies": {
|
69 |
| - "@testing-library/react": "^11.2.2", |
70 |
| - "@types/jest": "^26.0.15", |
71 |
| - "@types/react": "^17.0.0", |
72 |
| - "@types/react-dom": "^17.0.0", |
73 |
| - "@typescript-eslint/eslint-plugin": "^4.8.1", |
74 |
| - "@typescript-eslint/parser": "^4.8.1", |
75 |
| - "eslint": "^7.14.0", |
76 |
| - "eslint-config-prettier": "^6.15.0", |
77 |
| - "eslint-plugin-prettier": "^3.1.4", |
78 |
| - "eslint-plugin-react": "^7.21.5", |
| 66 | + "@testing-library/react": "^11.2.6", |
| 67 | + "@types/jest": "^26.0.22", |
| 68 | + "@types/react": "^17.0.3", |
| 69 | + "@types/react-dom": "^17.0.3", |
| 70 | + "@typescript-eslint/eslint-plugin": "^4.21.0", |
| 71 | + "@typescript-eslint/parser": "^4.21.0", |
| 72 | + "eslint": "^7.23.0", |
| 73 | + "eslint-config-prettier": "^8.1.0", |
| 74 | + "eslint-plugin-prettier": "^3.3.1", |
| 75 | + "eslint-plugin-react": "^7.23.2", |
79 | 76 | "eslint-plugin-react-hooks": "^4.2.0",
|
80 | 77 | "husky": "^4.3.0",
|
81 | 78 | "jest": "^26.6.3",
|
82 |
| - "lint-staged": "^10.5.1", |
83 |
| - "microbundle": "^0.12.4", |
84 |
| - "prettier": "^2.2.0", |
85 |
| - "react": "^17.0.1", |
86 |
| - "react-dom": "^17.0.1", |
| 79 | + "lint-staged": "^10.5.4", |
| 80 | + "microbundle": "^0.13.0", |
| 81 | + "prettier": "^2.2.1", |
| 82 | + "react": "^17.0.2", |
| 83 | + "react-dom": "^17.0.2", |
87 | 84 | "react-hook-form": "^6.11.4",
|
88 | 85 | "rimraf": "^3.0.2",
|
89 |
| - "ts-jest": "^26.4.4", |
90 |
| - "typescript": "^4.1.2" |
| 86 | + "ts-jest": "^26.5.4", |
| 87 | + "typescript": "^4.2.4" |
91 | 88 | },
|
92 | 89 | "peerDependencies": {
|
93 | 90 | "react": ">=16.8.0",
|
|
0 commit comments