diff --git a/.gitignore b/.gitignore index bf7d7860..3071c312 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,9 @@ node_modules /coverage -bin - dist cjs -es +esm # Files package-lock.json diff --git a/babel.config.js b/babel.config.js index d13dd975..4b953414 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,10 +1,8 @@ -module.exports = api => { - const config = - api.env() === 'cjs' - ? {plugins: ['@babel/plugin-transform-modules-commonjs']} - : {presets: ['@zhihu/babel-preset/library']} - return { - babelrcRoots: ['.', './packages/*'], - ...config, - } +module.exports = { + babelrcRoots: ['.', './packages/*'], + presets: [ + ['@babel/preset-env', {targets: {node: '8.10'}}], + ['@babel/preset-react'], + ], + plugins: ['@babel/plugin-proposal-class-properties'], } diff --git a/example/package.json b/example/package.json index 87252dc9..916c69d8 100644 --- a/example/package.json +++ b/example/package.json @@ -16,5 +16,13 @@ "react-dom": "16.4.2", "react-hot-loader": "^4.3.12", "whatwg-fetch": "^3.0.0" + }, + "devDependencies": { + "@zhihu/babel-preset": "^1.7.0", + "babel-loader": "^8.0.4", + "html-webpack-plugin": "^3.2.0", + "webpack": "^4.26.1", + "webpack-cli": "^3.1.2", + "webpack-dev-server": "^3.1.10" } } diff --git a/example/webpack.config.js b/example/webpack.config.js index 99f2a9dc..7b23db19 100644 --- a/example/webpack.config.js +++ b/example/webpack.config.js @@ -21,23 +21,15 @@ module.exports = env => { proxy: { '/mp4': { target: 'https://zhstatic.zhihu.com/cfe/griffith/', - pathRewrite: {'^/mp4' : ''}, + pathRewrite: {'^/mp4': ''}, changeOrigin: true, secure: false, }, - } + }, }, devtool: 'cheap-module-eval-source-map', - resolve: { - alias: { - griffith: 'griffith/src', - 'griffith-mp4': 'griffith-mp4/src', - 'griffith-hls': 'griffith-hls/src', - }, - }, - module: { rules: [ { diff --git a/jest.config.js b/jest.config.js index 3c69cbda..09e66436 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,4 @@ module.exports = { - coverageReporters: ['html', 'cobertura', 'lcov'], - rootDir: process.cwd(), roots: ['/packages'], collectCoverageFrom: ['packages/**/src/**/*.js'], coveragePathIgnorePatterns: [ @@ -17,10 +15,6 @@ module.exports = { '/packages/[^/]+?/(?!src/)', '[^/]+?/__mocks__', ], - transform: { - '\\.js$': '@zhihu/babel-preset/jest', - }, - transformIgnorePatterns: ['/node_modules/@babel/runtime/'], setupFiles: ['./jest.setup.js'], snapshotSerializers: ['enzyme-to-json/serializer'], } diff --git a/package.json b/package.json index b9143a8a..1e6154c7 100644 --- a/package.json +++ b/package.json @@ -31,25 +31,24 @@ ], "scripts": { "format": "prettier \"packages/**/*.{js,json,md}\" \"*.{js,json,md}\"", - "lint": "eslint \"packages/**/*.js\" \"*.js\"", + "lint": "eslint 'packages/*/src/**/*.js' '*.js'", "test": "jest", "test:coverage": "jest --coverage", "test:watch": "jest --watch --notify", - "clean": "lerna run clean", - "build:es": "lerna run build:es --parallel --ignore example --ignore griffith-standalone", - "build:cjs": "lerna run build:cjs --parallel --ignore example --ignore griffith-standalone", - "build:standalone": "yarn workspace griffith-standalone run build", - "build": "yarn run clean && yarn run build:es && yarn run build:cjs && yarn run build:standalone", + "build:lib": "lerna run build --parallel --ignore example --ignore griffith-standalone", + "build:standalone": "lerna run --scope griffith-standalone build", + "build": "yarn build:lib && yarn build:standalone", "start": "yarn workspace example run start" }, "devDependencies": { "@babel/cli": "^7.1.5", "@babel/core": "^7.1.6", + "@babel/plugin-proposal-class-properties": "^7.4.0", + "@babel/preset-env": "^7.4.2", + "@babel/preset-react": "^7.0.0", "@commitlint/config-conventional": "^7.3.1", - "@zhihu/babel-preset": "^1.6.0", "babel-eslint": "^10.0.1", "babel-jest": "^24.1.0", - "babel-loader": "^8.0.4", "commitlint": "^7.4.0", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.10.0", @@ -60,15 +59,14 @@ "eslint-plugin-prettier": "^3.0.0", "eslint-plugin-react": "^7.11.1", "eslint-plugin-react-hooks": "^1.0.2", - "html-webpack-plugin": "^3.2.0", "husky": "^1.3.1", "jest": "^24.1.0", "lerna": "^3.4.3", "lint-staged": "^8.1.0", "prettier": "^1.16.4", - "webpack": "^4.26.1", - "webpack-cli": "^3.1.2", - "webpack-dev-server": "^3.1.10" + "rollup": "^1.7.2", + "rollup-plugin-babel": "^4.3.2", + "rollup-plugin-node-resolve": "^4.0.1" }, "husky": { "hooks": { diff --git a/packages/griffith-hls/package.json b/packages/griffith-hls/package.json index 07bc1812..a01c0406 100644 --- a/packages/griffith-hls/package.json +++ b/packages/griffith-hls/package.json @@ -6,15 +6,17 @@ "license": "MIT", "files": [ "cjs", - "es", + "esm", "src" ], - "main": "es/index.js", - "module": "es/index.js", + "source": "src/index.js", + "main": "cjs/index.js", + "module": "esm/index.js", + "sideEffects": false, "scripts": { - "clean": "rm -rf es cjs", - "build:es": "NODE_ENV=production babel src --root-mode upward -d es --ignore 'src/**/*.spec.js','src/**/__tests__'", - "build:cjs": "BABEL_ENV=cjs NODE_ENV=production babel es --root-mode upward -d cjs" + "prepare": "npm run build", + "prebuild": "rm -rf esm cjs", + "build": "rollup -c ../../rollup.config.js" }, "peerDependencies": { "react": ">=16.3.0 <17.0.0", diff --git a/packages/griffith-message/index.js b/packages/griffith-message/index.js deleted file mode 100644 index 4a628066..00000000 --- a/packages/griffith-message/index.js +++ /dev/null @@ -1,4 +0,0 @@ -import * as EVENTS from './src/constants/events' -import * as ACTIONS from './src/constants/actions' -import createMessageHelper from './src/createMessageHelper' -export {EVENTS, ACTIONS, createMessageHelper} diff --git a/packages/griffith-message/package.json b/packages/griffith-message/package.json index be3d88e5..1cab9963 100644 --- a/packages/griffith-message/package.json +++ b/packages/griffith-message/package.json @@ -5,12 +5,18 @@ "homepage": "https://github.com/zhihu/griffith/tree/master/packages/griffith-message", "license": "MIT", "files": [ - "src", - "index.js", + "cjs", + "esm", "index.d.ts" ], - "main": "index.js", - "module": "index.js", + "source": "src/index.js", + "main": "cjs/index.js", + "module": "esm/index.js", "types": "index.d.ts", - "sideEffects": false + "sideEffects": false, + "scripts": { + "prepare": "npm run build", + "prebuild": "rm -rf esm cjs", + "build": "rollup -c ../../rollup.config.js" + } } diff --git a/packages/griffith-message/src/index.js b/packages/griffith-message/src/index.js new file mode 100644 index 00000000..08bd9712 --- /dev/null +++ b/packages/griffith-message/src/index.js @@ -0,0 +1,4 @@ +import * as EVENTS from './constants/events' +import * as ACTIONS from './constants/actions' +import createMessageHelper from './createMessageHelper' +export {EVENTS, ACTIONS, createMessageHelper} diff --git a/packages/griffith-mp4/package.json b/packages/griffith-mp4/package.json index 5112ee03..d62aef48 100644 --- a/packages/griffith-mp4/package.json +++ b/packages/griffith-mp4/package.json @@ -6,16 +6,16 @@ "license": "MIT", "files": [ "cjs", - "es", - "src", - "index.js" + "esm" ], - "main": "es/index.js", - "module": "es/index.js", + "source": "src/index.js", + "main": "cjs/index.js", + "module": "esm/index.js", + "sideEffects": false, "scripts": { - "clean": "rm -rf es cjs", - "build:es": "NODE_ENV=production babel src --root-mode upward -d es --ignore 'src/**/*.spec.js','src/**/__tests__'", - "build:cjs": "BABEL_ENV=cjs NODE_ENV=production babel es --root-mode upward -d cjs" + "prepare": "npm run build", + "prebuild": "rm -rf esm cjs", + "build": "rollup -c ../../rollup.config.js" }, "devDependencies": { "read-chunk": "^3.0.0" diff --git a/packages/griffith-standalone/README-zh_CN.md b/packages/griffith-standalone/README-zh_CN.md index 02358cef..79dce16d 100644 --- a/packages/griffith-standalone/README-zh_CN.md +++ b/packages/griffith-standalone/README-zh_CN.md @@ -6,12 +6,15 @@ ```html
- ``` -options 和 props 的定义请看 [Griffith 的文档](../packages/griffith#readme)。 +`props` 的定义请看 [Griffith 的文档](../packages/griffith#readme)。 diff --git a/packages/griffith-standalone/README.md b/packages/griffith-standalone/README.md index 7863bcd1..7295caec 100644 --- a/packages/griffith-standalone/README.md +++ b/packages/griffith-standalone/README.md @@ -6,12 +6,15 @@ Griffith bundled with React, React DOM and other dependencies. You can use it by ```html
- ``` -Read [Griffith docs](../packages/griffith#readme) to know about `options` and `props`. +Read [Griffith docs](../packages/griffith#readme) to know about `props`. diff --git a/packages/griffith-standalone/package.json b/packages/griffith-standalone/package.json index cfb4144f..8fdefe2b 100644 --- a/packages/griffith-standalone/package.json +++ b/packages/griffith-standalone/package.json @@ -7,15 +7,18 @@ "files": [ "dist/" ], + "source": "src/index.js", "main": "dist/index.umd.min.js", "scripts": { - "build": "NODE_ENV=production webpack" + "prepare": "npm run build", + "prebuild": "rm -rf dist", + "build": "webpack -p" }, - "dependencies": { - "@babel/runtime": "^7.1.5", + "devDependencies": { "griffith": "^1.1.4", - "hls.js": "0.7.11", "react": "16.4.2", - "react-dom": "16.4.2" + "react-dom": "16.4.2", + "webpack": "^4.29.6", + "webpack-cli": "^3.3.0" } } diff --git a/packages/griffith-standalone/webpack.config.js b/packages/griffith-standalone/webpack.config.js index fa050e6a..6942f338 100644 --- a/packages/griffith-standalone/webpack.config.js +++ b/packages/griffith-standalone/webpack.config.js @@ -12,26 +12,10 @@ module.exports = { rules: [ { test: /\.js$/, - oneOf: [ - { - exclude: /node_modules/, - loader: 'babel-loader', - options: { - presets: ['@zhihu/babel-preset/app'], - cacheDirectory: true, - }, - }, - { - exclude: /@babel\/runtime/, - loader: 'babel-loader', - options: { - cacheDirectory: true, - configFile: false, - presets: ['@zhihu/babel-preset/dependencies'], - compact: false, - }, - }, - ], + loader: 'babel-loader', + options: { + presets: ['@babel/preset-env', '@babel/preset-react'], + }, }, ], }, diff --git a/packages/griffith-utils/package.json b/packages/griffith-utils/package.json index e5002443..0f63a58b 100644 --- a/packages/griffith-utils/package.json +++ b/packages/griffith-utils/package.json @@ -5,9 +5,16 @@ "homepage": "https://github.com/zhihu/griffith/tree/master/packages/griffith-utils", "license": "MIT", "files": [ - "src" + "cjs", + "esm" ], - "main": "src/index.js", - "module": "src/index.js", - "sideEffects": false + "source": "src/index.js", + "main": "cjs/index.js", + "module": "esm/index.js", + "sideEffects": false, + "scripts": { + "prepare": "npm run build", + "prebuild": "rm -rf esm cjs", + "build": "rollup -c ../../rollup.config.js" + } } diff --git a/packages/griffith/package.json b/packages/griffith/package.json index 346791cd..92887bdd 100644 --- a/packages/griffith/package.json +++ b/packages/griffith/package.json @@ -6,23 +6,24 @@ "license": "MIT", "files": [ "cjs", - "es/", + "esm", "index.d.ts" ], - "main": "es/index.js", - "module": "es/index.js", + "source": "src/index.js", + "main": "cjs/index.js", + "module": "esm/index.js", + "sideEffects": false, "types": "index.d.ts", "scripts": { - "clean": "rm -rf es cjs", - "build:es": "NODE_ENV=production babel src --root-mode upward -d es --ignore 'src/**/*.spec.js','src/**/__tests__'", - "build:cjs": "BABEL_ENV=cjs NODE_ENV=production babel es --root-mode upward -d cjs" + "prepare": "npm run build", + "prebuild": "rm -rf esm cjs", + "build": "rollup -c ../../rollup.config.js" }, "peerDependencies": { "react": ">=16.3.0 <17.0.0", "react-dom": ">=16.3.0 <17.0.0" }, "dependencies": { - "@babel/runtime": "^7.1.5", "aphrodite": "2.2.3", "element-resize-event": "^3.0.3", "eventemitter3": "^3.1.0", @@ -37,6 +38,5 @@ }, "devDependencies": { "jest-localstorage-mock": "^2.3.0" - }, - "sideEffects": false + } } diff --git a/rollup.config.js b/rollup.config.js new file mode 100644 index 00000000..56f6d035 --- /dev/null +++ b/rollup.config.js @@ -0,0 +1,26 @@ +import path from 'path' +import babel from 'rollup-plugin-babel' +import resolve from 'rollup-plugin-node-resolve' + +const pkg = require(path.resolve(process.cwd(), 'package.json')) + +export default [ + { + input: pkg.source, + output: [ + { + file: pkg.main, + format: 'cjs', + }, + { + file: pkg.module, + format: 'esm', + }, + ], + plugins: [ + babel(require('./babel.config')), + // resolves `./directory` to `./directory/index.js` + resolve({only: [/\/packages\/.*/]}), + ], + }, +] diff --git a/yarn.lock b/yarn.lock index ac047291..89cf0fdd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -264,7 +264,7 @@ "@babel/helper-remap-async-to-generator" "^7.1.0" "@babel/plugin-syntax-async-generators" "^7.2.0" -"@babel/plugin-proposal-class-properties@^7.2.1": +"@babel/plugin-proposal-class-properties@^7.2.1", "@babel/plugin-proposal-class-properties@^7.4.0": version "7.4.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.4.0.tgz#d70db61a2f1fd79de927eea91f6411c964e084b8" integrity sha512-t2ECPNOXsIeK1JxJNKmgbzQtoG27KIlVE61vTqX0DKR9E9sZlVVxWUtEW9D5FlZ8b8j7SBNCHY47GgPKCKlpPg== @@ -485,10 +485,10 @@ "@babel/helper-module-transforms" "^7.1.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-transform-named-capturing-groups-regex@^7.3.0": - version "7.3.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.3.0.tgz#140b52985b2d6ef0cb092ef3b29502b990f9cd50" - integrity sha512-NxIoNVhk9ZxS+9lSoAQ/LM0V2UEvARLttEHUrRDGKFaAxOYQcrkN/nLRE+BbbicCAvZPl7wMP0X60HsHE5DtQw== +"@babel/plugin-transform-named-capturing-groups-regex@^7.4.2": + version "7.4.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.2.tgz#800391136d6cbcc80728dbdba3c1c6e46f86c12e" + integrity sha512-NsAuliSwkL3WO2dzWTOL1oZJHm0TM8ZY8ZSxk2ANyKkt5SQlToGA4pzctmq1BEjoacurdwZ3xp2dCQWJkME0gQ== dependencies: regexp-tree "^0.1.0" @@ -619,10 +619,10 @@ core-js "^2.6.5" regenerator-runtime "^0.13.2" -"@babel/preset-env@^7.2.0": - version "7.4.1" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.1.tgz#80e19ad76f62fb136d57ee4b963db3e8a6840bad" - integrity sha512-uC2DeVb6ljdjBGhJCyHxNZfSJEVgPdUm2R5cX85GCl1Qreo5sMM5g85ntqtzRF7XRYGgnRmV5we9cdlvo1wJvg== +"@babel/preset-env@^7.2.0", "@babel/preset-env@^7.4.2": + version "7.4.2" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.2.tgz#2f5ba1de2daefa9dcca653848f96c7ce2e406676" + integrity sha512-OEz6VOZaI9LW08CWVS3d9g/0jZA6YCn1gsKIy/fut7yZCJti5Lm1/Hi+uo/U+ODm7g4I6gULrCP+/+laT8xAsA== dependencies: "@babel/helper-module-imports" "^7.0.0" "@babel/helper-plugin-utils" "^7.0.0" @@ -652,7 +652,7 @@ "@babel/plugin-transform-modules-commonjs" "^7.4.0" "@babel/plugin-transform-modules-systemjs" "^7.4.0" "@babel/plugin-transform-modules-umd" "^7.2.0" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.3.0" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.4.2" "@babel/plugin-transform-new-target" "^7.4.0" "@babel/plugin-transform-object-super" "^7.2.0" "@babel/plugin-transform-parameters" "^7.4.0" @@ -1730,6 +1730,11 @@ dependencies: "@babel/types" "^7.3.0" +"@types/estree@0.0.39": + version "0.0.39" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" + integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== + "@types/istanbul-lib-coverage@^1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.0.tgz#2cc2ca41051498382b43157c8227fea60363f94a" @@ -1740,6 +1745,11 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-11.11.4.tgz#8808bd5a82bbf6f5d412eff1c228d178e7c24bb3" integrity sha512-02tIL+QIi/RW4E5xILdoAMjeJ9kYq5t5S2vciUdFPXv/ikFTb0zK8q9vXkg4+WAJuYXGiVT1H28AkD2C+IkXVw== +"@types/node@^11.11.6": + version "11.11.6" + resolved "https://registry.yarnpkg.com/@types/node/-/node-11.11.6.tgz#df929d1bb2eee5afdda598a41930fe50b43eaa6a" + integrity sha512-Exw4yUWMBXM3X+8oqzJNRqZSwUAaS4+7NdvHqQuFi/d+synz++xmX3QIf+BFqneW8N31R8Ky+sikfZUXq07ggQ== + "@types/stack-utils@^1.0.1": version "1.0.1" resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-1.0.1.tgz#0a851d3bd96498fa25c33ab7278ed3bd65f06c3e" @@ -1906,7 +1916,7 @@ resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== -"@zhihu/babel-preset@^1.6.0": +"@zhihu/babel-preset@^1.7.0": version "1.7.0" resolved "https://registry.yarnpkg.com/@zhihu/babel-preset/-/babel-preset-1.7.0.tgz#b1198d439d5bfcb3c67fd8c1f821bcee89bf36e3" integrity sha512-zDgpCKPm/9S4ccKsGLN7W3uz6xNEJlk/XUALXt8N+DOJOQmfC42fTZa5vi2SIrh9CuAEKoeyDI+4nJepYtMwNg== @@ -1973,7 +1983,7 @@ acorn@^5.5.3: resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== -acorn@^6.0.1, acorn@^6.0.5, acorn@^6.0.7: +acorn@^6.0.1, acorn@^6.0.5, acorn@^6.0.7, acorn@^6.1.1: version "6.1.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.1.1.tgz#7d25ae05bb8ad1f9b699108e1094ecd7884adc1f" integrity sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA== @@ -2625,6 +2635,11 @@ buffer@^4.3.0: ieee754 "^1.1.4" isarray "^1.0.0" +builtin-modules@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.0.0.tgz#1e587d44b006620d90286cc7a9238bbc6129cab1" + integrity sha512-hMIeU4K2ilbXV6Uv93ZZ0Avg/M91RaKXucQ+4me2Do1txxBDyDZWCBa5bJSLqoNTRpXTLwEzIk1KmloenDDjhg== + builtin-status-codes@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" @@ -4186,6 +4201,11 @@ estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" integrity sha1-De4/7TH81GlhjOc0IJn8GvoL2xM= +estree-walker@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.0.tgz#5d865327c44a618dde5699f763891ae31f257dae" + integrity sha512-peq1RfVAVzr3PU/jL31RaOjUKLoZJpObQWJJ+LgfcxDUifyLZ1RjPQZTl0pzj2uJ45b7A7XpyppXvxdEqzo4rw== + esutils@^2.0.0, esutils@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" @@ -5619,6 +5639,11 @@ is-glob@^4.0.0: dependencies: is-extglob "^2.1.1" +is-module@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" + integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE= + is-number-object@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.3.tgz#f265ab89a9f445034ef6aff15a8f00b00f551799" @@ -8890,6 +8915,40 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" +rollup-plugin-babel@^4.3.2: + version "4.3.2" + resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.3.2.tgz#8c0e1bd7aa9826e90769cf76895007098ffd1413" + integrity sha512-KfnizE258L/4enADKX61ozfwGHoqYauvoofghFJBhFnpH9Sb9dNPpWg8QHOaAfVASUYV8w0mCx430i9z0LJoJg== + dependencies: + "@babel/helper-module-imports" "^7.0.0" + rollup-pluginutils "^2.3.0" + +rollup-plugin-node-resolve@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-4.0.1.tgz#f95765d174e5daeef9ea6268566141f53aa9d422" + integrity sha512-fSS7YDuCe0gYqKsr5OvxMloeZYUSgN43Ypi1WeRZzQcWtHgFayV5tUSPYpxuaioIIWaBXl6NrVk0T2/sKwueLg== + dependencies: + builtin-modules "^3.0.0" + is-module "^1.0.0" + resolve "^1.10.0" + +rollup-pluginutils@^2.3.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.5.0.tgz#23be0f05ac3972ea7b08fc7870cb91fde5b23a09" + integrity sha512-9Muh1H+XB5f5ONmKMayUoTYR1EZwHbwJJ9oZLrKT5yuTf/RLIQ5mYIGsrERquVucJmjmaAW0Y7+6Qo1Ep+5w3Q== + dependencies: + estree-walker "^0.6.0" + micromatch "^3.1.10" + +rollup@^1.7.2: + version "1.7.2" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-1.7.2.tgz#6a2c50843915cba2c1432028e741f2ccb39e8ca3" + integrity sha512-HdbjbHsvoLDwJU/lWEyktVlLdXR7mtnNxRnzaDb+fiNiboAxDYCpwLz1zLGI3+k890PacAptSGrqJLJnABMKJg== + dependencies: + "@types/estree" "0.0.39" + "@types/node" "^11.11.6" + acorn "^6.1.1" + rst-selector-parser@^2.2.3: version "2.2.3" resolved "https://registry.yarnpkg.com/rst-selector-parser/-/rst-selector-parser-2.2.3.tgz#81b230ea2fcc6066c89e3472de794285d9b03d91" @@ -10176,7 +10235,7 @@ webidl-conversions@^4.0.2: resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" integrity sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg== -webpack-cli@^3.1.2: +webpack-cli@^3.1.2, webpack-cli@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-3.3.0.tgz#55c8a74cae1e88117f9dda3a801c7272e93ca318" integrity sha512-t1M7G4z5FhHKJ92WRKwZ1rtvi7rHc0NZoZRbSkol0YKl4HvcC8+DsmGDmK7MmZxHSAetHagiOsjOB6MmzC2TUw== @@ -10255,7 +10314,7 @@ webpack-sources@^1.1.0, webpack-sources@^1.3.0: source-list-map "^2.0.0" source-map "~0.6.1" -webpack@^4.26.1: +webpack@^4.26.1, webpack@^4.29.6: version "4.29.6" resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.29.6.tgz#66bf0ec8beee4d469f8b598d3988ff9d8d90e955" integrity sha512-MwBwpiE1BQpMDkbnUUaW6K8RFZjljJHArC6tWQJoFm0oQtfoSebtg4Y7/QHnJ/SddtjYLHaKGX64CFjG5rehJw==