Minor changes

This commit is contained in:
fkereki
2018-04-11 15:29:50 -03:00
parent 52b5ee812d
commit 28fb419475
5 changed files with 24 additions and 59 deletions
+9 -28
View File
@@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"build": "flow-remove-types src/ -d out/",
"buildWithMaps": "flow-remove-types src/ -d out/ --pretty --sourcemaps",
"buildWithMaps":
"flow-remove-types src/ -d out/ --pretty --sourcemaps",
"start": "npm run build && node out/doroundmath.js",
"start-db": "npm run build && node out/dbaccess.js",
"nodemon": "nodemon --watch src --delay 1 --exec npm start",
@@ -19,10 +20,7 @@
"author": "Federico Kereki",
"license": "ISC",
"babel": {
"presets": [
"env",
"flow"
]
"presets": ["env", "flow"]
},
"eslintConfig": {
"parserOptions": {
@@ -31,41 +29,24 @@
},
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:flowtype/recommended"
],
"plugins": [
"babel",
"flowtype"
],
"extends": ["eslint:recommended", "plugin:flowtype/recommended"],
"plugins": ["babel", "flowtype"],
"rules": {
"no-console": "off",
"no-var": "error",
"prefer-const": "error"
}
},
"eslintIgnore": [
"**/out/*.js"
],
"eslintIgnore": ["**/out/*.js"],
"flow-coverage-report": {
"concurrentFiles": 1,
"excludeGlob": [
"node_modules/**"
],
"includeGlob": [
"src/**/*.js"
],
"excludeGlob": ["node_modules/**"],
"includeGlob": ["src/**/*.js"],
"threshold": 90,
"type": [
"text",
"html",
"json"
]
"type": ["text", "html", "json"]
},
"prettier": {
"tabWidth": 4,