-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.61 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 1.61 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
64
{
"name": "fdir-server",
"version": "1.0.5",
"description": "基于 HTTP 协议实现的文件服务器,支持目录浏览和文件预览",
"keywords": [
"file-server",
"http-server",
"static-files",
"directory-listing",
"file-preview",
"nodejs"
],
"license": "ISC",
"author": "LPicker <https://github.com/LPicker>",
"homepage": "https://github.com/LPicker/fdir-server#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/LPicker/fdir-server.git"
},
"bugs": {
"url": "https://github.com/LPicker/fdir-server/issues"
},
"type": "module",
"main": "./dist/server.js",
"types": "./dist/server.d.ts",
"bin": {
"fdir": "dist/cli.js"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc && node scripts/copy-static-files.js",
"cli": "node ./dist/cli.js",
"dev": "nodemon --exec tsm src/cli.ts",
"fmt": "oxfmt",
"fmt:check": "oxfmt --check",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:headed": "playwright test --headed",
"test:all": "npm run test:run && npm run test:e2e"
},
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@playwright/test": "^1.58.2",
"@types/node": "^22.19.15",
"@vitest/coverage-v8": "^4.1.0",
"nodemon": "^3.1.14",
"oxfmt": "^0.35.0",
"oxlint": "^1.50.0",
"tsm": "^2.3.0",
"typescript": "^5.8.2",
"vitest": "^4.1.0"
}
}