Skip to content

Commit

Permalink
Fixed not working with @babel/core@7.0.0. (#33)
Browse files Browse the repository at this point in the history
* Fixed not working with @babel/core@7.0.0.

* Like "baleb-eslint" set "decoratorsBeforeExport": false.
  • Loading branch information
ota-meshi authored and gucong3000 committed Sep 18, 2018
1 parent dd851fd commit 06f7906
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extract.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const plugins = [
"jsx",
"typescript",
"objectRestSpread",
"decorators",
["decorators", { "decoratorsBeforeExport": false }],
"classProperties",
"exportExtensions",
"asyncGenerators",
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@
"check-coverage": true
},
"scripts": {
"test": "nyc mocha --no-timeouts"
"test": "nyc mocha --no-timeouts",
"debug": "mocha --inspect --debug-brk --no-timeouts"
},
"dependencies": {
"@babel/core": "^7.0.0-rc.1"
"@babel/core": "^7.0.0"
},
"optionalDependencies": {
"postcss-styled": ">=0.33.0"
Expand Down

0 comments on commit 06f7906

Please sign in to comment.