Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 1.65 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 1.65 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
65
66
67
68
69
70
71
72
{
"name": "@electerm/ftp-srv",
"version": "1.1.0",
"description": "Modern, extensible FTP Server (TypeScript version)",
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc --project tsconfig.esm.json && node scripts/fix-esm.mjs",
"build:cjs": "rm -rf dist/cjs && tsc --project tsconfig.cjs.json && node scripts/fix-cjs.mjs",
"dev": "tsc --watch --project tsconfig.esm.json",
"test": "vitest run",
"test:watch": "vitest",
"test:integration": "cd integration && node --test test-cjs.js test-esm.js",
"lint": "tsc --noEmit",
"prepublishOnly": "npm run build",
"pub": "npm publish --access public"
},
"keywords": [
"ftp",
"ftp-server",
"ftp-srv",
"ftp-svr",
"ftpd",
"ftpserver",
"server",
"typescript",
"esm",
"cjs",
"electerm"
],
"license": "MIT",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"default": "./dist/cjs/index.js"
}
}
},
"bin": {
"electermftpsrv": "bin/index.cjs"
},
"files": [
"dist",
"bin",
"LICENSE",
"README.md",
"README.zh.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/electerm/ftp-srv.git"
},
"dependencies": {
"commander": "^14.0.3"
},
"devDependencies": {
"@icetee/ftp": "^1.0.8",
"@types/node": "^22.10.5",
"typescript": "^5.7.2",
"vitest": "^3.0.0"
},
"engines": {
"node": ">=16"
}
}