diff --git a/package.json b/package.json new file mode 100644 index 0000000..a9f9e1a --- /dev/null +++ b/package.json @@ -0,0 +1,39 @@ +{ + "name": "sigpro-editor", + "version": "1.2.0", + "description": "Lightweight js editor for sigpro", + "type": "module", + "main": "./dist/sigpro-editor.esm.min.js", + "module": "./dist/sigpro-editor.esm.min.js", + "types": "./index.d.ts", + "files": [ + "dist", + "index.d.ts" + ], + "scripts": { + "clean": "rm -rf dist", + "build:esm": "bun build ./src/sigpro-editor.js --bundle --external sigpro --outfile=./dist/sigpro-editor.esm.js --format=esm", + "build:esm:min": "bun build ./src/sigpro-editor.js --bundle --external sigpro --outfile=./dist/sigpro-editor.esm.min.js --format=esm --minify", + "build": "bun run clean && bun run build:esm && bun run build:esm:min", + "prepublishOnly": "npm run build" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/natxocc/sigpro-editor.git" + }, + "bugs": { + "url": "https://github.com/natxocc/sigpro-editor/issues" + }, + "keywords": [ + "sigpro", + "editor", + "tiny", + "js", + "lightweight" + ], + "author": "natxocc", + "license": "MIT", + "dependencies": { + "sigpro": "git+http://gitea:3000/natxocc/sigpro" + } +} \ No newline at end of file