-
-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -155,7 +155,7 @@ Alternatively you can | |
- Use unpkg.com | ||
|
||
```html | ||
<script src="https://unpkg.com/[email protected]/otplib-browser.js"></script> | ||
<script src="https://unpkg.com/otplib@^6.0.0/otplib-browser.js"></script> | ||
``` | ||
|
||
For a live example, the [project site][project-web] has been built using `otplib-browser.js`. The source code can be found [here](https://github.com/yeojz/otplib/tree/master/site). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
yarn run clean | ||
yarn run build | ||
echo -e "$NPM_USER\n$NPM_PASS\n$NPM_EMAIL" | npm login | ||
cd dist | ||
pwd | ||
npm publish | ||
npm logout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# Generate file dependants | ||
yarn run build:browser; | ||
yarn run build:docs; | ||
yarn run build:browser | ||
yarn run build:docs | ||
|
||
# Build within site directory | ||
cd site; | ||
yarn install; | ||
cd site | ||
yarn install | ||
yarn run clean | ||
yarn run build; | ||
yarn run build | ||
yarn run deploy | ||
|
||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
yarn run build:module | ||
yarn run build:transpile | ||
yarn run build:copy | ||
NODE_ENV=production yarn run build:browser | ||
cp README.md dist/README.md | ||
cp LICENSE dist/LICENSE | ||
cp package.json dist/package.json | ||
cp yarn.lock dist/yarn.lock | ||
cp .npmignore dist/.npmignore |