-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04b6a2a
commit 56eb98d
Showing
4 changed files
with
85 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
/coverage | ||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import resolve from 'rollup-plugin-node-resolve'; | ||
import { uglify } from 'rollup-plugin-uglify'; | ||
import babel from 'rollup-plugin-babel'; | ||
|
||
const name = 'redeuce'; | ||
const exclude = 'node_modules/**'; | ||
const config = { | ||
input: 'src/index.js', | ||
plugins: [resolve(), babel({ exclude }), uglify()], | ||
output: { name, format: 'umd' }, | ||
}; | ||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -541,6 +541,14 @@ | |
lodash "^4.17.10" | ||
to-fast-properties "^2.0.0" | ||
|
||
"@types/[email protected]": | ||
version "0.0.39" | ||
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" | ||
|
||
"@types/node@*": | ||
version "10.10.1" | ||
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.10.1.tgz#d5c96ca246a418404914d180b7fdd625ad18eca6" | ||
|
||
abab@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.0.tgz#aba0ab4c5eee2d4c79d3487d85450fb2376ebb0f" | ||
|
@@ -988,6 +996,10 @@ builtin-modules@^1.0.0: | |
version "1.1.1" | ||
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" | ||
|
||
builtin-modules@^2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-2.0.0.tgz#60b7ef5ae6546bd7deefa74b08b62a43a232648e" | ||
|
||
cache-base@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" | ||
|
@@ -1530,6 +1542,10 @@ estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: | |
version "4.2.0" | ||
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" | ||
|
||
estree-walker@^0.5.2: | ||
version "0.5.2" | ||
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.5.2.tgz#d3850be7529c9580d815600b53126515e146dd39" | ||
|
||
esutils@^2.0.2: | ||
version "2.0.2" | ||
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" | ||
|
@@ -2189,6 +2205,10 @@ 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" | ||
|
||
is-number@^2.1.0: | ||
version "2.1.0" | ||
resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" | ||
|
@@ -3630,7 +3650,7 @@ [email protected]: | |
version "1.1.7" | ||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" | ||
|
||
resolve@^1.3.2, resolve@^1.5.0, resolve@^1.6.0: | ||
resolve@^1.1.6, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.6.0: | ||
version "1.8.1" | ||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.8.1.tgz#82f1ec19a423ac1fbd080b0bab06ba36e84a7a26" | ||
dependencies: | ||
|
@@ -3653,6 +3673,44 @@ rimraf@^2.2.8, rimraf@^2.5.4, rimraf@^2.6.1: | |
dependencies: | ||
glob "^7.0.5" | ||
|
||
rollup-plugin-babel@^4.0.3: | ||
version "4.0.3" | ||
resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.0.3.tgz#8282b0e22233160d679e9c7631342e848422fb02" | ||
dependencies: | ||
"@babel/helper-module-imports" "^7.0.0" | ||
rollup-pluginutils "^2.3.0" | ||
|
||
rollup-plugin-node-resolve@^3.4.0: | ||
version "3.4.0" | ||
resolved "https://registry.yarnpkg.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-3.4.0.tgz#908585eda12e393caac7498715a01e08606abc89" | ||
dependencies: | ||
builtin-modules "^2.0.0" | ||
is-module "^1.0.0" | ||
resolve "^1.1.6" | ||
|
||
rollup-plugin-uglify@^6.0.0: | ||
version "6.0.0" | ||
resolved "https://registry.yarnpkg.com/rollup-plugin-uglify/-/rollup-plugin-uglify-6.0.0.tgz#15aa8919e5cdc63b7cfc9319c781788b40084ce4" | ||
dependencies: | ||
"@babel/code-frame" "^7.0.0" | ||
jest-worker "^23.2.0" | ||
serialize-javascript "^1.5.0" | ||
uglify-js "^3.4.9" | ||
|
||
rollup-pluginutils@^2.3.0: | ||
version "2.3.3" | ||
resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.3.3.tgz#3aad9b1eb3e7fe8262820818840bf091e5ae6794" | ||
dependencies: | ||
estree-walker "^0.5.2" | ||
micromatch "^2.3.11" | ||
|
||
rollup@^0.66.1: | ||
version "0.66.1" | ||
resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.66.1.tgz#4374a478a98ff075ee0e5bcafb9ab78ca968a301" | ||
dependencies: | ||
"@types/estree" "0.0.39" | ||
"@types/node" "*" | ||
|
||
rsvp@^3.3.3: | ||
version "3.6.2" | ||
resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-3.6.2.tgz#2e96491599a96cde1b515d5674a8f7a91452926a" | ||
|
@@ -3706,6 +3764,10 @@ sax@^1.2.4: | |
version "5.5.1" | ||
resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.1.tgz#7dfdd8814bdb7cabc7be0fb1d734cfb66c940477" | ||
|
||
serialize-javascript@^1.5.0: | ||
version "1.5.0" | ||
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.5.0.tgz#1aa336162c88a890ddad5384baebc93a655161fe" | ||
|
||
set-blocking@^2.0.0, set-blocking@~2.0.0: | ||
version "2.0.0" | ||
resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" | ||
|
@@ -4088,7 +4150,7 @@ type-check@~0.3.2: | |
dependencies: | ||
prelude-ls "~1.1.2" | ||
|
||
uglify-js@^3.1.4: | ||
uglify-js@^3.1.4, uglify-js@^3.4.9: | ||
version "3.4.9" | ||
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.9.tgz#af02f180c1207d76432e473ed24a28f4a782bae3" | ||
dependencies: | ||
|