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

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", "name": "forgejo-notifications-core",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": { "scripts": {
"build": "spack", "build": "spack",
"lint": "prettier --write ./src/*", "lint": "prettier --write ./src/*",
"test": "jest", "test": "jest",
"doc": "typedoc ./src/index.ts" "doc": "typedoc ./src/index.ts"
}, },
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": { "devDependencies": {
"@jest/globals": "^29.7.0", "@jest/globals": "^29.7.0",
"@swc/cli": "^0.1.62", "@swc/cli": "^0.1.62",