используем линтер для красоты кода ))
Showing
.eslintrc.json
0 → 100644
Gruntfile.js
deleted
100644 → 0
lib/commandB.js
deleted
100644 → 0
... | @@ -9,21 +9,17 @@ | ... | @@ -9,21 +9,17 @@ |
}, | }, | ||
"main": "lib/", | "main": "lib/", | ||
"scripts": { | "scripts": { | ||
"test": "mocha -R tap --exit" | "test": "mocha -R tap --exit", | ||
}, | "lint-fix": "eslint --fix ." | ||
"engines": { | |||
"node": ">=6" | |||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"expect.js": "^0.3.1", | |||
"readable-stream": "^2.3.0" | "readable-stream": "^2.3.0" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"expect.js": "*", | "eslint": "^5.16.0", | ||
"grunt": "^0.4.5", | "eslint-config-google": "^0.12.0", | ||
"grunt-mocha-istanbul": "^2.2.0", | |||
"istanbul": "^0.3.5", | |||
"memorystream": "^0.3.0", | "memorystream": "^0.3.0", | ||
"mocha": "*", | "mocha": "6.1.4" | ||
"mocha-istanbul": "^0.2.0" | |||
} | } | ||
} | } |
Please register or sign in to comment