monaco-editor/samples/browser-esm-parcel/package.json

18 lines
1.0 KiB
JSON
Raw Normal View History

2018-03-15 08:11:10 +08:00
{
2020-09-02 23:35:10 +08:00
"name": "helloworld",
"scripts": {
"simpleserver": "node ../node_modules/yaserver/bin/yaserver --root ./dist --port 9999",
2020-09-02 23:35:10 +08:00
"build": "npm run build-index && npm run build-json && npm run build-css && npm run build-html && npm run build-ts && npm run build-worker",
2021-11-17 05:21:12 +08:00
"build-index": "parcel build src/index.html --no-optimize",
"build-json": "parcel build node_modules/monaco-editor/esm/vs/language/json/json.worker.js --no-source-maps --no-optimize",
"build-css": "parcel build node_modules/monaco-editor/esm/vs/language/css/css.worker.js --no-source-maps --no-optimize",
"build-html": "parcel build node_modules/monaco-editor/esm/vs/language/html/html.worker.js --no-source-maps --no-optimize",
"build-ts": "parcel build node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js --no-source-maps --no-optimize",
"build-worker": "parcel build node_modules/monaco-editor/esm/vs/editor/editor.worker.js --no-source-maps --no-optimize"
2020-09-02 23:35:10 +08:00
},
"devDependencies": {
2021-11-17 05:21:12 +08:00
"monaco-editor": "^0.30.1",
"parcel": "^2.0.1"
2020-09-02 23:35:10 +08:00
}
2018-03-15 08:11:10 +08:00
}