From fa1d7427abc1c9deb229d982f3047f23ba5ac99d Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Tue, 19 Sep 2023 04:10:21 +0530 Subject: [PATCH] feat: setup packaging --- package.json | 42 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a3c19c5..b7ac474 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,47 @@ { + "author": "Aravinth Manivannan ", + "description": "JS library to interact with Forgejo API to work with notification", + "version": "0.1.0-alpha-1", + "license": "AGPL-3.0-or-later", + "type": "module", + "web": "dist/web.js", + "module": "dist/web.js", + "main": "dist/web.js", + "keywords": [ + "Forgejo", + "ForgeFlux" + ], + "homepage": "https://forgejo-notifications-core.docs.forgeflux.org/", + "files": [ + "dist/", + "package.json", + "pnpm-lock.yaml" + ], + "bugs": { + "url": "https://git.batsense.net/realaravinth/forgejo-notifications-core/issues", + "email": "realaravinth@batsense.net" + }, + "funding": [ + { + "type": "individual", + "url": "http://batsense.net/donate" + }, + { + "type": "liberapay", + "url": "https://liberapay.com/realaravinth" + } + ], + "repository": { + "type": "git", + "url": "https://git.batsense.net/realaravinth/forgejo-notifications-core/" + }, "name": "forgejo-notifications-core", - "version": "1.0.0", - "description": "", - "main": "index.js", "scripts": { "build": "spack", "lint": "prettier --write ./src/*", "test": "jest", "doc": "typedoc ./src/index.ts" }, - "keywords": [], - "author": "", - "license": "ISC", "devDependencies": { "@jest/globals": "^29.7.0", "@swc/cli": "^0.1.62",