Explorar el Código

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

Michael Bolin hace 5 años
padre
commit
00597d017b
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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",