|
1 | 1 | {
|
2 | 2 | "name": "react-final-form-arrays",
|
3 | 3 | "version": "1.0.2",
|
4 |
| - "description": |
5 |
| - "A component for rendering and editing arrays 🏁 React Final Form", |
| 4 | + "description": "A component for rendering and editing arrays 🏁 React Final Form", |
6 | 5 | "main": "dist/react-final-form-arrays.cjs.js",
|
7 | 6 | "jsnext:main": "dist/react-final-form-arrays.es.js",
|
8 | 7 | "module": "dist/react-final-form-arrays.es.js",
|
9 |
| - "typings": "dist/index.d.js", |
10 |
| - "files": ["dist"], |
| 8 | + "typings": "dist/index.d.ts", |
| 9 | + "files": [ |
| 10 | + "dist" |
| 11 | + ], |
11 | 12 | "scripts": {
|
12 | 13 | "start": "nps",
|
13 | 14 | "test": "nps test",
|
14 | 15 | "precommit": "lint-staged && npm start validate"
|
15 | 16 | },
|
16 |
| - "author": |
17 |
| - "Erik Rasmussen <[email protected]> (http://github.com/erikras)", |
| 17 | + "author": "Erik Rasmussen <[email protected]> (http://github.com/erikras)", |
18 | 18 | "license": "MIT",
|
19 | 19 | "repository": {
|
20 | 20 | "type": "git",
|
|
42 | 42 | "eslint-plugin-import": "^2.8.0",
|
43 | 43 | "eslint-plugin-jsx-a11y": "^6.0.2",
|
44 | 44 | "eslint-plugin-react": "^7.4.0",
|
45 |
| - "final-form": "^2.0.0", |
46 |
| - "final-form-arrays": "^1.0.3", |
47 |
| - "flow": "^0.2.3", |
| 45 | + "final-form": "^4.0.4", |
| 46 | + "final-form-arrays": "^1.0.4", |
48 | 47 | "flow-bin": "^0.61.0",
|
49 | 48 | "husky": "^0.14.3",
|
50 | 49 | "jest": "^21.2.1",
|
|
57 | 56 | "raf": "^3.4.0",
|
58 | 57 | "react": "^16.1.0",
|
59 | 58 | "react-dom": "^16.1.0",
|
60 |
| - "react-final-form": "^1.1.0", |
| 59 | + "react-final-form": "^3.0.5", |
61 | 60 | "rollup": "^0.52.0",
|
62 | 61 | "rollup-plugin-babel": "^3.0.2",
|
63 | 62 | "rollup-plugin-commonjs": "^8.2.6",
|
64 | 63 | "rollup-plugin-flow": "^1.1.1",
|
65 | 64 | "rollup-plugin-node-resolve": "^3.0.0",
|
66 | 65 | "rollup-plugin-replace": "^2.0.0",
|
67 |
| - "rollup-plugin-uglify": "^2.0.1" |
| 66 | + "rollup-plugin-uglify": "^2.0.1", |
| 67 | + "typescript": "^2.6.2" |
68 | 68 | },
|
69 | 69 | "peerDependencies": {
|
70 | 70 | "final-form": ">=2.0.0",
|
|
73 | 73 | "react": "^15.3.0 || ^16.0.0-0"
|
74 | 74 | },
|
75 | 75 | "jest": {
|
76 |
| - "setupFiles": ["raf/polyfill"] |
| 76 | + "setupFiles": [ |
| 77 | + "raf/polyfill" |
| 78 | + ] |
77 | 79 | },
|
78 | 80 | "lint-staged": {
|
79 |
| - "*.{js*,ts,json,md,css}": ["prettier --write", "git add"] |
| 81 | + "*.{js*,ts*,json,md,css}": [ |
| 82 | + "prettier --write", |
| 83 | + "git add" |
| 84 | + ] |
80 | 85 | },
|
81 | 86 | "bundlesize": [
|
82 | 87 | {
|
|
0 commit comments