diff --git a/extract.js b/extract.js index fc8c21e..0841437 100644 --- a/extract.js +++ b/extract.js @@ -55,7 +55,7 @@ const plugins = [ "jsx", "typescript", "objectRestSpread", - "decorators", + ["decorators", { "decoratorsBeforeExport": false }], "classProperties", "exportExtensions", "asyncGenerators", diff --git a/package.json b/package.json index 041e148..a4a5a10 100644 --- a/package.json +++ b/package.json @@ -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"