Skip to content

Commit

Permalink
Upgrade dependecies and reflect yarn usage in README
Browse files Browse the repository at this point in the history
  • Loading branch information
grempe committed Oct 20, 2016
1 parent a6d7c60 commit 12aaaf6
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 16 deletions.
26 changes: 21 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,27 +176,43 @@ application remains responsive while this code is running.

## Development

### Setup

This project now manages all dependencies with [yarn](https://yarnpkg.com) which
you'll need to install first.

Make sure you are using v0.16.0 or higher.

```
$ yarn -V
0.16.0
```

Install all dependencies locally.

```
yarn
```

### Build

You can build a `dist` version of `sessionKeys` using `browserify`. There is a
pre-built version in the `dist` directory of this repository which includes
all dependencies and can be used with a `<script>` tag in the browser.

```sh
npm run build
yarn run build
```

### Testing

```sh
npm install -g browserify

# run all tests locally with node
npm test
yarn test

# run all tests locally from test.html in your default browser
# test output will be in your browser's console.
npm run test-browser
yarn run test-browser
```

### Installation Security : Signed Git Commits
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"browserify": "^13.1.0",
"eslint": "^3.4.0",
"eslint-config-standard": "^6.0.0",
"eslint-plugin-promise": "^2.0.1",
"eslint-plugin-promise": "^3.3.0",
"eslint-plugin-standard": "^2.0.0",
"tap-spec": "^4.1.1",
"tape": "^4.6.0",
Expand Down
31 changes: 21 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ ajv-keywords@^1.0.0:
resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.1.1.tgz#02550bc605a3e576041565628af972e06c549d50"

ajv@^4.7.0:
version "4.8.0"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.8.0.tgz#011df5c4a08edb29574a477269afb15a6f97abe5"
version "4.8.2"
resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.8.2.tgz#65486936ca36fea39a1504332a78bebd5d447bdc"
dependencies:
co "^4.6.0"
json-stable-stringify "^1.0.1"
Expand Down Expand Up @@ -744,17 +744,17 @@ eslint-config-standard@^6.0.0:
version "6.2.0"
resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-6.2.0.tgz#1d2384ee074de6f6b6c0f2bbe976863032565aee"

eslint-plugin-promise@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-2.0.1.tgz#a9759cefa5e38ab11bb2ef65a04ef042309aa0a4"
eslint-plugin-promise@^3.3.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-3.3.0.tgz#20a1ef58b4243ffdaef82ee9360a02353a7cca89"

eslint-plugin-standard@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-standard/-/eslint-plugin-standard-2.0.1.tgz#3589699ff9c917f2c25f76a916687f641c369ff3"

eslint@^3.4.0:
version "3.8.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-3.8.0.tgz#4fbbf6833d66654860c23a099c47a0f086de34b7"
version "3.8.1"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-3.8.1.tgz#7d02db44cd5aaf4fa7aa489e1f083baa454342ba"
dependencies:
chalk "^1.1.3"
concat-stream "^1.4.6"
Expand Down Expand Up @@ -1241,6 +1241,10 @@ is-fullwidth-code-point@^1.0.0:
dependencies:
number-is-nan "^1.0.0"

is-fullwidth-code-point@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"

is-glob@^2.0.0, is-glob@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863"
Expand Down Expand Up @@ -2050,6 +2054,13 @@ string-width@^1.0.1:
is-fullwidth-code-point "^1.0.0"
strip-ansi "^3.0.0"

string-width@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.0.0.tgz#635c5436cc72a6e0c387ceca278d4e2eec52687e"
dependencies:
is-fullwidth-code-point "^2.0.0"
strip-ansi "^3.0.0"

string.prototype.trim@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz#d04de2c89e137f4d7d206f086b5ed2fae6be8cea"
Expand Down Expand Up @@ -2093,15 +2104,15 @@ syntax-error@^1.1.1:
acorn "^2.7.0"

table@^3.7.8:
version "3.8.0"
resolved "https://registry.yarnpkg.com/table/-/table-3.8.0.tgz#252166c7f3286684a9d561b0f3a8929caf3a997b"
version "3.8.3"
resolved "https://registry.yarnpkg.com/table/-/table-3.8.3.tgz#2bbc542f0fda9861a755d3947fefd8b3f513855f"
dependencies:
ajv "^4.7.0"
ajv-keywords "^1.0.0"
chalk "^1.1.1"
lodash "^4.0.0"
slice-ansi "0.0.4"
string-width "^1.0.1"
string-width "^2.0.0"

tap-out@^1.4.1:
version "1.4.2"
Expand Down

0 comments on commit 12aaaf6

Please sign in to comment.