|
20 | 20 | "build": "npm run build:lib && npm run build:es && cpy types/*.d.ts lib && cpy types/*.d.ts lib/es", |
21 | 21 | "prepublishOnly": "yarn run build", |
22 | 22 | "lint": "eslint . && prettier --list-different --ignore-path .eslintignore '**/*.{json,css,md}'", |
23 | | - "format": "eslint . --fix && prettier --write --ignore-path .eslintignore '**/*.{json,css,md}'", |
24 | | - "precommit": "lint-staged" |
| 23 | + "format": "eslint . --fix && prettier --write --ignore-path .eslintignore '**/*.{json,css,md}'" |
25 | 24 | }, |
26 | 25 | "publishConfig": { |
27 | 26 | "access": "public" |
28 | 27 | }, |
29 | | - "prettier": { |
30 | | - "printWidth": 79, |
31 | | - "singleQuote": true, |
32 | | - "trailingComma": "all" |
| 28 | + "husky": { |
| 29 | + "hooks": { |
| 30 | + "pre-commit": "lint-staged" |
| 31 | + } |
33 | 32 | }, |
34 | 33 | "lint-staged": { |
35 | 34 | "*.js": [ |
|
41 | 40 | "git add" |
42 | 41 | ] |
43 | 42 | }, |
| 43 | + "prettier": { |
| 44 | + "printWidth": 79, |
| 45 | + "singleQuote": true, |
| 46 | + "trailingComma": "all" |
| 47 | + }, |
44 | 48 | "jest": { |
45 | 49 | "roots": [ |
46 | 50 | "<rootDir>/test" |
|
56 | 60 | "pkgRoot": "lib" |
57 | 61 | }, |
58 | 62 | "devDependencies": { |
59 | | - "@4c/babel-preset-4catalyzer": "^4.1.1", |
60 | | - "@4c/semantic-release-config": "^1.0.3", |
| 63 | + "@4c/babel-preset": "^5.1.0", |
| 64 | + "@4c/semantic-release-config": "^1.0.5", |
61 | 65 | "@babel/cli": "^7.2.3", |
62 | | - "@babel/core": "^7.3.4", |
63 | | - "@types/react": "^16.8.5", |
| 66 | + "@babel/core": "^7.4.0", |
| 67 | + "@types/react": "^16.8.10", |
64 | 68 | "babel-core": "bridge", |
65 | 69 | "babel-eslint": "^10.0.1", |
66 | | - "babel-jest": "^24.1.0", |
| 70 | + "babel-jest": "^24.5.0", |
67 | 71 | "codecov": "^3.2.0", |
68 | 72 | "cpy-cli": "^2.0.0", |
69 | | - "dtslint": "^0.3.0", |
| 73 | + "dtslint": "^0.5.9", |
70 | 74 | "enzyme": "^3.9.0", |
71 | | - "enzyme-adapter-react-16": "^1.10.0", |
72 | | - "eslint": "^5.14.1", |
73 | | - "eslint-config-4catalyzer-react": "^0.9.0", |
74 | | - "eslint-config-prettier": "^4.0.0", |
| 75 | + "enzyme-adapter-react-16": "^1.11.2", |
| 76 | + "eslint": "^5.15.3", |
| 77 | + "eslint-config-4catalyzer-react": "^0.9.3", |
| 78 | + "eslint-config-prettier": "^4.1.0", |
75 | 79 | "eslint-plugin-import": "^2.16.0", |
76 | | - "eslint-plugin-jest": "^22.3.0", |
| 80 | + "eslint-plugin-jest": "^22.4.1", |
77 | 81 | "eslint-plugin-jsx-a11y": "^6.2.1", |
78 | 82 | "eslint-plugin-prettier": "^3.0.1", |
79 | 83 | "eslint-plugin-react": "^7.12.4", |
80 | 84 | "husky": "^1.3.1", |
81 | | - "jest": "^24.1.0", |
82 | | - "lint-staged": "^8.1.4", |
| 85 | + "jest": "^24.5.0", |
| 86 | + "lint-staged": "^8.1.5", |
83 | 87 | "prettier": "^1.16.4", |
84 | | - "react": "^16.8.3", |
85 | | - "react-dom": "^16.8.3", |
| 88 | + "react": "^16.8.6", |
| 89 | + "react-dom": "^16.8.6", |
86 | 90 | "semantic-release": "^15.13.3", |
87 | 91 | "travis-deploy-once": "^5.0.11" |
88 | 92 | }, |
|
0 commit comments