add flow-comments plugin to babelrc and format json

This commit is contained in:
Sebastian McKenzie 2015-09-24 18:43:10 +01:00
parent 464d2b7ef3
commit d1588990d5

View File

@ -4,6 +4,7 @@
"devDependencies": { "devDependencies": {
"babel": "5.8.21", "babel": "5.8.21",
"babel-eslint": "^4.0.6", "babel-eslint": "^4.0.6",
"babel-plugin-flow-comments": "^1.0.9",
"browserify": "^11.0.0", "browserify": "^11.0.0",
"chai": "^2.2.0", "chai": "^2.2.0",
"chalk": "^1.1.0", "chalk": "^1.1.0",
@ -24,11 +25,25 @@
"uglify-js": "^2.4.16" "uglify-js": "^2.4.16"
}, },
"babel": { "babel": {
"ignore": ["packages/babel-cli/src/babel-plugin/templates"], "ignore": [
"packages/babel-cli/src/babel-plugin/templates"
],
"stage": 0, "stage": 0,
"loose": ["all"], "loose": [
"blacklist": ["es6.tailCall"], "all"
"optional": ["optimisation.flow.forOf", "bluebirdCoroutines", "runtime"], ],
"plugins": [
"flow-comments"
],
"blacklist": [
"flow",
"es6.tailCall"
],
"optional": [
"optimisation.flow.forOf",
"bluebirdCoroutines",
"runtime"
],
"env": { "env": {
"test": { "test": {
"auxiliaryCommentBefore": "istanbul ignore next" "auxiliaryCommentBefore": "istanbul ignore next"