@optimystic/reference-peer 0.1.2 → 0.2.0

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.
Files changed (1) hide show
  1. package/package.json +14 -22
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimystic/reference-peer",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "description": "Reference peer implementation for Optimystic",
6
6
  "main": "dist/src/index.js",
@@ -36,41 +36,33 @@
36
36
  "libp2p"
37
37
  ],
38
38
  "scripts": {
39
- "clean": "aegir clean",
40
- "build": "aegir build --env node",
39
+ "clean": "rimraf dist",
40
+ "build": "tsc",
41
41
  "mesh": "node dist/src/mesh.js",
42
42
  "start": "node dist/src/cli.js",
43
- "lint": "aegir lint",
44
- "test": "aegir test",
45
- "test:node": "aegir test -t node",
43
+ "test": "node --import ./register.mjs node_modules/mocha/bin/mocha.js \"test/**/*.spec.ts\" --colors --reporter min",
46
44
  "test:quick": "node dist/test/quick-test.js",
47
- "test:quick:debug": "node --inspect-brk dist/test/quick-test.js",
48
- "dep-check": "aegir dep-check"
45
+ "test:quick:debug": "node --inspect-brk dist/test/quick-test.js"
49
46
  },
50
47
  "devDependencies": {
48
+ "@types/chai": "^5.2.3",
51
49
  "@types/debug": "^4.1.12",
50
+ "@types/mocha": "^10.0.10",
52
51
  "@types/node": "^22.13.10",
53
- "aegir": "^45.1.4",
52
+ "chai": "^6.2.2",
53
+ "mocha": "^11.7.5",
54
+ "rimraf": "^6.1.2",
55
+ "ts-node": "^10.9.2",
54
56
  "typescript": "^5.9.3"
55
57
  },
56
58
  "dependencies": {
57
59
  "@libp2p/interface": "^2.10.5",
58
60
  "@libp2p/peer-id": "^5.1.8",
59
- "@optimystic/db-core": "^0.5.2",
60
- "@optimystic/db-p2p": "^0.2.3",
61
- "@optimystic/db-p2p-storage-fs": "^0.2.2",
61
+ "@optimystic/db-core": "^0.6.0",
62
+ "@optimystic/db-p2p": "^0.3.0",
63
+ "@optimystic/db-p2p-storage-fs": "^0.3.0",
62
64
  "commander": "^14.0.0",
63
65
  "debug": "^4.4.1",
64
66
  "uint8arrays": "^5.1.0"
65
- },
66
- "aegir": {
67
- "build": {
68
- "bundle": false
69
- },
70
- "test": {
71
- "target": [
72
- "node"
73
- ]
74
- }
75
67
  }
76
68
  }