diff --git a/package.json b/package.json index 4a70ffb..b6042e7 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "build": "npm run build-cjs && npm run build-es6 && npm run build-types && rimraf umd && npm run build-umd && npm run build-min", "build-types": "tsc --emitDeclarationOnly", "build-cjs": "rimraf lib && babel ./src -d lib --extensions \".ts,.tsx\"", - "build-es6": "rimraf es6 && babel ./src -d es6 --blacklist=es6.modules --extensions \".ts,.tsx\"", + "build-es6": "rimraf es6 && babel ./src -d es6 --extensions \".ts,.tsx\"", "build-umd": "NODE_ENV=development webpack src/LoadingOverlay.tsx -o umd/index.js", "build-min": "NODE_ENV=production webpack src/LoadingOverlay.tsx -o umd/index.min.js", "storybook": "start-storybook -p 9001", @@ -49,7 +49,7 @@ "@babel/plugin-syntax-class-properties": "^7.1.0", "@babel/preset-env": "^7.1.0", "@babel/preset-react": "^7.0.0", - "@babel/preset-typescript": "^7.7.7", + "@babel/preset-typescript": "^7.12.7", "@emotion/core": "^10.0.27", "@storybook/addon-actions": "^5.2.8", "@storybook/preset-typescript": "^1.2.0", @@ -69,7 +69,7 @@ "jest": "24.9.0", "react": "^16.6.3", "react-addons-test-utils": "^15.6.2", - "react-docgen-typescript-loader": "^3.6.0", + "react-docgen-typescript-loader": "^3.7.2", "react-dom": "^16.6.3", "react-testing-library": "^5.3.1", "regenerator-runtime": "^0.13.1", @@ -77,7 +77,7 @@ "standard": "^12.0.1", "styled-components": "^4.1.2", "ts-jest": "^24.2.0", - "ts-loader": "^6.2.1", + "ts-loader": "^8.0.11", "typescript": "^3.7.4", "webpack": "^4.26.1", "webpack-cli": "^3.1.2" diff --git a/src/LoadingOverlay.tsx b/src/LoadingOverlay.tsx index 8fe19a6..90db633 100644 --- a/src/LoadingOverlay.tsx +++ b/src/LoadingOverlay.tsx @@ -33,7 +33,7 @@ class LoadingOverlayWrapper extends PureComponent