feat: setup packaging

This commit is contained in:
Aravinth Manivannan 2023-09-19 04:10:21 +05:30
parent 47399c163e
commit fa1d7427ab
Signed by: realaravinth
GPG Key ID: F8F50389936984FF
1 changed files with 36 additions and 6 deletions

View File

@ -1,17 +1,47 @@
{
"author": "Aravinth Manivannan <realaravinth@batsense.net>",
"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",