diff --git a/README.md b/README.md index efd203a..b646acf 100644 --- a/README.md +++ b/README.md @@ -81,9 +81,7 @@ WANT TO CONTRIBUTE? For developers, once you've made changes to the code, you should run these commands for testing: npm install - npm run build - npm run test - npm run lint + npm run all Note that running `firefox qunit_test_runner.html` is usually more informative than running `karma` with `npm run test`. They both run the same tests. diff --git a/package.json b/package.json index 900b8b8..447c128 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "url": "https://github.com/impress/impress.js/issues" }, "scripts": { + "all": "npm run build && npm run test && npm run lint", "build": "node build.js", "lint": "jshint src test/*.js && jscs src test/*.js", "new-lint": "eslint src test",