gun-eth 1.4.24 → 1.4.26

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