@scriptdb/server 1.0.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.
- package/README.md +407 -0
- package/dist/index.js +5678 -0
- package/package.json +58 -0
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@scriptdb/server",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "server module resolver for script database",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"dev": "bun --watch src/index.ts --watch ../dmr/src --watch ../pmr/src --watch ../vm/src --watch ../storage/src --watch ../system-modules/src",
|
|
20
|
+
"build": "bun build src/index.ts --outdir dist --target node --format esm --splitting --external '@scriptdb/*' --external bcryptjs --external bottleneck --external jsonwebtoken --external lru-cache",
|
|
21
|
+
"build:cjs": "bun build src/index.ts --outdir dist --target node --format cjs --outfile dist/index.js --external '@scriptdb/*' --external bcryptjs --external bottleneck --external jsonwebtoken --external lru-cache",
|
|
22
|
+
"build:types": "tsc --emitDeclarationOnly",
|
|
23
|
+
"build:all": "bun run build && bun run build:cjs && bun run build:types",
|
|
24
|
+
"test": "bun test",
|
|
25
|
+
"lint": "bun run lint:src",
|
|
26
|
+
"lint:src": "eslint src --ext .ts,.tsx",
|
|
27
|
+
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
28
|
+
"typecheck": "tsc --noEmit",
|
|
29
|
+
"clean": "rm -rf dist"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/bcryptjs": "^3.0.0",
|
|
33
|
+
"@types/bun": "^1.3.2",
|
|
34
|
+
"@types/jsonwebtoken": "^9.0.10",
|
|
35
|
+
"@types/lru-cache": "^7.10.10",
|
|
36
|
+
"@types/node": "^24.10.1",
|
|
37
|
+
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
38
|
+
"@typescript-eslint/parser": "^6.0.0",
|
|
39
|
+
"bun-types": "latest",
|
|
40
|
+
"eslint": "^8.0.0",
|
|
41
|
+
"typescript": "^5.0.0"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@scriptdb/client": "^1.0.0",
|
|
45
|
+
"@scriptdb/dmr": "^1.0.0",
|
|
46
|
+
"@scriptdb/pmr": "^1.0.0",
|
|
47
|
+
"@scriptdb/storage": "^1.0.0",
|
|
48
|
+
"@scriptdb/system-modules": "^1.0.0",
|
|
49
|
+
"@scriptdb/vm": "^1.0.0",
|
|
50
|
+
"@types/ws": "^8.18.1",
|
|
51
|
+
"bcryptjs": "^3.0.3",
|
|
52
|
+
"bottleneck": "^2.19.5",
|
|
53
|
+
"jsonwebtoken": "^9.0.2",
|
|
54
|
+
"lru-cache": "^11.2.2",
|
|
55
|
+
"node": "^25.2.0",
|
|
56
|
+
"ws": "^8.18.3"
|
|
57
|
+
}
|
|
58
|
+
}
|