Skip to content
Snippets Groups Projects
Commit 54f18343 authored by Tomasz Ducin's avatar Tomasz Ducin
Browse files

readme & contribution updated

parent 09de6ff2
No related branches found
No related tags found
No related merge requests found
...@@ -18,13 +18,14 @@ If you're submitting a bug, please clearly state what is: ...@@ -18,13 +18,14 @@ If you're submitting a bug, please clearly state what is:
## Releasing new versions ## Releasing new versions
* Include a new entry in [CHANGELOG.md](CHANGELOG.md) file, * Include a new entry in [CHANGELOG.md](CHANGELOG.md) file,
* Be followed by rebuilding and re-releasing new online demo, see [gh-pages branch](https://github.com/json-schema-faker/json-schema-faker/tree/gh-pages). * Be followed by re-building and re-releasing online demo, see [`website-jsf` gh-pages branch](https://github.com/json-schema-faker/website-jsf/tree/gh-pages).
## Development tasks ## Development tasks
* `npm run dev` — Run the tests and watch (preferred during development) * `npm run dev` — Run the tests and watch (preferred during development)
* `npm run dev:lint` — Run eslint on all sources * `npm run dev:lint` — Run eslint on all sources
* `npm run dev:spec` — Run jasmine-node * `npm run dev:unit` — Run `jasmine-node` on unit tests
* `npm run dev:schema` — Run `jasmine-node` on schema tests
* `npm run cover` — Run istanbul + jasmine-node * `npm run cover` — Run istanbul + jasmine-node
* `npm run cover:up` — Upload to coveralls (CI only) * `npm run cover:up` — Upload to coveralls (CI only)
* `npm run dist` — Prepare all assets with locales for CDN support * `npm run dist` — Prepare all assets with locales for CDN support
......
...@@ -70,11 +70,11 @@ Install `json-schema-faker` with bower: ...@@ -70,11 +70,11 @@ Install `json-schema-faker` with bower:
JSON-Schema-faker is also available at [cdnjs.com](https://www.cdnjs.com/libraries/json-schema-faker). This means you can just include the script file into your HTML: JSON-Schema-faker is also available at [cdnjs.com](https://www.cdnjs.com/libraries/json-schema-faker). This means you can just include the script file into your HTML:
# remember to update the version number! # remember to update the version number!
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/json-schema-faker/0.2.8/json-schema-faker.min.js"></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/json-schema-faker/0.3.1/json-schema-faker.min.js"></script>
It will be fetched from the [Content Delivery Network](https://en.wikipedia.org/wiki/Content_delivery_network) without installing any node.js package. It will be fetched from the [Content Delivery Network](https://en.wikipedia.org/wiki/Content_delivery_network) without installing any node.js package.
You can see [an example JS fiddle based on `jsf` loaded from cdnjs](https://jsfiddle.net/ftzhnmzq/). You can see [an example JS fiddle based on `jsf` loaded from cdnjs](https://jsfiddle.net/ftzhnmzq/4/).
## Overview ## Overview
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment