diff --git a/.eslintrc.js b/.eslintrc.js index c930b947..77d0cdee 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -57,7 +57,6 @@ module.exports = { // 'jest' ], rules: { - 'comma-dangle': 2, 'no-underscore-dangle': 0, 'no-param-reassign': 0, diff --git a/.gitignore b/.gitignore index 073fd904..565c0a66 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ reports/ +doc/ +var/ diff --git a/.npmignore b/.npmignore index b555c4cc..a518bbb4 100644 --- a/.npmignore +++ b/.npmignore @@ -1,10 +1,15 @@ CONTRIBUTING.md -Makefile +docs/ +.DS_Store +.eslintignore +.eslintrc.js examples/ +.github +.github/ +.gitlab-ci.yml +Makefile reports/ +temmplates test/ -.github/ .travis.yml -.gitlab-ci.yml -.eslintrc.js -.eslintignore +var/ diff --git a/package.json b/package.json index 14ba964e..12868c73 100644 --- a/package.json +++ b/package.json @@ -49,12 +49,6 @@ "authentication" ], "license": "MIT", - "licenses": [ - { - "type": "MIT", - "url": "http://opensource.org/licenses/MIT" - } - ], "main": "./lib", "repository": { "type": "git", @@ -63,10 +57,8 @@ "scripts": { "templates": "node ./templates/gen.js", "init-new-project": "node ./templates/gen --init", - "lint": "./node_modules/.bin/eslint --report-unused-disable-directives --max-warnings 0 --ext js,md .", - "lintfix": "./node_modules/.bin/eslint --ext js,md . --fix", - "test": "./node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js", - "test-cov": "make test-cov", - "view-cov": "make view-cov" + "lint": "eslint --max-warnings 0 --ext js,md .", + "lintfix": "eslint --ext js,md . --fix", + "test": "mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js" } } diff --git a/templates/.gitignore.j2 b/templates/.gitignore.j2 index 512c3873..52c86c4b 100644 --- a/templates/.gitignore.j2 +++ b/templates/.gitignore.j2 @@ -1,4 +1,6 @@ reports/ +doc/ +var/ {% if npmModule == "@passport-next/skel" %} package-lock.json diff --git a/templates/package.json.j2 b/templates/package.json.j2 index 6fb09ff3..dff7a86a 100644 --- a/templates/package.json.j2 +++ b/templates/package.json.j2 @@ -46,12 +46,6 @@ "authentication" ], "license": "MIT", - "licenses": [ - { - "type": "MIT", - "url": "http://opensource.org/licenses/MIT" - } - ], "main": "./lib", "repository": { "type": "git", @@ -60,10 +54,8 @@ "scripts": { "templates": "node ./templates/gen.js", "init-new-project": "node ./templates/gen --init", - "lint": "./node_modules/.bin/eslint --report-unused-disable-directives --max-warnings 0 --ext js,md .", - "lintfix": "./node_modules/.bin/eslint --ext js,md . --fix", - "test": "./node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js", - "test-cov": "make test-cov", - "view-cov": "make view-cov" + "lint": "eslint --max-warnings 0 --ext js,md .", + "lintfix": "eslint --ext js,md . --fix", + "test": "mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js", } }