Añadir package.json

This commit is contained in:
2026-05-09 13:16:39 +02:00
parent 6cf1a7a2b8
commit 9cb6248ed0

39
package.json Normal file
View File

@@ -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"
}
}