Skip to content

Commit

Permalink
Upgrade ESMTK
Browse files Browse the repository at this point in the history
  • Loading branch information
evanplaice committed May 11, 2021
1 parent afae982 commit de8bb86
Show file tree
Hide file tree
Showing 9 changed files with 4,154 additions and 4,135 deletions.
7,375 changes: 3,692 additions & 3,683 deletions index.js

Large diffs are not rendered by default.

876 changes: 442 additions & 434 deletions index.min.js

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions monaco/editor.main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion monaco/workers/css.worker.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion monaco/workers/editor.worker.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion monaco/workers/html.worker.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion monaco/workers/json.worker.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions monaco/workers/ts.worker.js

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@
"scripts": {
"start": "npx live-server --no-browser --port=5500 --open=dev",
"lint": "esmtk lint",
"build": "npm run copy && npm run bundle && npm run minify",
"bundle": "esmtk bundle src/wc-monaco-editor.js index.js",
"minify": "esmtk minify src/wc-monaco-editor.js index.min.js",
"copy": "npm run cp:editor && npm run cp:font && npm run cp:workers",
"cp:editor": "cp node_modules/monaco-editor-es/editor.main.js monaco/",
"cp:font": "cp node_modules/monaco-editor-es/*.ttf monaco/",
"cp:workers": "cp -r node_modules/monaco-editor-es/workers/* monaco/workers/",
"build": "npm run build:esm && npm run build:min",
"build:esm": "esmtk bundle src/wc-monaco-editor.js index.js",
"build:min": "esmtk minify src/wc-monaco-editor.js index.min.js",
"copy": "npm run copy:editor && npm run copy:font && npm run copy:workers",
"copy:editor": "cp node_modules/monaco-editor-es/editor.main.js monaco/",
"copy:font": "cp node_modules/monaco-editor-es/*.ttf monaco/",
"copy:workers": "cp -r node_modules/monaco-editor-es/workers/* monaco/workers/",
"package": "npx rimraf package && npm pack | tail -n 1 | xargs tar -xf",
"preversion": "npm run lint",
"postversion": "git push --follow-tags"
},
"devDependencies": {
"esmtk": "^0.4.3",
"monaco-editor-es": "^0.21.2"
"esmtk": "^0.5.6",
"monaco-editor-es": "^0.21.3"
},
"standard": {
"ignore": [
Expand Down

0 comments on commit de8bb86

Please sign in to comment.