feat: add nyc and cleanup .gitignore

This commit is contained in:
nanov 2019-11-07 10:35:31 +02:00
parent 4496cbf560
commit 3e95478b3b
3 changed files with 3630 additions and 12 deletions

26
.gitignore vendored
View File

@ -1,13 +1,19 @@
npm-debug.log
node_modules
# mac shit
.DS_Store
*.local.json5
yarn.lock
/project.sublime-workspace
/public/css/style.css.map
/.idea
# nyc test coverage
.nyc_output
# Dependency directories
node_modules/
# Optional npm cache directory
.npm
npm-debug.log
# Optional eslint cache
.eslintcache
# vscode
/.vscode
*.pid
/coverage
package-lock.json
*.html

3611
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"lint": "eslint .",
"test": "mocha test/**/*.js"
"test": "nyc mocha test/**/*.js"
},
"repository": {
"type": "git",
@ -46,6 +46,7 @@
"eslint-config-ecollect-base": "^0.1.2",
"eslint-plugin-import": "^2.18.2",
"libxmljs": "^0.19.7",
"mocha": "^6.2.2"
"mocha": "^6.2.2",
"nyc": "^14.1.1"
}
}