Skip to content

Commit 1beafc1

Browse files
committed
Update dependencies
1 parent 104c00a commit 1beafc1

File tree

3 files changed

+1188
-913
lines changed

3 files changed

+1188
-913
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@babel/core": "^7.5.5",
5757
"@samuelmeuli/eslint-config": "~3.0.0",
5858
"@samuelmeuli/stylelint-config": "~1.0.2",
59-
"@samuelmeuli/tsconfig": "^0.1.1",
59+
"@samuelmeuli/tsconfig": "^0.2.0",
6060
"@storybook/react": "^5.1.11",
6161
"@typescript-eslint/eslint-plugin": "^2.0.0",
6262
"@typescript-eslint/parser": "^2.0.0",
@@ -72,16 +72,16 @@
7272
"husky": "^3.0.3",
7373
"lint-staged": "^9.2.1",
7474
"node-sass": "^4.9.0",
75-
"np": "^5.0.3",
75+
"np": "~5.0.0",
7676
"npm-run-all": "^4.1.3",
7777
"postcss": "^7.0.17",
7878
"prettier": "^1.18.2",
7979
"react": "^16.9.0",
8080
"react-dom": "^16.9.0",
8181
"rollup": "^1.19.4",
8282
"rollup-plugin-postcss": "^2.0.3",
83-
"rollup-plugin-typescript2": "^0.22.1",
84-
"stylelint": "^10.1.0",
83+
"rollup-plugin-typescript2": "^0.24.3",
84+
"stylelint": "^11.0.0",
8585
"typescript": "^3.5.3"
8686
},
8787
"eslintConfig": {

rollup.config.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import typescript from "rollup-plugin-typescript2";
44
import pkg from "./package.json";
55

66
export default {
7-
input: "src/Magnifier.tsx",
7+
input: "./src/Magnifier.tsx",
88
output: [
99
{
1010
file: pkg.main,
@@ -16,10 +16,5 @@ export default {
1616
},
1717
],
1818
external: ["react", "lodash.debounce", "lodash.throttle"],
19-
plugins: [
20-
postcss(),
21-
typescript({
22-
cacheRoot: "node_modules/.cache/rollup-plugin-typescript2",
23-
}),
24-
],
19+
plugins: [postcss(), typescript()],
2520
};

0 commit comments

Comments
 (0)