Añadir package.json
This commit is contained in:
39
package.json
Normal file
39
package.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user