|
39 | 39 | "scripts": { |
40 | 40 | "coveralls": "cat ./coverage/lcov.info | coveralls", |
41 | 41 | "build": "rm -rf dist && yarn run build:lib && yarn run build:flow", |
42 | | - "build:lib": "rollup -c && git add .size-snapshot.json", |
| 42 | + "build:lib": "rollup -c", |
43 | 43 | "build:storybook": "build-storybook --output-dir example", |
44 | 44 | "build:flow": "node scripts/create-flow", |
45 | 45 | "dev": "concurrently -k -r 'jest --watch' 'yarn run storybook'", |
46 | | - "lint": "eslint {src,stories,tests}/**/*.js ", |
| 46 | + "lint": "eslint {src,stories}/**/*.js ", |
47 | 47 | "prepare": "yarn build", |
48 | 48 | "pretty": "prettier '**/*.{js,md,json,yml,html}' --write", |
49 | 49 | "storybook": "start-storybook -p 9000", |
|
69 | 69 | "eslintConfig": { |
70 | 70 | "extends": [ |
71 | 71 | "insilico" |
72 | | - ] |
| 72 | + ], |
| 73 | + "settings": { |
| 74 | + "react": { |
| 75 | + "version": "detect" |
| 76 | + } |
| 77 | + } |
73 | 78 | }, |
74 | 79 | "jest": { |
75 | 80 | "testEnvironment": "jsdom", |
|
85 | 90 | ] |
86 | 91 | }, |
87 | 92 | "dependencies": { |
88 | | - "@babel/runtime": "^7.1.0", |
| 93 | + "@babel/runtime": "^7.2.0", |
89 | 94 | "invariant": "^2.2.4" |
90 | 95 | }, |
91 | 96 | "peerDependencies": { |
92 | 97 | "react": "^15.0.0 || ^16.0.0 || ^17.0.0" |
93 | 98 | }, |
94 | 99 | "devDependencies": { |
95 | | - "@babel/cli": "^7.1.5", |
96 | | - "@babel/core": "^7.1.5", |
97 | | - "@babel/plugin-proposal-class-properties": "^7.0.0", |
98 | | - "@babel/preset-env": "^7.1.5", |
| 100 | + "@babel/cli": "^7.2.3", |
| 101 | + "@babel/core": "^7.2.2", |
| 102 | + "@babel/plugin-proposal-class-properties": "^7.2.3", |
| 103 | + "@babel/plugin-transform-runtime": "^7.2.0", |
| 104 | + "@babel/preset-env": "^7.2.3", |
99 | 105 | "@babel/preset-flow": "^7.0.0", |
100 | 106 | "@babel/preset-react": "^7.0.0", |
101 | | - "@storybook/addon-actions": "^4.0.9", |
102 | | - "@storybook/addon-options": "^4.0.4", |
103 | | - "@storybook/react": "^4.0.9", |
| 107 | + "@storybook/addon-actions": "^4.1.4", |
| 108 | + "@storybook/addon-options": "^4.1.4", |
| 109 | + "@storybook/react": "^4.1.4", |
104 | 110 | "babel-core": "^7.0.0-bridge.0", |
105 | 111 | "babel-jest": "^23.4.2", |
106 | | - "babel-loader": "^8.0.4", |
| 112 | + "babel-loader": "^8.0.5", |
107 | 113 | "concurrently": "4.1.0", |
108 | 114 | "coveralls": "^3.0.2", |
109 | | - "enzyme": "^3.7.0", |
110 | | - "enzyme-adapter-react-16": "^1.7.0", |
111 | | - "enzyme-to-json": "^3.3.4", |
112 | | - "eslint": "^5.9.0", |
113 | | - "eslint-config-insilico": "^5.2.0", |
114 | | - "flow-bin": "^0.87.0", |
| 115 | + "enzyme": "^3.8.0", |
| 116 | + "enzyme-adapter-react-16": "^1.7.1", |
| 117 | + "enzyme-to-json": "^3.3.5", |
| 118 | + "eslint": "^5.12.0", |
| 119 | + "eslint-config-insilico": "^6.0.0", |
| 120 | + "flow-bin": "^0.89.0", |
115 | 121 | "flow-copy-source": "^2.0.2", |
116 | | - "husky": "^1.1.3", |
| 122 | + "husky": "^1.3.1", |
117 | 123 | "intersection-observer": "^0.5.1", |
118 | 124 | "jest": "^23.5.0", |
119 | | - "jest-dom": "^2.1.1", |
| 125 | + "jest-dom": "^3.0.0", |
120 | 126 | "lint-staged": "^8.0.4", |
121 | 127 | "npm-run-all": "^4.1.5", |
122 | | - "prettier": "^1.15.2", |
| 128 | + "prettier": "^1.15.3", |
123 | 129 | "react": "^16.7.0-alpha", |
124 | 130 | "react-dom": "^16.7.0-alpha", |
125 | 131 | "react-test-renderer": "^16.7.0-alpha", |
126 | | - "rollup": "^0.67.1", |
127 | | - "rollup-plugin-babel": "^4.0.1", |
| 132 | + "rollup": "^1.0.2", |
| 133 | + "rollup-plugin-babel": "^4.2.0", |
128 | 134 | "rollup-plugin-commonjs": "^9.2.0", |
129 | | - "rollup-plugin-node-resolve": "^3.3.0", |
| 135 | + "rollup-plugin-node-resolve": "^4.0.0", |
130 | 136 | "rollup-plugin-replace": "^2.1.0", |
131 | | - "rollup-plugin-size-snapshot": "^0.7.0", |
132 | 137 | "rollup-plugin-uglify": "^6.0.0" |
133 | 138 | } |
134 | 139 | } |
0 commit comments