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 # mac shit
node_modules
.DS_Store .DS_Store
*.local.json5
yarn.lock # nyc test coverage
/project.sublime-workspace .nyc_output
/public/css/style.css.map
/.idea # Dependency directories
node_modules/
# Optional npm cache directory
.npm
npm-debug.log
# Optional eslint cache
.eslintcache
# vscode
/.vscode /.vscode
*.pid *.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", "main": "index.js",
"scripts": { "scripts": {
"lint": "eslint .", "lint": "eslint .",
"test": "mocha test/**/*.js" "test": "nyc mocha test/**/*.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -46,6 +46,7 @@
"eslint-config-ecollect-base": "^0.1.2", "eslint-config-ecollect-base": "^0.1.2",
"eslint-plugin-import": "^2.18.2", "eslint-plugin-import": "^2.18.2",
"libxmljs": "^0.19.7", "libxmljs": "^0.19.7",
"mocha": "^6.2.2" "mocha": "^6.2.2",
"nyc": "^14.1.1"
} }
} }