-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
74 lines (74 loc) · 2.13 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
{
"name": "edkit",
"version": "1.2.0",
"license": "LGPL-3.0",
"author": "shiy2008@gmail.com",
"contributors": [
"1101077695@qq.com"
],
"description": "Lightweight Rich Text Editor toolkit based on TypeScript",
"keywords": [
"rich-text",
"html",
"editor",
"typescript"
],
"homepage": "https://idea2app.github.io/Edkit/",
"repository": {
"type": "git",
"url": "git+https://github.com/idea2app/Edkit.git"
},
"bugs": {
"url": "https://github.com/idea2app/Edkit/issues"
},
"main": "dist/index.js",
"module": "dist/index.esm.js",
"source": "source/index.ts",
"types": "dist/index.d.ts",
"dependencies": {
"@swc/helpers": "^0.5.11",
"browser-fs-access": "^0.35.0",
"marked": "^12.0.2",
"regenerator-runtime": "^0.14.1",
"turndown": "^7.2.0",
"turndown-plugin-gfm": "^1.0.2",
"web-utility": "^4.4.0"
},
"devDependencies": {
"@parcel/packager-ts": "~2.12.0",
"@parcel/transformer-typescript-types": "~2.12.0",
"@types/turndown": "^5.0.4",
"husky": "^9.0.11",
"lint-staged": "^15.2.5",
"open-cli": "^8.0.0",
"parcel": "~2.12.0",
"prettier": "^3.3.1",
"typedoc": "^0.25.13",
"typedoc-plugin-mdn-links": "^3.1.29",
"typescript": "~5.4.5"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4
},
"lint-staged": {
"*.{html,md,less,json,yml,js,ts,tsx}": "prettier --write"
},
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
"targets": {
"main": {
"optimize": true
}
},
"scripts": {
"prepare": "husky",
"test": "lint-staged",
"pack-dist": "rm -rf dist/ && parcel build",
"pack-docs": "rm -rf docs/ && typedoc source/",
"build": "npm run pack-dist && npm run pack-docs",
"help": "npm run pack-docs && open-cli docs/index.html",
"prepublishOnly": "npm test && npm run build"
}
}