erc20-contracts 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  { "name": "erc20-contracts",
2
2
  "version":
3
- "0.0.3",
3
+ "0.0.5",
4
4
  "description":
5
- "The OJavaScript programs and libraries to enable seamless development of native computer applications designed to interact with Ethereum *RC-20 tokens (ERC-20, BRC-20, etc.) on Ethereum Virtual Machine-compatible networks.",
5
+ "JavaScript programs and libraries to enable seamless development of native computer applications designed to interact with Ethereum *RC-20 tokens (ERC-20, BRC-20, etc.) on Ethereum Virtual Machine-compatible networks.",
6
6
  "funding": {
7
7
  "type":
8
8
  "patreon",
@@ -17,6 +17,7 @@
17
17
  "Token.bin",
18
18
  "Token.sol",
19
19
  "Token.abi.json",
20
+ "Token.json",
20
21
  "dist",
21
22
  "erc20-contracts",
22
23
  "lib",
@@ -83,13 +84,15 @@
83
84
  "commonjs",
84
85
  "scripts": {
85
86
  "build-contracts":
86
- "solidity-compiler -v -b 'solc' -e 'istanbul' -C 0.7.5 Token.sol",
87
+ "solidity-compiler -v -b 'hardhat' -e 'istanbul' -C '0.7.5' 'Token.sol' && solidity-compiler -v -b 'solc' -e 'istanbul' -C '0.7.5' 'Token.sol' && cp 'contracts/Token.sol/Token.json' 'Token.json'",
87
88
  "build-lib":
88
- "npx webpack --mode 'production' --config 'webpack.config.cjs' --stats-error-details && mv 'data-get.js' 'dist/erc20-contracts/erc20-contracts.js' && cp Token.{'abi.json','bin','sol'} dist/erc20-contracts",
89
+ "npx webpack --mode 'production' --config 'webpack.config.cjs' --stats-error-details && mv 'data-get.js' 'dist/erc20-contracts/erc20-contracts.js' && cp 'Token.'{'abi.json','bin','json','sol'} 'dist/erc20-contracts'",
89
90
  "build":
90
91
  "npm run build-contracts && npm run build-lib",
91
92
  "publish-npm":
92
93
  "npm run build && npm publish --access public",
94
+ "start":
95
+ "npx safely-serve 'dist/erc20-tools' --port 3000 --https --no-cache",
93
96
  "test":
94
97
  "echo \"Error: no test specified\" && exit 1"
95
98
  }