forked from dao-xyz/peerbit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 3.15 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"private": true,
"name": "@dao-xyz/peerbit",
"author": "dao.xyz",
"repository": "https://github.com/@dao-xyz/sdk",
"license": "Apache-2.0",
"type": "module",
"workspaces": {
"packages": [
"packages/libp2p/direct-block",
"packages/libp2p/direct-stream",
"packages/libp2p/direct-sub",
"packages/libp2p/libp2p-test-utils",
"packages/libp2p/peerbit-libp2p",
"packages/log",
"packages/client",
"packages/server-node/frontend",
"packages/server-node/node",
"packages/server-node/test-lib",
"packages/programs/rpc",
"packages/programs/acl/identity-access-controller",
"packages/programs/acl/trusted-network",
"packages/programs/program-interface",
"packages/programs/clock-service",
"packages/programs/discovery/log-index",
"packages/utils/keystore",
"packages/utils/crypto",
"packages/programs/data/document",
"packages/programs/data/string",
"packages/store",
"packages/utils/test-utils",
"packages/utils/lazy-level",
"packages/utils/uint8arrays",
"packages/utils/time",
"packages/utils/cache",
"packages/utils/logger"
],
"nohoist": [
"**/@babel/preset-env",
"**/@babel/preset-env/**",
"**/babel-loader",
"**/babel-loader/**",
"**/webpack",
"**/webpack/**"
]
},
"engines": {
"node": ">=16.15.1"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "lerna run clean",
"build": "lerna run build --reject-cycles",
"build-node": "cd ./packages/node/ && yarn build",
"pub": "lerna publish --no-private",
"test": "node --experimental-vm-modules ./node_modules/.bin/jest test -c jest.config.unit.ts ",
"test:integration": "node --experimental-vm-modules ./node_modules/.bin/jest test -c jest.config.integration.ts --forceExit --detectOpenHandles",
"deploy": "yarn deploy:docs && yarn deploy:example",
"deploy:docs": "yarn docs && gh-pages --dist docs --dotfiles",
"docs": "shx rm -rf docs && NODE_OPTIONS=--max_old_space_size=8192 typedoc && shx cp ./{.nojekyll} docs/",
"fmt": "prettier --write '{*,**/*}.{js,ts,jsx,tsx,json,vue}'",
"lint": "eslint --ext .ts . && prettier --check '{*,**/*}.{js,ts,jsx,tsx,json,vue}'",
"lint:fix": "eslint --fix --ext .ts . && yarn fmt",
"nuke": "shx rm -rf {.,packages/*/*}/{node_modules,yarn.lock}"
},
"devDependencies": {
"@types/eslint": "^8.2.1",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/jest": "^29.2.3",
"@types/node": "^17.0.32",
"@types/prettier": "^2.7.1",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"@types/rimraf": "^3.0.2",
"@types/fs-extra": "^9.0.13",
"babel-eslint": "^10.1.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"gh-pages": "^4.0.0",
"dotenv": "^16.0.3",
"jest": "^29.3.1",
"jest-extended": "^3.2.0",
"json": "^11.0.0",
"lerna": "^5.5.1",
"prettier": "^2.8.1",
"shx": "^0.3.4",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"tslib": "^2.4.1",
"typedoc": "^0.23.17",
"typescript": "^4.8.4",
"typescript-esm": "^2.0.0",
"rimraf": "^3.0.2",
"fs-extra": "^10.1.0",
"benchmark": "^2.1.4",
"@types/benchmark": "^2.1.2",
"why-is-node-running": "^2.2.2"
}
}