chore(developer): kmc-model no longer needs to bundle a .cjs version for input-processor

This commit is contained in:
Joshua A. Horton 2023-06-14 10:15:56 +07:00
parent 7e5de4e8dd
commit f35ba0973e

View file

@ -16,8 +16,7 @@
"/build/src/"
],
"scripts": {
"build": "tsc -b && npm run build-cjs",
"build-cjs": "esbuild build/src/lexical-model-compiler.js --bundle --platform=node --external:../../node_modules/* > build/cjs-src/lexical-model-compiler.cjs",
"build": "tsc -b",
"lint": "eslint .",
"test": "npm run lint && cd test && tsc -b && cd .. && c8 --reporter=lcov --reporter=text mocha",
"prepublishOnly": "npm run build"