gun-eth 1.4.21 → 1.4.23

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,19 +1,23 @@
1
1
  {
2
2
  "name": "gun-eth",
3
- "version": "1.4.21",
3
+ "version": "1.4.23",
4
4
  "description": "A GunDB plugin for Ethereum, and Web3",
5
+ "main": "dist/gun-eth.cjs.js",
6
+ "module": "dist/gun-eth.esm.js",
7
+ "browser": "dist/gun-eth.min.js",
8
+ "type": "module",
5
9
  "scripts": {
6
- "clean": "rimraf dist",
7
- "build": "npm run clean && rollup -c",
10
+ "build": "rollup -c",
11
+ "build:all": "npm run build:node && npm run build:browser && npm run build:module",
12
+ "build:node": "rollup -c rollup.config.node.js",
13
+ "build:browser": "rollup -c rollup.config.browser.js",
14
+ "build:module": "rollup -c rollup.config.module.js",
8
15
  "build:watch": "rollup -c -w",
9
16
  "test": "echo \"Error: no test specified\" && exit 1",
10
17
  "start-gun": "node startGun.js",
11
18
  "compile": "hardhat compile",
12
19
  "start-node": "hardhat node",
13
- "deploy-local": "hardhat run scripts/start-local-node.cjs --network localhost",
14
- "test-stealth": "cross-env NODE_ENV=development node --experimental-json-modules examples/stealth-example.js",
15
- "test-proof": "cross-env NODE_ENV=development node --experimental-json-modules examples/proof-example.js",
16
- "prepare": "npm run build"
20
+ "deploy-local": "hardhat run scripts/start-local-node.cjs --network localhost"
17
21
  },
18
22
  "dependencies": {
19
23
  "ethers": "^6.0.0",
@@ -26,10 +30,6 @@
26
30
  "@nomicfoundation/hardhat-network-helpers": "^1.0.0",
27
31
  "@nomicfoundation/hardhat-toolbox": "^3.0.0",
28
32
  "@nomicfoundation/hardhat-verify": "^1.0.0",
29
- "@rollup/plugin-commonjs": "^25.0.0",
30
- "@rollup/plugin-json": "^6.0.0",
31
- "@rollup/plugin-node-resolve": "^15.0.0",
32
- "@rollup/plugin-terser": "^0.4.0",
33
33
  "@typechain/ethers-v6": "^0.4.0",
34
34
  "@typechain/hardhat": "^8.0.0",
35
35
  "@types/chai": "^4.2.0",
@@ -38,12 +38,15 @@
38
38
  "cross-env": "^7.0.3",
39
39
  "hardhat": "^2.17.0",
40
40
  "hardhat-gas-reporter": "^1.0.8",
41
- "rimraf": "^5.0.0",
42
- "rollup": "^3.0.0",
43
41
  "solidity-coverage": "^0.8.1",
44
42
  "ts-node": "^10.9.1",
45
43
  "typechain": "^8.2.0",
46
- "typescript": "^5.0.0"
44
+ "typescript": "^5.0.0",
45
+ "@rollup/plugin-commonjs": "^25.0.0",
46
+ "@rollup/plugin-node-resolve": "^15.0.0",
47
+ "@rollup/plugin-json": "^6.0.0",
48
+ "@rollup/plugin-terser": "^0.4.0",
49
+ "rollup": "^3.0.0"
47
50
  },
48
51
  "author": "scobru",
49
52
  "repository": {
@@ -66,11 +69,6 @@
66
69
  },
67
70
  "homepage": "https://github.com/scobru/gun-eth#readme",
68
71
  "files": [
69
- "dist",
70
- "src"
71
- ],
72
- "peerDependencies": {
73
- "gun": "^0.2020.1239",
74
- "ethers": "^6.0.0"
75
- }
72
+ "dist"
73
+ ]
76
74
  }