Skip to content

Commit

Permalink
bump eslint plugin and lint precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbreiding committed Nov 22, 2017
1 parent b739dd4 commit 179dd69
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 9 deletions.
31 changes: 28 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"url": "https://github.com/cypress-io/cypress-documentation.git"
},
"scripts": {
"postinstall": "echo 'This project needs: npm run build'",
"deps": "deps-ok && dependency-check . --no-default-entries --entry cy_scripts/deploy.js",
"prebuild": "npm run clean && npm run deps && gulp pre:build",
"build": "node --stack-size=8192 ./index.js generate",
Expand All @@ -34,8 +33,8 @@
"test-e2e": "start-server-and-test start http://localhost:2222 cypress:run",
"test": "mocha --compilers coffee:coffee-script/register --recursive",
"test-watch": "npm run test --silent -- --watch",
"lint": "echo 'linting scripts'",
"postlint": "eslint --fix *.js cy_scripts/*.js scripts/*.js"
"lint": "echo 'Linting scripts...' && eslint --fix *.js cy_scripts/*.js scripts/*.js && echo 'Lint successful'",
"precommit": "npm run lint"
},
"devDependencies": {
"@cypress/deploy-bits": "1.7.1",
Expand All @@ -54,7 +53,7 @@
"dependency-check": "^2.9.1",
"deps-ok": "^1.2.0",
"eslint": "^4.6.1",
"eslint-plugin-cypress-dev": "^1.0.0",
"eslint-plugin-cypress-dev": "^1.1.1",
"fs-extra": "^4.0.2",
"ggit": "^2.3.0",
"git-last": "^1.2.0",
Expand All @@ -66,6 +65,7 @@
"gulp-debug": "^3.1.0",
"gulp-rev-all": "^0.9.7",
"human-interval": "^0.1.6",
"husky": "0.14.3",
"inquirer": "^4.0.0",
"minimist": "^1.2.0",
"mocha": "^4.0.1",
Expand All @@ -77,8 +77,8 @@
"run-sequence": "^2.2.0",
"sinon": "^4.1.2",
"sinon-chai": "^2.10.0",
"start-server-and-test": "1.0.0",
"snap-shot-it": "^4.0.1",
"start-server-and-test": "1.0.0",
"underscore.string": "^3.3.4",
"wait-on": "^2.0.2",
"yamljs": "^0.3.0"
Expand Down Expand Up @@ -106,4 +106,4 @@
"menuspy": "1.2.1",
"scrollingelement": "1.5.2"
}
}
}

0 comments on commit 179dd69

Please sign in to comment.