Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .babelrc

This file was deleted.

2 changes: 1 addition & 1 deletion __tests__/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -16601,7 +16601,7 @@ Object {
"offset": 0,
},
},
"type": "emphasis",
"type": "root",
},
],
"type": "paragraph",
Expand Down
16 changes: 16 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 6
},
include: ['transform-regenerator']
}
],
'@babel/preset-flow'
],
plugins: ['@babel/plugin-transform-async-to-generator'],
ignore: ['**/default_theme/assets/*']
};
76 changes: 38 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,33 @@
"documentation": "./bin/documentation.js"
},
"dependencies": {
"@babel/core": "7.0.0-rc.3",
"@babel/generator": "7.0.0-rc.3",
"@babel/parser": "7.0.0-rc.3",
"@babel/plugin-proposal-class-properties": "7.0.0-rc.3",
"@babel/plugin-proposal-decorators": "7.0.0-rc.3",
"@babel/plugin-proposal-do-expressions": "7.0.0-rc.3",
"@babel/plugin-proposal-export-default-from": "7.0.0-rc.3",
"@babel/plugin-proposal-export-namespace-from": "7.0.0-rc.3",
"@babel/plugin-proposal-function-bind": "7.0.0-rc.3",
"@babel/plugin-proposal-function-sent": "7.0.0-rc.3",
"@babel/plugin-proposal-json-strings": "7.0.0-rc.3",
"@babel/plugin-proposal-logical-assignment-operators": "7.0.0-rc.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.0.0-rc.3",
"@babel/plugin-proposal-numeric-separator": "7.0.0-rc.3",
"@babel/plugin-proposal-optional-chaining": "7.0.0-rc.3",
"@babel/plugin-proposal-pipeline-operator": "7.0.0-rc.3",
"@babel/plugin-proposal-throw-expressions": "7.0.0-rc.3",
"@babel/plugin-syntax-dynamic-import": "7.0.0-rc.3",
"@babel/plugin-syntax-import-meta": "7.0.0-rc.3",
"@babel/preset-env": "7.0.0-rc.3",
"@babel/preset-flow": "7.0.0-rc.3",
"@babel/preset-react": "7.0.0-rc.3",
"@babel/preset-stage-0": "7.0.0-rc.3",
"@babel/traverse": "7.0.0-rc.3",
"@babel/types": "7.0.0-rc.3",
"@babel/core": "^7.0.0",
"@babel/generator": "^7.0.0",
"@babel/parser": "7.1.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-do-expressions": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-bind": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.0.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-stage-0": "^7.0.0",
"@babel/traverse": "^7.1.0",
"@babel/types": "^7.0.0",
"ansi-html": "^0.0.7",
"babelify": "^9.0.0",
"babelify": "^10.0.0",
"chalk": "^2.3.0",
"chokidar": "^2.0.0",
"concat-stream": "^1.6.0",
Expand All @@ -50,12 +50,12 @@
"mdast-util-inject": "^1.1.0",
"micromatch": "^3.1.5",
"mime": "^2.2.0",
"module-deps-sortable": "4.0.6",
"module-deps-sortable": "5.0.0",
"parse-filepath": "^1.0.2",
"pify": "^4.0.0",
"read-pkg-up": "^4.0.0",
"remark": "^9.0.0",
"remark-html": "7.0.0",
"remark-html": "^8.0.0",
"remark-reference-links": "^4.0.1",
"remark-toc": "^5.0.0",
"remote-origin-url": "0.4.0",
Expand All @@ -64,22 +64,22 @@
"tiny-lr": "^1.1.0",
"unist-builder": "^1.0.2",
"unist-util-visit": "^1.3.0",
"vfile": "^2.3.0",
"vfile-reporter": "^4.0.0",
"vfile": "^3.0.0",
"vfile-reporter": "^5.0.0",
"vfile-sort": "^2.1.0",
"vinyl": "^2.1.0",
"vinyl-fs": "^3.0.2",
"vue-template-compiler": "^2.5.16",
"yargs": "^9.0.1"
},
"devDependencies": {
"@babel/cli": "7.0.0-rc.3",
"@babel/cli": "^7.0.0",
"@babel/plugin-transform-async-to-generator": "^7.1.0",
"@babel/plugin-transform-modules-commonjs": "^7.1.0",
"are-we-flow-yet": "^1.0.0",
"babel-core": "^7.0.0-0",
"babel-eslint": "^8.2.1",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.4.2",
"babel-plugin-syntax-async-functions": "^6.13.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"chdir": "0.0.0",
"coveralls": "^3.0.0",
"cz-conventional-changelog": "2.1.0",
Expand All @@ -90,7 +90,7 @@
"flow-bin": "^0.73.0",
"fs-extra": "^7.0.0",
"husky": "^0.14.3",
"jest": "^22.1.4",
"jest": "^23.0.0",
"json-schema": "0.2.3",
"lint-staged": "^7.2.0",
"mock-fs": "^4.4.2",
Expand Down Expand Up @@ -122,8 +122,8 @@
"format": "prettier --write '{src,__tests__,declarations,bin,default_theme}/**/*.js'",
"doc": "node ./bin/documentation.js build src/index.js -f md --access=public > docs/NODE_API.md",
"self-lint": "node ./bin/documentation.js lint src",
"test": "npm run build && eslint . && are-we-flow-yet src && flow check && jest",
"test-ci": "npm run build && eslint . && are-we-flow-yet src && flow check && jest --runInBand"
"test": "npm run build && eslint . && flow check && jest",
"test-ci": "npm run build && eslint . && flow check && jest --runInBand"
},
"jest": {
"testPathIgnorePatterns": [
Expand Down
Loading