-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
77 lines (77 loc) · 3.14 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
75
76
77
{
"name": "nr-monaco-build",
"version": "0.52.0",
"description": "A wrapper to generate an es6 monaco editor with i18n, specifically developed for node-red",
"private": true,
"main": "index.js",
"scripts": {
"build": "npm run update-types && npm run generate && npm run generate-themes && npm run pack",
"build-dev": "npm run update-types && npm run generate && npm run generate-themes && npm run pack-dev",
"copy": "npm run copyCheck1 && npm run copyCheck1 && npm run copyPrep1 && npm run copyPrep2 && npm run copyPrep3 && npm run copyAct1 && npm run copyAct2",
"all": "npm run clean && npm run build && npm run copy",
"all-dev": "npm run clean && npm run build-dev && npm run copy",
"clean": "rm -r -f output && rm -r -f temp",
"generate": "node generate-monaco-esm-i18n.js",
"generate-themes": "node generate-themes.js",
"update-types": "node update-types.js",
"pack": "npx webpack",
"pack-dev": "npx webpack --mode development",
"demo": "npx http-server -p 8080 -c-1 -o demo.html",
"generate-extraLibs": "node generate-extraLibs.js",
"copyCheck1": "test -d output/monaco/dist",
"copyCheck2": "test -d ../node-red/packages/node_modules/@node-red/editor-client/src",
"copyPrep1": "rm -rf ../node-red/packages/node_modules/@node-red/editor-client/src/vendor/monaco/dist/*",
"copyPrep2": "rm -rf ../node-red/packages/node_modules/@node-red/editor-client/src/types/node/*",
"copyPrep3": "rm -rf ../node-red/packages/node_modules/@node-red/editor-client/src/types/node-red/*",
"copyAct1": "cp -r output/monaco/dist ../node-red/packages/node_modules/@node-red/editor-client/src/vendor/monaco/",
"copyAct2": "cp -r output/types ../node-red/packages/node_modules/@node-red/editor-client/src"
},
"keywords": [
"monaco",
"node-red"
],
"author": "steve-mcl",
"license": "Apache-2.0",
"devDependencies": {
"@types/node": "^18.11.9",
"copy-webpack-plugin": "^10.2.4",
"css-loader": "^6.7.1",
"dts-minify": "^0.3.3",
"git-pull-or-clone": "^2.0.2",
"glob": "^10.2.6",
"insane": "^2.6.2",
"mkdirp": "^3.0.1",
"monaco-editor": "0.52.0",
"monaco-editor-webpack-plugin": "^7.1.0",
"monaco-themes": "^0.4.4",
"ncp": "^2.0.0",
"read-package-json": "^7.0.1",
"recursive-readdir": "^2.2.3",
"replace-in-file": "^6.3.2",
"rimraf": "^5.0.5",
"style-loader": "^3.3.3",
"typedoc": "^0.26.10",
"typescript": "^5.6.3",
"url-loader": "^4.1.1",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4"
},
"browserslist": [
"> 1%",
"last 2 versions"
],
"staticFiles": {
"staticPath": [
{
"outDirPattern": "**/dist",
"staticPath": "theme",
"staticOutDir": "theme"
},
{
"outDirPattern": "**/dist-legacy",
"staticPath": "theme",
"staticOutDir": "theme"
}
]
}
}