weml-monaco 0.3.2 → 0.3.3
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/CHANGELOG.md +97 -97
- package/README.md +139 -139
- package/dist/weml-monaco.esm.js.map +1 -1
- package/dist/weml-monaco.js.map +1 -1
- package/package.json +43 -42
package/package.json
CHANGED
|
@@ -1,42 +1,43 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "weml-monaco",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"description": "WEML (White Estate Markup Language) language support for the Monaco editor: syntax highlighting, autocomplete, hover docs, structure diagnostics, outline and canonical formatting.",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/Burjuy/weml-language-vscode-extension.git",
|
|
9
|
-
"directory": "monaco-editor"
|
|
10
|
-
},
|
|
11
|
-
"main": "dist/weml-monaco.js",
|
|
12
|
-
"module": "dist/weml-monaco.esm.js",
|
|
13
|
-
"types": "dist/index.d.ts",
|
|
14
|
-
"files": [
|
|
15
|
-
"dist",
|
|
16
|
-
"README.md",
|
|
17
|
-
"CHANGELOG.md"
|
|
18
|
-
],
|
|
19
|
-
"scripts": {
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"build:
|
|
23
|
-
"build:
|
|
24
|
-
"build": "
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "weml-monaco",
|
|
3
|
+
"version": "0.3.3",
|
|
4
|
+
"description": "WEML (White Estate Markup Language) language support for the Monaco editor: syntax highlighting, autocomplete, hover docs, structure diagnostics, outline and canonical formatting.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/Burjuy/weml-language-vscode-extension.git",
|
|
9
|
+
"directory": "monaco-editor"
|
|
10
|
+
},
|
|
11
|
+
"main": "dist/weml-monaco.js",
|
|
12
|
+
"module": "dist/weml-monaco.esm.js",
|
|
13
|
+
"types": "dist/index.d.ts",
|
|
14
|
+
"files": [
|
|
15
|
+
"dist",
|
|
16
|
+
"README.md",
|
|
17
|
+
"CHANGELOG.md"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"prepublishOnly": "node -e \"if (!process.env.CI) { console.error('\\n weml-monaco is published from CI only (.github/workflows/publish-weml-monaco.yml).\\n Bump the version and push to main instead.\\n'); process.exit(1); }\"",
|
|
21
|
+
"typecheck": "tsc -p ./ --noEmit",
|
|
22
|
+
"build:lib": "esbuild src/index.ts --bundle --format=iife --global-name=WemlMonaco --external:fs --external:crypto --outfile=dist/weml-monaco.js --sourcemap",
|
|
23
|
+
"build:esm": "esbuild src/index.ts --bundle --format=esm --external:fs --external:crypto --outfile=dist/weml-monaco.esm.js --sourcemap",
|
|
24
|
+
"build:types": "tsc -p ./ --emitDeclarationOnly --declaration --outDir dist",
|
|
25
|
+
"build": "npm run build:lib && npm run build:esm && npm run build:types",
|
|
26
|
+
"pack:local": "npm run build && node -e \"const fs = require('fs'); if (!fs.existsSync('pack')) fs.mkdirSync('pack');\" && npm pack --pack-destination=pack",
|
|
27
|
+
"demo": "esbuild src/index.ts --bundle --format=iife --global-name=WemlMonaco --external:fs --external:crypto --outfile=demo/weml-monaco.js --sourcemap && echo Open demo/index.html",
|
|
28
|
+
"pretest": "npm run build:lib && npm run build:esm",
|
|
29
|
+
"test": "node test/smoke.mjs"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"node-html-parser": "^6.1.13",
|
|
33
|
+
"vscode-html-languageservice": "^5.2.0"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"esbuild": "^0.21.0",
|
|
37
|
+
"monaco-editor": "^0.45.0",
|
|
38
|
+
"typescript": "^5.4.0"
|
|
39
|
+
},
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"monaco-editor": ">=0.34.0"
|
|
42
|
+
}
|
|
43
|
+
}
|