only run the tests when trying to make a new version (#109)
This commit is contained in:
@@ -83,6 +83,7 @@
|
|||||||
- [Errors](#errors)
|
- [Errors](#errors)
|
||||||
- [FAQ](#faq)
|
- [FAQ](#faq)
|
||||||
- [Installation](#installation)
|
- [Installation](#installation)
|
||||||
|
- [Contributing](#contributing)
|
||||||
- [See Also](#see-also)
|
- [See Also](#see-also)
|
||||||
- [License](#license)
|
- [License](#license)
|
||||||
|
|
||||||
@@ -840,6 +841,13 @@ Sure.
|
|||||||
$ npm install choo
|
$ 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
|
## See Also
|
||||||
- [budo](https://github.com/mattdesl/budo) - quick prototyping tool for
|
- [budo](https://github.com/mattdesl/budo) - quick prototyping tool for
|
||||||
`browserify`
|
`browserify`
|
||||||
|
|||||||
+3
-2
@@ -9,8 +9,9 @@
|
|||||||
"test:server:cov": "standard && npm run deps && NODE_ENV=test istanbul cover tests/server/*",
|
"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": "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: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:cov": "npm run test:server:cov",
|
||||||
"test": "npm run test:server && npm run test:browser"
|
"preversion": "if [ ! -z $SKIP_TEST ]; then npm run test:browser; fi",
|
||||||
|
"test": "npm run test:server"
|
||||||
},
|
},
|
||||||
"repository": "yoshuawuyts/choo",
|
"repository": "yoshuawuyts/choo",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
Reference in New Issue
Block a user