Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.68 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 1.68 KB
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
{
"name": "@itxtech/fd-server",
"version": "3.3.0",
"description": "FlashDetector-compatible HTTP server for fdnext",
"license": "AGPL-3.0-or-later",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"ecosystem.config.cjs",
"wrangler.jsonc",
"dist/**/*.js",
"dist/**/*.d.ts"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./worker": {
"types": "./dist/worker.d.ts",
"default": "./dist/worker.js"
}
},
"bin": {
"fd-server": "dist/bin.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/iTXTech/fdnext.git",
"directory": "packages/fd-server"
},
"homepage": "https://github.com/iTXTech/fdnext/tree/master/packages/fd-server",
"bugs": {
"url": "https://github.com/iTXTech/fdnext/issues"
},
"keywords": [
"fdnext",
"flashdetector",
"fdwebserver",
"server",
"node-http",
"flash",
"nand"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@itxtech/fdnext-core": "workspace:*"
},
"scripts": {
"build": "rm -rf dist tsconfig.tsbuildinfo && tsc -b --emitDeclarationOnly && tsdown",
"dev": "tsx src/bin.ts",
"start": "node dist/bin.js",
"test": "node --import tsx --test test/*.test.ts",
"typecheck": "tsc -b --pretty false --emitDeclarationOnly",
"worker:dev": "wrangler dev --config wrangler.jsonc",
"worker:deploy": "wrangler deploy --config wrangler.jsonc",
"worker:deploy:dry-run": "wrangler deploy --dry-run --outdir ../../.wrangler-bundle/fd-server --config wrangler.jsonc"
}
}