only run the tests when trying to make a new version (#109)

This commit is contained in:
Todd Kennedy
2016-07-01 10:27:39 -07:00
committed by GitHub
parent 47cc4f8c2c
commit 665a157d60
2 changed files with 11 additions and 2 deletions
+8
View File
@@ -83,6 +83,7 @@
- [Errors](#errors)
- [FAQ](#faq)
- [Installation](#installation)
- [Contributing](#contributing)
- [See Also](#see-also)
- [License](#license)
@@ -840,6 +841,13 @@ Sure.
$ npm install choo
```
## Contributing
Browser tests can be run with the right credentials via the `npm run test:browser`
command. This will be run automatically when `npm version` is executed.
You may skip the tests by providing `SKIP_TEST=true` when running the version
command.
## See Also
- [budo](https://github.com/mattdesl/budo) - quick prototyping tool for
`browserify`
+3 -2
View File
@@ -9,8 +9,9 @@
"test:server:cov": "standard && npm run deps && NODE_ENV=test istanbul cover tests/server/*",
"test:browser": "standard && npm run deps && NODE_ENV=test zuul tests/browser/*",
"test:browser:local": "standard && npm run deps && NODE_ENV=test zuul --local 8080 -- tests/browser/*",
"test:cov": "npm run test:server:cov && npm run test:browser",
"test": "npm run test:server && npm run test:browser"
"test:cov": "npm run test:server:cov",
"preversion": "if [ ! -z $SKIP_TEST ]; then npm run test:browser; fi",
"test": "npm run test:server"
},
"repository": "yoshuawuyts/choo",
"keywords": [