Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Commit

Permalink
Output to ./
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDaub committed Apr 30, 2021
1 parent f6991be commit abc4cad
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
node_modules
dist
13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>web3-sign-msg web component</title>
<script src="./web3-input.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<web3-sign-msg message="I think web components are a great idea">
</web3-sign-msg>
</body>
</html>
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "web3-input is the parsimonious way to interact with Ethereum.",
"main": "./src/index.mjs",
"scripts": {
"build": "esbuild src/index.mjs --outfile=dist/web3-input.js --bundle --minify --sourcemap --target=chrome58,firefox57,safari11,edge16",
"serve": "ssl-serve ./dist --ssl",
"build": "esbuild src/index.mjs --outfile=web3-input.js --bundle --minify --sourcemap --target=chrome58,firefox57,safari11,edge16",
"serve": "ssl-serve . --ssl",
"watch": "watch 'npm run build' ./src/ -d",
"dev": "concurrently 'npm run watch' 'npm run serve'"
},
Expand All @@ -32,6 +32,7 @@
},
"homepage": "https://github.com/TimDaub/web3-input#readme",
"dependencies": {
"@ficusjs/renderers": "3.1.0",
"@metamask/detect-provider": "1.2.0",
"ficusjs": "3.3.0"
},
Expand Down
14 changes: 14 additions & 0 deletions web3-input.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions web3-input.js.map

Large diffs are not rendered by default.

0 comments on commit abc4cad

Please sign in to comment.