Skip to content

Commit

Permalink
chore: update devDependencies packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kmkzt committed May 7, 2020
1 parent 8be3e50 commit d9dc88a
Show file tree
Hide file tree
Showing 5 changed files with 10,133 additions and 16 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn.lock
package-lock.json
.vscode

# yarn.lock
2 changes: 1 addition & 1 deletion lib/index.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/useDrawing.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export var useSvgDrawing = function (option) {
return;
if (!renderRef.current)
return;
drawingRef.current = new SvgDrawing(__assign({}, option, { el: renderRef.current, autostart: true }));
drawingRef.current = new SvgDrawing(__assign(__assign({}, option), { el: renderRef.current, autostart: true }));
});
return [
renderRef,
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"main": "lib/index.min.js",
"types": "lib/index.d.ts",
"files": [
"lib/**/*.{js,ts}",
"src/**/*.{js,ts}"
"lib/**/*.{js,ts}"
],
"directories": {
"lib": "lib",
Expand All @@ -34,6 +33,7 @@
"build:demo": "rimraf docs/* && NODE_ENV=development webpack -p",
"sample": "webpack-dev-server server.js",
"test": "jest --passWithNoTests",
"prepare": "yarn build:lib",
"release": "release-it"
},
"dependencies": {
Expand All @@ -53,8 +53,8 @@
"@types/babel-core": "6.25.6",
"@types/babel__core": "7.1.2",
"@types/dotenv-webpack": "1.7.0",
"@types/eslint": "6.1.1",
"@types/eslint-plugin-prettier": "2.2.0",
"@types/eslint": "6.8.0",
"@types/eslint-plugin-prettier": "3.1.0",
"@types/html-webpack-plugin": "3.2.1",
"@types/jest": "24.0.18",
"@types/node": "12.7.3",
Expand All @@ -69,21 +69,21 @@
"@types/webpack-dev-server": "3.1.7",
"@types/webpack-merge": "4.1.5",
"@types/workbox-webpack-plugin": "4.1.0",
"@typescript-eslint/eslint-plugin": "2.0.0",
"@typescript-eslint/parser": "2.0.0",
"@typescript-eslint/typescript-estree": "2.0.0",
"@typescript-eslint/eslint-plugin": "2.31.0",
"@typescript-eslint/parser": "2.31.0",
"@typescript-eslint/typescript-estree": "2.31.0",
"autoprefixer": "9.6.1",
"babel-core": "6.26.3",
"babel-jest": "24.9.0",
"babel-loader": "8.0.6",
"babel-preset-es2015": "6.24.1",
"css-loader": "3.2.0",
"eslint": "6.3.0",
"eslint-config-prettier": "6.1.0",
"eslint-loader": "3.0.0",
"eslint-plugin-prettier": "3.1.0",
"eslint-plugin-react": "7.14.3",
"eslint-plugin-react-hooks": "2.0.1",
"eslint": "6.8.0",
"eslint-config-prettier": "6.11.0",
"eslint-loader": "4.0.2",
"eslint-plugin-prettier": "3.1.3",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "4.0.0",
"html-loader": "0.5.5",
"html-webpack-plugin": "3.2.0",
"jest": "24.9.0",
Expand Down
Loading

0 comments on commit d9dc88a

Please sign in to comment.