forked from dashpay/dashcore-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: build deployment and distributable usage (dashpay#174)
* fix: dist being excluded by gitignore * docs: specified unpkg usage * build: removed rawConfig + fix .txt extracted as file output were mangled anyway, so usage of it is reduced. Therefore we remove it. * docs: added usage example for web * chore: build before publishing Allow us to ensure dist to be built before publishing the release and therefore will allow unpkg to deliver us a CDN endpoint. * chore: added unpkg explicit file path * chore: update package + fix API breaking for sinon * build: remove build instruction from travis * chore(package): build on prepublish * feat: provide crypto.BLS * chore: rebuild package-lock
- Loading branch information
1 parent
d456762
commit d447fcc
Showing
7 changed files
with
2,154 additions
and
2,236 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
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,18 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Title</title> | ||
<!-- <script src="https://unpkg.com/@dashevo/dashcore-lib"></script>--> | ||
<script src="../../dist/dashcore-lib.min.js"></script> | ||
<script> | ||
const { PrivateKey } = dashcore; | ||
const privateKey = new PrivateKey(); | ||
const address = privateKey.toAddress().toString(); | ||
alert(`New private key generated ${privateKey.toString()}`); | ||
</script> | ||
</head> | ||
<body> | ||
|
||
</body> | ||
</html> |
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
Oops, something went wrong.