Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Commit

Permalink
Remove unused dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rtsao committed Aug 31, 2018
1 parent b289752 commit 7aa0a38
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 49 deletions.
2 changes: 1 addition & 1 deletion build/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function getConfig({target, env, dir, watch, state}) {
{
type: 'javascript/auto',
test: /\.(json)/,
loader: 'json-loader',
loader: require.resolve('json-loader'),
},
fusionConfig.assumeNoImportSideEffects && {
sideEffects: false,
Expand Down
11 changes: 1 addition & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,11 @@
},
"dependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-async-generator-functions": "7.0.0",
"@babel/plugin-proposal-class-properties": "7.0.0",
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "7.0.0",
"@babel/plugin-syntax-jsx": "7.0.0",
"@babel/plugin-syntax-object-rest-spread": "7.0.0",
"@babel/plugin-transform-react-jsx": "7.0.0",
"@babel/preset-env": "7.0.0",
"@babel/preset-flow": "7.0.0",
"@babel/preset-react": "7.0.0",
"@babel/template": "7.0.0",
"@gfx/zopfli": "^1.0.8",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.4.2",
Expand All @@ -31,7 +25,6 @@
"bundle-analyzer": "^0.0.6",
"case-sensitive-paths-webpack-plugin": "^2.1.2",
"chalk": "^2.4.1",
"clear-module": "^3.0.0",
"compression-webpack-plugin": "^1.1.12",
"core-js": "^2.5.7",
"enzyme-adapter-react-16": "^1.3.0",
Expand Down Expand Up @@ -67,7 +60,6 @@
"uglifyjs-webpack-plugin": "^1.3.0",
"webpack": "^4.17.1",
"webpack-hot-middleware": "^2.22.3",
"webpack-sources": "^1.2.0",
"winston": "^3.0.0"
},
"devDependencies": {
Expand Down Expand Up @@ -96,7 +88,6 @@
"react-dom": "^16.4.2",
"react-test-renderer": "^16.4.2",
"request-promise": "4.2.2",
"strip-indent": "2.0.0",
"tape": "4.9.1"
},
"peerDependencies": {
Expand Down
53 changes: 15 additions & 38 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -248,15 +248,15 @@
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.0.0.tgz#697655183394facffb063437ddf52c0277698775"

"@babel/plugin-proposal-async-generator-functions@7.0.0", "@babel/plugin-proposal-async-generator-functions@^7.0.0":
"@babel/plugin-proposal-async-generator-functions@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.0.0.tgz#5d1eb6b44fd388b97f964350007ab9da090b1d70"
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/helper-remap-async-to-generator" "^7.0.0"
"@babel/plugin-syntax-async-generators" "^7.0.0"

"@babel/[email protected]":
"@babel/plugin-proposal-class-properties@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.0.0.tgz#a16b5c076ba6c3d87df64d2480a380e979543731"
dependencies:
Expand All @@ -274,7 +274,7 @@
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-json-strings" "^7.0.0"

"@babel/plugin-proposal-object-rest-spread@7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.0.0":
"@babel/plugin-proposal-object-rest-spread@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.0.0.tgz#9a17b547f64d0676b6c9cecd4edf74a82ab85e7e"
dependencies:
Expand Down Expand Up @@ -326,13 +326,13 @@
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"

"@babel/plugin-syntax-jsx@7.0.0", "@babel/plugin-syntax-jsx@^7.0.0":
"@babel/plugin-syntax-jsx@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.0.0.tgz#034d5e2b4e14ccaea2e4c137af7e4afb39375ffd"
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"

"@babel/plugin-syntax-object-rest-spread@7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.0.0":
"@babel/plugin-syntax-object-rest-spread@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.0.0.tgz#37d8fbcaf216bd658ea1aebbeb8b75e88ebc549b"
dependencies:
Expand Down Expand Up @@ -513,7 +513,7 @@
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-jsx" "^7.0.0"

"@babel/plugin-transform-react-jsx@7.0.0", "@babel/plugin-transform-react-jsx@^7.0.0":
"@babel/plugin-transform-react-jsx@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.0.0.tgz#524379e4eca5363cd10c4446ba163f093da75f3e"
dependencies:
Expand Down Expand Up @@ -630,14 +630,6 @@
"@babel/plugin-transform-react-jsx-self" "^7.0.0"
"@babel/plugin-transform-react-jsx-source" "^7.0.0"

"@babel/[email protected]", "@babel/template@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0.tgz#c2bc9870405959c89a9c814376a2ecb247838c80"
dependencies:
"@babel/code-frame" "^7.0.0"
"@babel/parser" "^7.0.0"
"@babel/types" "^7.0.0"

"@babel/[email protected]":
version "7.0.0-beta.51"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.51.tgz#9602a40aebcf357ae9677e2532ef5fc810f5fbff"
Expand All @@ -647,6 +639,14 @@
"@babel/types" "7.0.0-beta.51"
lodash "^4.17.5"

"@babel/template@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0.tgz#c2bc9870405959c89a9c814376a2ecb247838c80"
dependencies:
"@babel/code-frame" "^7.0.0"
"@babel/parser" "^7.0.0"
"@babel/types" "^7.0.0"

"@babel/[email protected]":
version "7.0.0-beta.51"
resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.0.0-beta.51.tgz#981daf2cec347a6231d3aa1d9e1803b03aaaa4a8"
Expand Down Expand Up @@ -1591,24 +1591,12 @@ call-me-maybe@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b"

caller-callsite@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134"
dependencies:
callsites "^2.0.0"

caller-path@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-0.1.0.tgz#94085ef63581ecd3daa92444a8fe94e82577751f"
dependencies:
callsites "^0.2.0"

caller-path@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4"
dependencies:
caller-callsite "^2.0.0"

callsites@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca"
Expand Down Expand Up @@ -1743,13 +1731,6 @@ class-utils@^0.3.5:
isobject "^3.0.0"
static-extend "^0.1.1"

clear-module@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/clear-module/-/clear-module-3.0.0.tgz#e5ea80c0955fc087d4402b1b5f94fc8385927280"
dependencies:
caller-path "^2.0.0"
resolve-from "^4.0.0"

cli-cursor@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5"
Expand Down Expand Up @@ -6887,10 +6868,6 @@ strip-eof@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf"

[email protected]:
version "2.0.0"
resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68"

strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
Expand Down Expand Up @@ -7410,7 +7387,7 @@ webpack-hot-middleware@^2.22.3:
querystring "^0.2.0"
strip-ansi "^3.0.0"

webpack-sources@^1.0.1, webpack-sources@^1.1.0, webpack-sources@^1.2.0:
webpack-sources@^1.0.1, webpack-sources@^1.1.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.2.0.tgz#18181e0d013fce096faf6f8e6d41eeffffdceac2"
dependencies:
Expand Down

0 comments on commit 7aa0a38

Please sign in to comment.