mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-03-11 02:15:57 -05:00
fix: dot files, dependencies and update scripts
This commit is contained in:
parent
6d12e40078
commit
5f345a90df
8 changed files with 1200 additions and 1043 deletions
|
@ -5,3 +5,4 @@ lib/web/static
|
||||||
coverage/
|
coverage/
|
||||||
|
|
||||||
wiki/
|
wiki/
|
||||||
|
static/
|
||||||
|
|
|
@ -26,6 +26,11 @@ parserOptions:
|
||||||
|
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
|
|
||||||
|
no-tabs: 0
|
||||||
|
keyword-spacing: 0
|
||||||
|
padded-blocks: 0
|
||||||
|
|
||||||
# useful to have in node.js,
|
# useful to have in node.js,
|
||||||
# if you're sure you don't need to handle error, rename it to "_err"
|
# if you're sure you don't need to handle error, rename it to "_err"
|
||||||
handle-callback-err: 2
|
handle-callback-err: 2
|
||||||
|
|
|
@ -82,6 +82,7 @@
|
||||||
"html-webpack-plugin": "^2.29.0",
|
"html-webpack-plugin": "^2.29.0",
|
||||||
"in-publish": "2.0.0",
|
"in-publish": "2.0.0",
|
||||||
"localstorage-memory": "^1.0.2",
|
"localstorage-memory": "^1.0.2",
|
||||||
|
"mocha": "^3.4.2",
|
||||||
"mocha-lcov-reporter": "1.3.0",
|
"mocha-lcov-reporter": "1.3.0",
|
||||||
"normalize.css": "^7.0.0",
|
"normalize.css": "^7.0.0",
|
||||||
"nyc": "^11.0.3",
|
"nyc": "^11.0.3",
|
||||||
|
@ -111,10 +112,8 @@
|
||||||
"server"
|
"server"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"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: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:html": "nyc report --reporter=html",
|
||||||
"coverage:codecov": "nyc report --reporter=lcov | codecov",
|
"coverage:codecov": "nyc report --reporter=lcov | codecov",
|
||||||
"test-travis": "npm run lint && npm run test:coverage",
|
"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
|
mocha: true
|
||||||
es6: true
|
es6: true
|
||||||
|
|
||||||
valid-jsdoc: 0
|
rules:
|
||||||
no-redeclare: 1
|
valid-jsdoc: 0
|
||||||
no-console: 1
|
no-redeclare: 1
|
||||||
|
no-console: 1
|
||||||
|
no-useless-escape: 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue