1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-21 07:29:37 +01:00

feat: Enable flow, there aren't any file being check yet

This commit is contained in:
Juan Picado @jotadeveloper 2017-09-02 21:20:59 +02:00 committed by juanpicado
parent 4c0733ca32
commit 34db438bfc
4 changed files with 27 additions and 0 deletions

@ -9,6 +9,7 @@
"plugin:react/recommended",
"plugin:flowtype/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 7,

24
.flowconfig Normal file

@ -0,0 +1,24 @@
[ignore]
.*/node_modules/.*
lib/.*
.*/test/**/*.json
.*/static/.*
.*/test/unit/partials/.*
.*/test/functional/store/.*
.*/.nyc_output/.*
.*/coverage/.*
.*/.vscode/.*
[include]
[libs]
node_modules/@verdaccio/types/lib/
[lints]
[options]
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
unsafe.enable_getters_and_setters=true
[version]
^0.52.0

@ -79,6 +79,7 @@
"eslint-plugin-react": "7.1.0",
"extract-text-webpack-plugin": "3.0.0",
"file-loader": "0.11.2",
"flow-bin": "0.52.0",
"flow-runtime": "0.13.0",
"friendly-errors-webpack-plugin": "1.6.1",
"fs-extra": "4.0.1",
@ -124,6 +125,7 @@
"scripts": {
"release": "standard-version -a -s",
"prepublish": "in-publish && npm run build:webui || not-in-publish",
"flow": "flow",
"test": "mocha ./test/functional ./test/unit --reporter=spec --full-trace",
"pre:ci": "npm run build:webui",
"test:ci": "npm run test:coverage",

BIN
yarn.lock

Binary file not shown.