forked from MQpeng/eml-parse-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
121 lines (121 loc) · 3.07 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "eml-parse-js",
"version": "1.1.14",
"description": "format EML file in browser env",
"main": "./lib/bundle.umd.js",
"module": "./lib/bundle.esm.js",
"es2015": "./lib/bundle.esm.js",
"esm5": "./lib/bundle.esm.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"node": "./lib/bundle.cjs.js",
"require": "./lib/bundle.cjs.js",
"es2015": "./lib/bundle.esm.js",
"default": "./lib/bundle.esm.js"
}
},
"scripts": {
"build": "tsc",
"build:es": "tsc -p ./tsconfig.es2015.json",
"build:umd": "tsc -p ./tsconfig.umd.json",
"build:amd": "tsc -p ./tsconfig.amd.json",
"build:ts": "npm run clean:dist && npm run build && npm run build:es -- --declaration false && npm run build:umd -- --declaration false && npm run build:amd",
"build:rollup": "rollup --config",
"build:publish": "npm run clean:dist && npm run build && npm run build:rollup",
"clean:dist": "rimraf dist",
"eslint:init": "eslint --init",
"lint:ci": "eslint --ext .ts src/",
"lint": "eslint --fix --ext .ts src/",
"link:lib": "rimraf node_modules/eml-format-js && linklocal",
"prettier": "prettier --parser typescript --write src/*ts && npm run lint",
"prepublishOnly": "npm run prettier && npm run build:publish && npm run test",
"test": "mocha --reporter spec",
"ci": "npm install"
},
"files": [
"dist/index.d.ts",
"dist/charset.d.ts",
"dist/utils.d.ts",
"dist/interface.d.ts",
"dist/addressparser.d.ts",
"src",
"lib",
"LICENSE"
],
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/MQpeng/eml-parse-js"
},
"keywords": [
"eml",
"eml-parse",
"eml-format-js",
"eml-parse-js",
"typescript"
],
"author": "bean",
"license": "MIT",
"bugs": {
"url": "https://github.com/MQpeng/eml-parse-js/issues"
},
"homepage": "https://github.com/MQpeng/eml-parse-js#readme",
"contributors": [
{
"name" : "Charlie Harding",
"url" : "https://github.com/c-harding"
},
{
"name" : "Pádraig Weeks",
"url" : "https://github.com/pmweeks98"
},
{
"name" : "Thomas Oeser",
"url" : "https://github.com/thomasoeser"
},
{
"name" : "Robert Scheinpflug",
"url" : "https://github.com/neversun"
},
{
"name" : "Bean Q",
"url" : "https://github.com/MQpeng"
}
],
"devDependencies": {
"@types/node": "^17.0.21",
"@types/ramda": "^0.26.36",
"@typescript-eslint/eslint-plugin": "^2.11.0",
"@typescript-eslint/parser": "^2.11.0",
"chai": "^4.2.0",
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.1.1",
"linklocal": "^2.8.2",
"lint-staged": "^10.5.3",
"mocha": "^6.2.2",
"prettier": "1.19.1",
"rimraf": "^3.0.0",
"rollup": "^1.27.12",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"typescript": "^3.7.3"
},
"dependencies": {
"@sinonjs/text-encoding": "^0.7.2",
"js-base64": "^3.7.2"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"src/**/*.ts": [
"npm run lint",
"prettier --parser typescript --write",
"git add"
]
}
}