-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
126 lines (126 loc) · 3.6 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@astrobase/core",
"version": "0.4.0",
"description": "An extensible protocol suite for building multi-user apps with native privacy, security, and self-sovereignty.",
"keywords": [
"astrobase",
"e2ee",
"encryption",
"web3"
],
"homepage": "https://astrobase.me",
"bugs": {
"url": "https://github.com/AstrobaseTech/Astrobase/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AstrobaseTech/Astrobase.git"
},
"license": "Apache-2.0",
"author": "Aidan Loughran",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/src/core.d.ts",
"default": "./dist/src/core.js"
},
"./fs": {
"types": "./dist/src/fs/fs.client.d.ts",
"default": "./dist/src/fs/fs.client.js"
},
"./http/client": {
"types": "./dist/src/http/http.client.d.ts",
"default": "./dist/src/http/http.client.js"
},
"./http/server": {
"types": "./dist/src/http/http.server.d.ts",
"default": "./dist/src/http/http.server.js"
},
"./indexeddb": {
"types": "./dist/src/indexeddb/indexeddb.d.ts",
"default": "./dist/src/indexeddb/indexeddb.js"
},
"./rpc/client": {
"types": "./dist/src/rpc/client/index.d.ts",
"default": "./dist/src/rpc/client/index.js"
},
"./rpc/server": {
"types": "./dist/src/rpc/server.d.ts",
"default": "./dist/src/rpc/server.js"
},
"./rpc/shared": {
"types": "./dist/src/rpc/shared/index.d.ts",
"default": "./dist/src/rpc/shared/index.js"
},
"./s3": {
"types": "./dist/src/s3/s3.d.ts",
"default": "./dist/src/s3/s3.js"
}
},
"main": "dist/src/index.js",
"module": "dist/src/index.js",
"types": "./dist/src/index.d.ts",
"bin": {
"astrobase": "dist/bin/astrobase.js"
},
"files": [
"./dist"
],
"scripts": {
"prebuild": "rm -rf dist",
"build": "tsc --project tsconfig.build.json --removeComments && tsc --project tsconfig.build.json --declaration --declarationMap --emitDeclarationOnly",
"postbuild": "publint",
"build:diagrams": "plantuml docs/*.puml",
"build:docs": "typedoc --validation",
"ci": "conc npm:build npm:lint npm:test",
"cost": "bun build --minify src/index.js | gzip | wc -c",
"coverage": "vitest run --coverage",
"format": "prettier --write .",
"lc": "find dist -type f -name \"*.js\" -exec cat {} \\; | wc -l",
"lint": "conc npm:lint:*",
"lint:eslint": "eslint .",
"lint:typedoc": "typedoc --validation --emit none",
"prepack": "npm run ci",
"start": "tsc --watch --preserveWatchOutput --project tsconfig.build.json",
"test": "vitest run",
"watch": "tsc --watch --preserveWatchOutput --noEmit"
},
"dependencies": {
"base-x": "5.0.0",
"content-type": "1.0.5",
"valibot": "^1.0.0-beta.8",
"varint": "6.0.0"
},
"devDependencies": {
"@aws-sdk/client-s3": "^3.0.0",
"@types/content-type": "^1.1.8",
"@types/mime-db": "^1.0.0",
"@types/varint": "^6.0.3",
"@vitest/coverage-v8": "^2.0.0",
"concurrently": "9.1.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"fake-indexeddb": "^6.0.0",
"mime-db": "^1.0.0",
"prettier": "3.3.3",
"prettier-plugin-jsdoc": "~1.3.0",
"publint": "~0.2.0",
"typedoc": "~0.26.0",
"typescript": "~5.6.2",
"typescript-eslint": "^8.0.0",
"vitest": "^2.0.0"
},
"peerDependencies": {
"@aws-sdk/client-s3": "^3.0.0"
},
"peerDependenciesMeta": {
"@aws-sdk/client-s3": {
"optional": true
}
},
"engines": {
"node": ">=20"
}
}