feat: run flow at root level
This commit is contained in:
parent
bea7b90eb2
commit
a505ded8a1
@ -7,6 +7,7 @@
|
|||||||
[lints]
|
[lints]
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
experimental.const_params=true
|
include_warnings=true
|
||||||
module.use_strict=true
|
module.use_strict=true
|
||||||
unsafe.enable_getters_and_setters=true
|
|
||||||
|
[strict]
|
@ -9,6 +9,7 @@
|
|||||||
"eslint-plugin-promise": "^3.6.0",
|
"eslint-plugin-promise": "^3.6.0",
|
||||||
"eslint-plugin-standard": "^3.0.1",
|
"eslint-plugin-standard": "^3.0.1",
|
||||||
"exec-promise": "^0.7.0",
|
"exec-promise": "^0.7.0",
|
||||||
|
"flow-bin": "^0.61.0",
|
||||||
"husky": "^0.14.3",
|
"husky": "^0.14.3",
|
||||||
"jest": "^22.0.4",
|
"jest": "^22.0.4",
|
||||||
"lint-staged": "^6.0.0",
|
"lint-staged": "^6.0.0",
|
||||||
@ -52,7 +53,7 @@
|
|||||||
"precommit": "lint-staged",
|
"precommit": "lint-staged",
|
||||||
"prepare": "scripts/run-script prepare",
|
"prepare": "scripts/run-script prepare",
|
||||||
"pretest": "eslint --ignore-path .gitignore .",
|
"pretest": "eslint --ignore-path .gitignore .",
|
||||||
"test": "jest"
|
"test": "jest && flow status"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
|
@ -55,7 +55,6 @@
|
|||||||
"@babel/preset-flow": "^7.0.0-beta.36",
|
"@babel/preset-flow": "^7.0.0-beta.36",
|
||||||
"babel-plugin-lodash": "^3.3.2",
|
"babel-plugin-lodash": "^3.3.2",
|
||||||
"cross-env": "^5.1.3",
|
"cross-env": "^5.1.3",
|
||||||
"flow-bin": "^0.61.0",
|
|
||||||
"rimraf": "^2.6.2"
|
"rimraf": "^2.6.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -43,6 +43,7 @@ require('exec-promise')(() =>
|
|||||||
'eslint-plugin-node',
|
'eslint-plugin-node',
|
||||||
'eslint-plugin-promise',
|
'eslint-plugin-promise',
|
||||||
'eslint-plugin-standard',
|
'eslint-plugin-standard',
|
||||||
|
'flow-bin',
|
||||||
'ghooks',
|
'ghooks',
|
||||||
'husky',
|
'husky',
|
||||||
'jest',
|
'jest',
|
||||||
@ -70,6 +71,7 @@ require('exec-promise')(() =>
|
|||||||
),
|
),
|
||||||
unlink(`${dir}/.editorconfig`),
|
unlink(`${dir}/.editorconfig`),
|
||||||
unlink(`${dir}/.eslintrc.js`),
|
unlink(`${dir}/.eslintrc.js`),
|
||||||
|
unlink(`${dir}/.flowconfig`),
|
||||||
unlink(`${dir}/.gitignore`),
|
unlink(`${dir}/.gitignore`),
|
||||||
unlink(`${dir}/.jshintrc`),
|
unlink(`${dir}/.jshintrc`),
|
||||||
unlink(`${dir}/.travis.yml`),
|
unlink(`${dir}/.travis.yml`),
|
||||||
|
Loading…
Reference in New Issue
Block a user