Skip to content
This repository was archived by the owner on Dec 6, 2018. It is now read-only.

Commit

Permalink
Merge branch 'master' into patch-0
Browse files Browse the repository at this point in the history
  • Loading branch information
yvan-sraka authored Jun 15, 2017
2 parents c36bc60 + 02c31ea commit 2e89449
Show file tree
Hide file tree
Showing 28 changed files with 416 additions and 37,181 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ typings/
.yarn-integrity

# dotenv environment variables file
.env
.env
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,20 @@ This package lives in the npm index.

Relevant commands:

npm run build - builds the iframe embed.
npm run build-api - builds the JS API.
npm run build - builds the iframe embed and JS API (full and minified versions).
npm run build-api - builds the JS API (full and minified versions).

npm run build-min - builds the minified iframe embed.
npm run build-dev - builds the full iframe embed.

npm run build-api-min - builds the minified JS API.
npm run build-api-dev - builds the full JS API.

npm run watch - auto-builds the iframe embed whenever any source changes.
npm run watch-api - auto-builds the JS API code whenever any source changes.

As of 2017/06/13, the pre-built js artifacts have been removed from source
control. You must run `npm run build` prior to trying any of the examples.

Note: you may have to install uglify-js if error "sh: uglifyjs not found":
$ npm install uglify-js -g
Loading

0 comments on commit 2e89449

Please sign in to comment.