mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
fix: dot files, dependencies and update scripts
This commit is contained in:
parent
6d12e40078
commit
5f345a90df
8 changed files with 24 additions and 6 deletions
|
@ -5,3 +5,4 @@ lib/web/static
|
|||
coverage/
|
||||
|
||||
wiki/
|
||||
static/
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
5
src/api/.eslintrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
# vim: syntax=yaml
|
||||
|
||||
|
||||
rules:
|
||||
no-useless-escape: 0
|
5
src/lib/.eslintrc
Normal file
5
src/lib/.eslintrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
# vim: syntax=yaml
|
||||
|
||||
|
||||
rules:
|
||||
no-useless-escape: 0
|
|
@ -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
|
||||
|
||||
|
|
BIN
yarn.lock
BIN
yarn.lock
Binary file not shown.
Loading…
Reference in a new issue