Added styled-components table plugin

This commit is contained in:
Jori Lallo 2017-07-11 22:00:50 -07:00
parent 410f9a9133
commit 8624ed5a44
3 changed files with 16 additions and 9 deletions

View File

@ -1,10 +1,8 @@
{
"presets": [
"react",
"env"
],
"presets": ["react", "env"],
"plugins": [
"lodash",
"styled-components",
"transform-decorators-legacy",
"transform-es2015-destructuring",
"transform-object-rest-spread",
@ -13,9 +11,7 @@
],
"env": {
"development": {
"presets": [
"react-hmre"
]
"presets": ["react-hmre"]
}
}
}
}

View File

@ -64,6 +64,7 @@
"babel-eslint": "^7.2.3",
"babel-loader": "6.2.5",
"babel-plugin-lodash": "^3.2.11",
"babel-plugin-styled-components": "^1.1.7",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "1.3.4",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",

View File

@ -534,6 +534,12 @@ babel-plugin-react-transform@^2.0.2:
dependencies:
lodash "^4.6.1"
babel-plugin-styled-components@^1.1.7:
version "1.1.7"
resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.1.7.tgz#a92c239779cc80e7838b645c12865c61c4ca71ce"
dependencies:
stylis "^3.2.1"
babel-plugin-syntax-async-functions@^6.8.0:
version "6.13.0"
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95"
@ -8259,6 +8265,10 @@ stylis@^2.0.0:
version "2.0.12"
resolved "https://registry.yarnpkg.com/stylis/-/stylis-2.0.12.tgz#547253055d170f2a7ac2f6d09365d70635f2bec6"
stylis@^3.2.1:
version "3.2.3"
resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.2.3.tgz#fed751d792af3f48a247769f55aca05c1a100a09"
supports-color@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
@ -8913,7 +8923,7 @@ whatwg-encoding@^1.0.1:
dependencies:
iconv-lite "0.4.13"
whatwg-fetch@1.0.0, whatwg-fetch@>=0.10.0:
whatwg-fetch@>=0.10.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-1.0.0.tgz#01c2ac4df40e236aaa18480e3be74bd5c8eb798e"