-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
89 lines (89 loc) · 2.64 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
{
"name": "@apeleghq/multipart-parser",
"version": "1.0.15",
"description": "TypeScript streaming parser for MIME multipart messages",
"main": "dist/index.cjs",
"types": "./dist/index.d.cts",
"module": "./dist/index.mjs",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./encodeMultipartMessage": {
"import": {
"types": "./dist/exports/encodeMultipartMessage.d.ts",
"default": "./dist/encodeMultipartMessage.mjs"
},
"require": {
"types": "./dist/exports/encodeMultipartMessage.d.cts",
"default": "./dist/encodeMultipartMessage.cjs"
}
},
"./parseMessage": {
"import": {
"types": "./dist/exports/parseMessage.d.ts",
"default": "./dist/parseMessage.mjs"
},
"require": {
"types": "./dist/exports/parseMessage.d.cts",
"default": "./dist/parseMessage.cjs"
}
},
"./parseMultipartMessage": {
"import": {
"types": "./dist/exports/parseMultipartMessage.d.ts",
"default": "./dist/parseMultipartMessage.mjs"
},
"require": {
"types": "./dist/exports/parseMultipartMessage.d.cts",
"default": "./dist/parseMultipartMessage.cjs"
}
}
},
"files": [
"dist/**/*"
],
"scripts": {
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"ts:declaration":"tsc --build --emitDeclarationOnly --declarationMap --declaration",
"build": "npm run ts:declaration && node esbuild.mjs",
"test": "node --loader ts-node/esm test/encodeMultipartMessage.test.ts && node --loader ts-node/esm test/parseMultipartMessage.test.ts",
"prepack": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run lint && git add -A src",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ApelegHQ/ts-multipart-parser.git"
},
"engines": {
"npm": ">=8.0.0",
"node": ">=16.0.0"
},
"author": "Apeleg Limited",
"license": "ISC",
"keywords": ["form-data", "formdata", "mime", "mime", "multipart", "multipart/form-data", "multipart/mixed", "multipart/related", "parser", "rfc2046", "rfc2388", "rfc7568"],
"devDependencies": {
"@types/node": "^22.5.4",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"esbuild": "^0.23.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"typescript": "^5.6.2"
}
}