diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 2c78620..fa5ead8 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -18,5 +18,4 @@ Guidelines: * If proposing a feature, make sure to discuss that as an issue first. * Create a new [topic branch](https://github.com/dchelimsky/rspec/wiki/Topic-Branches) for every separate change you make. -* Make sure impress.js runs successfully on as many browsers as you can test. -* Run `npm lint` to make sure the code is consistent with the project standards. +* Execute `npm run lint && npm test` to make sure the tests pass and the code is consistent with the project standards. diff --git a/package.json b/package.json index 713ba5f..c1da08c 100644 --- a/package.json +++ b/package.json @@ -22,10 +22,13 @@ "url": "https://github.com/bartaz/impress.js/issues" }, "scripts": { - "lint": "jshint js/impress.js && jscs js/impress.js --preset=jquery" + "lint": "jshint js/impress.js && jscs js/impress.js --preset=jquery", + "test": "chrome test/core_tests.html" }, "devDependencies": { + "chrome": "0.1.0", "jscs": "2.11.0", - "jshint": "2.9.1" + "jshint": "2.9.1", + "qunitjs": "2.0.0-rc1" } } diff --git a/test/core_tests.html b/test/core_tests.html index eb01a50..730e2df 100644 --- a/test/core_tests.html +++ b/test/core_tests.html @@ -3,7 +3,7 @@