Update parcel sample to use parcel v2
parent
091f871e65
commit
32f9897bf2
@ -1,2 +1,2 @@
|
||||
dist/
|
||||
.cache
|
||||
.parcel-cache
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,17 +1,17 @@
|
||||
{
|
||||
"name": "helloworld",
|
||||
"dependencies": {},
|
||||
"scripts": {
|
||||
"simpleserver": "node ../node_modules/yaserver/bin/yaserver --root ./dist --port 9999",
|
||||
"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",
|
||||
"build-index": "parcel build src/index.html",
|
||||
"build-json": "parcel build ../node_modules/monaco-editor/esm/vs/language/json/json.worker.js --no-source-maps",
|
||||
"build-css": "parcel build ../node_modules/monaco-editor/esm/vs/language/css/css.worker.js --no-source-maps",
|
||||
"build-html": "parcel build ../node_modules/monaco-editor/esm/vs/language/html/html.worker.js --no-source-maps",
|
||||
"build-ts": "parcel build ../node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js --no-source-maps",
|
||||
"build-worker": "parcel build ../node_modules/monaco-editor/esm/vs/editor/editor.worker.js --no-source-maps"
|
||||
"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"
|
||||
},
|
||||
"devDependencies": {
|
||||
"parcel": "^1.12.4"
|
||||
"monaco-editor": "^0.30.1",
|
||||
"parcel": "^2.0.1"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue