-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.56 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 2.56 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "edkit",
"version": "1.3.1",
"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",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",
"require": "./dist/index.js"
},
"workspaces": [
"React",
"WebCell",
"React/test",
"WebCell/test"
],
"dependencies": {
"@swc/helpers": "^0.5.23",
"@types/turndown": "^5.0.6",
"browser-fs-access": "^0.38.0",
"marked": ">=4.0.10",
"regenerator-runtime": "^0.14.1",
"turndown": "^7.2.4",
"turndown-plugin-gfm": "^1.0.2",
"web-utility": "^4.7.2"
},
"devDependencies": {
"@parcel/packager-ts": "~2.16.4",
"@parcel/transformer-typescript-types": "~2.16.4",
"husky": "^9.1.7",
"lint-staged": "^17.0.8",
"open-cli": "^9.0.0",
"parcel": "~2.16.4",
"prettier": "^3.9.5",
"typedoc": "^0.28.20",
"typedoc-plugin-mdn-links": "^5.1.1",
"typescript": "~5.9.3"
},
"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 --no-cache",
"pack-docs": "rm -rf docs/ && typedoc source/",
"pack-wrappers": "npm run -C WebCell build && npm run -C React build",
"build": "npm run pack-dist && npm run pack-docs && npm run pack-wrappers",
"start": "npm run pack-docs && open-cli docs/index.html",
"prepublishOnly": "npm test && npm run build",
"publish-wrappers": "sh publish-wrappers.sh WebCell React"
}
}