only run the tests when trying to make a new version (#109)
This commit is contained in:
@@ -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
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user