lakelib 0.0.6 → 0.1.0
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 +14 -62
- package/dist/lake.css +65 -34
- package/dist/lake.min.js +9 -9
- package/dist/lake.min.js.map +1 -1
- package/lib/lake.css +65 -34
- package/lib/lake.js +60 -21
- package/lib/lake.js.map +1 -1
- package/package.json +28 -42
- package/dist/codemirror.min.js +0 -1
package/package.json
CHANGED
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lakelib",
|
|
3
|
+
"version": "0.1.0",
|
|
3
4
|
"description": "Rich text editor based on the browser",
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
"keywords": [
|
|
6
|
+
"rich text",
|
|
7
|
+
"wysiwyg",
|
|
8
|
+
"editor"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "http://lakejs.org",
|
|
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",
|
|
@@ -62,44 +46,46 @@
|
|
|
62
46
|
"@types/chai": "^4.3.14",
|
|
63
47
|
"@types/mocha": "^10.0.6",
|
|
64
48
|
"@types/sinon": "^17.0.3",
|
|
65
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
66
|
-
"@typescript-eslint/parser": "^7.
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^7.7.0",
|
|
50
|
+
"@typescript-eslint/parser": "^7.7.0",
|
|
67
51
|
"chai": "^4.4.1",
|
|
68
52
|
"eslint": "^8.57.0",
|
|
69
53
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
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.2",
|
|
73
58
|
"mocha": "^10.4.0",
|
|
74
59
|
"multer": "1.4.5-lts.1",
|
|
75
60
|
"npm-run-all": "^4.1.5",
|
|
76
61
|
"picocolors": "^1.0.0",
|
|
77
62
|
"prompts": "^2.4.2",
|
|
78
|
-
"puppeteer": "^22.6.
|
|
63
|
+
"puppeteer": "^22.6.5",
|
|
79
64
|
"rimraf": "^5.0.5",
|
|
80
|
-
"rollup": "^4.14.
|
|
65
|
+
"rollup": "^4.14.3",
|
|
81
66
|
"rollup-plugin-import-css": "^3.5.0",
|
|
82
67
|
"rollup-plugin-svg-import": "^3.0.0",
|
|
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.
|
|
88
|
-
|
|
89
|
-
"simple-git-hooks": {
|
|
90
|
-
"pre-commit": "pnpm lint"
|
|
73
|
+
"typescript": "^5.4.5",
|
|
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
|
-
"dev:rollup": "rollup --watch --config rollup.config.mjs",
|
|
97
|
-
"
|
|
98
|
-
"build
|
|
99
|
-
"build:codemirror": "rollup --config rollup.config.mjs --codemirror",
|
|
80
|
+
"dev:rollup": "rollup --watch --config rollup.config.mjs --example --test",
|
|
81
|
+
"dev:lib": "rollup --watch --config rollup.config.mjs --es",
|
|
82
|
+
"build": "rimraf ./dist ./lib && rollup --config rollup.config.mjs --iife --es",
|
|
100
83
|
"i18n": "typesafe-i18n --no-watch",
|
|
84
|
+
"sort:package": "sort-package-json",
|
|
101
85
|
"lint": "eslint . --config .eslintrc.cjs --ext \".ts,.js,.cjs,.mjs\"",
|
|
102
86
|
"test": "node ./scripts/run-tests.mjs",
|
|
87
|
+
"test:express": "node ./scripts/start-server.mjs 8081",
|
|
88
|
+
"test:rollup": "rollup --config rollup.config.mjs --test",
|
|
103
89
|
"release": "node ./scripts/release.mjs"
|
|
104
90
|
}
|
|
105
91
|
}
|