-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.38 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
{
"devDependencies": {
"@jest/globals": "^29.5.0",
"jest": "^29.5.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"tspeg": "^3.2.3",
"typescript": "^5.0.4"
},
"name": "typescript-email-parser",
"description": "Parse RFC5322 emails into typed objects",
"version": "0.1.3",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"meta": "tspeg --enable-memo ./grammar/metagrammar.peg ./scratch/metagrammar.parser.ts",
"clean": "rm -rf ./dist",
"rewrite": "ts-node ./rewriter/rewriter.ts",
"gen": "tspeg --include-grammar-comment=false --regex-flags=i --enable-memo ./grammar/email.rewritten.peg ./src/email.parser.ts",
"prebuild": "npm run rewrite && npm run gen",
"test": "jest",
"test-all": "npm run prebuild && npm test",
"build": "tsc",
"prepare": "npm run clean && npm run prebuild && npm run build && npm test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/asimpletune/typescript-email-parser.git"
},
"keywords": [
"rfc5322",
"email",
"headers",
"parser",
"grammar",
"peg",
"typescript"
],
"author": "Spencer Scorcelletti <[email protected]> (https://spenc.es/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/asimpletune/typescript-email-parser/issues"
},
"homepage": "https://github.com/asimpletune/typescript-email-parser#readme"
}