lakelib 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -22
- package/dist/lake.css +50 -25
- package/dist/lake.min.js +7 -7
- package/dist/lake.min.js.map +1 -1
- package/lib/lake.css +50 -25
- package/lib/lake.js +11 -4
- package/lib/lake.js.map +1 -1
- package/package.json +21 -36
- package/dist/codemirror.min.js +0 -1
package/package.json
CHANGED
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lakelib",
|
|
3
|
+
"version": "0.0.7",
|
|
3
4
|
"description": "Rich text editor based on the browser",
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
"keywords": [
|
|
6
|
+
"rich text",
|
|
7
|
+
"wysiwyg",
|
|
8
|
+
"editor"
|
|
9
|
+
],
|
|
7
10
|
"homepage": "http://lakejs.com",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/lakejs/lake/issues"
|
|
13
|
+
},
|
|
8
14
|
"repository": {
|
|
9
15
|
"type": "git",
|
|
10
16
|
"url": "git+https://github.com/lakejs/lake.git"
|
|
11
17
|
},
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"author": "Luo Longhao <luolonghao@gmail.com>",
|
|
12
20
|
"main": "./lib/lake.js",
|
|
13
21
|
"types": "./lib/types/index.d.ts",
|
|
14
22
|
"files": [
|
|
15
23
|
"dist",
|
|
16
24
|
"lib"
|
|
17
25
|
],
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"wysiwyg",
|
|
21
|
-
"editor"
|
|
22
|
-
],
|
|
23
|
-
"bugs": {
|
|
24
|
-
"url": "https://github.com/lakejs/lake/issues"
|
|
26
|
+
"simple-git-hooks": {
|
|
27
|
+
"pre-commit": "pnpm sort:package && pnpm lint"
|
|
25
28
|
},
|
|
26
29
|
"dependencies": {
|
|
27
30
|
"@types/blueimp-md5": "^2.18.2",
|
|
@@ -35,25 +38,6 @@
|
|
|
35
38
|
"typesafe-i18n": "^5.26.2"
|
|
36
39
|
},
|
|
37
40
|
"devDependencies": {
|
|
38
|
-
"@codemirror/commands": "^6.3.3",
|
|
39
|
-
"@codemirror/lang-cpp": "^6.0.2",
|
|
40
|
-
"@codemirror/lang-css": "^6.2.1",
|
|
41
|
-
"@codemirror/lang-go": "^6.0.0",
|
|
42
|
-
"@codemirror/lang-html": "^6.4.8",
|
|
43
|
-
"@codemirror/lang-java": "^6.0.1",
|
|
44
|
-
"@codemirror/lang-javascript": "^6.2.2",
|
|
45
|
-
"@codemirror/lang-json": "^6.0.1",
|
|
46
|
-
"@codemirror/lang-markdown": "^6.2.4",
|
|
47
|
-
"@codemirror/lang-php": "^6.0.1",
|
|
48
|
-
"@codemirror/lang-python": "^6.1.5",
|
|
49
|
-
"@codemirror/lang-rust": "^6.0.1",
|
|
50
|
-
"@codemirror/lang-sql": "^6.6.3",
|
|
51
|
-
"@codemirror/lang-xml": "^6.1.0",
|
|
52
|
-
"@codemirror/lang-yaml": "^6.1.0",
|
|
53
|
-
"@codemirror/language": "^6.10.1",
|
|
54
|
-
"@codemirror/state": "^6.4.1",
|
|
55
|
-
"@codemirror/view": "^6.26.1",
|
|
56
|
-
"@lezer/highlight": "^1.2.0",
|
|
57
41
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
58
42
|
"@rollup/plugin-json": "^6.1.0",
|
|
59
43
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
@@ -70,6 +54,7 @@
|
|
|
70
54
|
"eslint-config-prettier": "^9.1.0",
|
|
71
55
|
"execa": "^8.0.1",
|
|
72
56
|
"express": "^4.19.2",
|
|
57
|
+
"lake-codemirror": "^1.0.0",
|
|
73
58
|
"mocha": "^10.4.0",
|
|
74
59
|
"multer": "1.4.5-lts.1",
|
|
75
60
|
"npm-run-all": "^4.1.5",
|
|
@@ -83,23 +68,23 @@
|
|
|
83
68
|
"semver": "^7.6.0",
|
|
84
69
|
"simple-git-hooks": "^2.11.1",
|
|
85
70
|
"sinon": "^17.0.1",
|
|
71
|
+
"sort-package-json": "^2.10.0",
|
|
86
72
|
"tslib": "^2.6.2",
|
|
87
|
-
"typescript": "^5.4.4"
|
|
88
|
-
|
|
89
|
-
"simple-git-hooks": {
|
|
90
|
-
"pre-commit": "pnpm lint"
|
|
73
|
+
"typescript": "^5.4.4",
|
|
74
|
+
"wait-on": "^7.2.0"
|
|
91
75
|
},
|
|
92
76
|
"packageManager": "pnpm@8.15.6",
|
|
93
77
|
"scripts": {
|
|
94
78
|
"dev": "npm-run-all --parallel --print-label dev:express dev:rollup",
|
|
95
79
|
"dev:express": "node ./scripts/start-server.mjs",
|
|
96
80
|
"dev:rollup": "rollup --watch --config rollup.config.mjs",
|
|
97
|
-
"build": "rimraf ./dist ./lib &&
|
|
98
|
-
"build:lake": "rollup --config rollup.config.mjs",
|
|
99
|
-
"build:codemirror": "rollup --config rollup.config.mjs --codemirror",
|
|
81
|
+
"build": "rimraf ./dist ./lib && rollup --config rollup.config.mjs",
|
|
100
82
|
"i18n": "typesafe-i18n --no-watch",
|
|
83
|
+
"sort:package": "sort-package-json",
|
|
101
84
|
"lint": "eslint . --config .eslintrc.cjs --ext \".ts,.js,.cjs,.mjs\"",
|
|
102
85
|
"test": "node ./scripts/run-tests.mjs",
|
|
86
|
+
"test:express": "node ./scripts/start-server.mjs 8081",
|
|
87
|
+
"test:rollup": "rollup --config rollup.config.mjs --test",
|
|
103
88
|
"release": "node ./scripts/release.mjs"
|
|
104
89
|
}
|
|
105
90
|
}
|