Skip to content

Commit

Permalink
Initial move to babel 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypnosphi committed Jun 9, 2018
1 parent 6a49aa5 commit c704d60
Show file tree
Hide file tree
Showing 6 changed files with 844 additions and 68 deletions.
13 changes: 0 additions & 13 deletions .babelrc

This file was deleted.

14 changes: 14 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
presets: ['@babel/preset-env', '@babel/preset-stage-0', '@babel/preset-react'],
plugins: [
'emotion',
'babel-plugin-macros',
[
'@babel/plugin-transform-runtime',
{
polyfill: false,
regenerator: true,
},
],
],
};
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ lib/cli/test
*.js.map

!.remarkrc.js
!.babelrc.js
!.eslintrc.js
!.eslintrc-markdown.js
!.jest.config.js
Expand Down
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,17 @@
"@angular/forms": "^6.0.3",
"@angular/platform-browser": "^6.0.3",
"@angular/platform-browser-dynamic": "^6.0.3",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"@babel/cli": "7.0.0-beta.44",
"@babel/core": "7.0.0-beta.44",
"@babel/plugin-transform-runtime": "7.0.0-beta.44",
"@babel/preset-env": "7.0.0-beta.44",
"@babel/preset-flow": "7.0.0-beta.44",
"@babel/preset-react": "7.0.0-beta.44",
"@babel/preset-stage-0": "7.0.0-beta.44",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.2.3",
"babel-plugin-emotion": "^9.1.2",
"babel-plugin-macros": "^2.2.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"chalk": "^2.4.1",
"codecov": "^3.0.2",
"codelyzer": "^4.3.0",
Expand Down Expand Up @@ -154,6 +156,7 @@
"eslint-teamcity": {
"reporter": "inspections"
},
"browserslist": "defaults",
"workspaces": [
"addons/*",
"app/*",
Expand Down
1 change: 0 additions & 1 deletion scripts/compile-js.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ function getCommand(watch) {

const args = [
'--ignore __mocks__/,tests/*,__tests__/,**.test.js,stories/,**.story.js,**.stories.js,__snapshots__',
'--plugins "transform-runtime"',
'./src --out-dir ./dist',
'--copy-files',
];
Expand Down
Loading

0 comments on commit c704d60

Please sign in to comment.