Skip to content

Commit

Permalink
Switch to yarn, fix #98
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaudan committed Apr 15, 2017
1 parent d267341 commit 7d3c33e
Show file tree
Hide file tree
Showing 10 changed files with 2,692 additions and 16 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ addons:
packages:
- google-chrome-stable
language: node_js
cache: yarn
node_js:
- '7'
- '6'
script:
- npm run coverage:codecov && npm run test:integration
- yarn coverage:codecov && yarn test:integration
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,16 @@ You can customize the output of the reporter yourself: [see how](docs/customize-

# Developement

* install dependencies: `npm install`
* launch unit tests: `npm test`
* launch integration tests: `npm test:integration`
## Requirements

* node >= 6.9
* yarn

## Commands

* install dependencies: `yarn`
* launch unit tests: `yarn test`
* launch integration tests: `yarn test:integration`

# Contribution

Expand Down
2 changes: 2 additions & 0 deletions examples/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"version": "1.0.0",
"description": "a node example",
"scripts": {
"postinstall": "yarn install-local-jsr",
"install-local-jsr": "rm -rf node_modules/jasmine-spec-reporter && npm install jasmine-spec-reporter",
"test": "jasmine"
},
"author": "Bastien Caudan",
Expand Down
88 changes: 88 additions & 0 deletions examples/node/yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


balanced-match@^0.4.1:
version "0.4.2"
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838"

brace-expansion@^1.0.0:
version "1.1.7"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.7.tgz#3effc3c50e000531fb720eaff80f0ae8ef23cf59"
dependencies:
balanced-match "^0.4.1"
concat-map "0.0.1"

colors@1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63"

concat-map@0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"

exit@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c"

fs.realpath@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"

glob@^7.0.6:
version "7.1.1"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.2"
once "^1.3.0"
path-is-absolute "^1.0.0"

inflight@^1.0.4:
version "1.0.6"
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
dependencies:
once "^1.3.0"
wrappy "1"

inherits@2:
version "2.0.3"
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"

jasmine-core@~2.5.2:
version "2.5.2"
resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.5.2.tgz#6f61bd79061e27f43e6f9355e44b3c6cab6ff297"

"jasmine-spec-reporter@file:../../":
version "4.0.0"
dependencies:
colors "1.1.2"

"jasmine@file:../../node_modules/jasmine":
version "2.5.3"
dependencies:
exit "^0.1.2"
glob "^7.0.6"
jasmine-core "~2.5.2"

minimatch@^3.0.2:
version "3.0.3"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774"
dependencies:
brace-expansion "^1.0.0"

once@^1.3.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
dependencies:
wrappy "1"

path-is-absolute@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"

wrappy@1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
3 changes: 2 additions & 1 deletion examples/protractor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "1.0.0",
"description": "a protractor example",
"scripts": {
"postinstall": "webdriver-manager update",
"install-local-jsr": "rm -rf node_modules/jasmine-spec-reporter && npm install jasmine-spec-reporter",
"postinstall": "yarn install-local-jsr && webdriver-manager update",
"test": "protractor protractor.conf.js"
},
"author": "Bastien Caudan",
Expand Down
Loading

0 comments on commit 7d3c33e

Please sign in to comment.