fix: dot files, dependencies and update scripts

This commit is contained in:
Juan Picado @jotadeveloper 2017-07-08 18:33:47 +02:00
parent 6d12e40078
commit 5f345a90df
No known key found for this signature in database
GPG Key ID: 18AC54485952D158
8 changed files with 1200 additions and 1043 deletions

View File

@ -5,3 +5,4 @@ lib/web/static
coverage/
wiki/
static/

View File

@ -26,6 +26,11 @@ parserOptions:
rules:
no-tabs: 0
keyword-spacing: 0
padded-blocks: 0
# useful to have in node.js,
# if you're sure you don't need to handle error, rename it to "_err"
handle-callback-err: 2

View File

View File

@ -82,6 +82,7 @@
"html-webpack-plugin": "^2.29.0",
"in-publish": "2.0.0",
"localstorage-memory": "^1.0.2",
"mocha": "^3.4.2",
"mocha-lcov-reporter": "1.3.0",
"normalize.css": "^7.0.0",
"nyc": "^11.0.3",
@ -111,10 +112,8 @@
"server"
],
"scripts": {
"test": "npm run lint && npm run test:ui:update &&mocha ./test/functional --reporter=spec --full-trace",
"test": "npm run lint && mocha ./test/functional ./test/unit --reporter=spec --full-trace",
"test:coverage": "nyc mocha -R spec ./test/functional ./test/unit",
"test:ui": "NODE_ENV=test jest",
"test:ui:update": "NODE_ENV=test jest -u",
"coverage:html": "nyc report --reporter=html",
"coverage:codecov": "nyc report --reporter=lcov | codecov",
"test-travis": "npm run lint && npm run test:coverage",

5
src/api/.eslintrc Normal file
View File

@ -0,0 +1,5 @@
# vim: syntax=yaml
rules:
no-useless-escape: 0

5
src/lib/.eslintrc Normal file
View File

@ -0,0 +1,5 @@
# vim: syntax=yaml
rules:
no-useless-escape: 0

View File

@ -7,6 +7,9 @@ env:
mocha: true
es6: true
valid-jsdoc: 0
no-redeclare: 1
no-console: 1
rules:
valid-jsdoc: 0
no-redeclare: 1
no-console: 1
no-useless-escape: 0

2213
yarn.lock

File diff suppressed because it is too large Load Diff