浏览代码

halfhearted attempt to publish to npm but ES modules are conspiring against me

Michael Bolin 5 年之前
父节点
当前提交
00597d017b
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      package.json

+ 3 - 1
package.json

@@ -2,9 +2,11 @@
   "name": "monaco-tm",
   "version": "0.0.0",
   "description": "demo of wiring up Monaco to TextMate",
+  "main": "./dist/index.js",
   "type": "module",
   "scripts": {
-    "demo": "webpack-dev-server --config webpack.config.cjs --port 8084"
+    "demo": "webpack-dev-server --config webpack.config.cjs --port 8084",
+    "release": "tsc"
   },
   "dependencies": {
     "monaco-editor": "0.20.0",