refactor: js output

This commit is contained in:
Tiara Rodney 2026-03-15 05:11:59 +01:00
parent 1aa28c2a34
commit c6704c3a04
No known key found for this signature in database
GPG key ID: 5CD8EC1D46106723
96 changed files with 3816 additions and 147 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@byteb4rb1e/mime-todo",
"version": "0.2.0",
"version": "0.3.0",
"description": "CLI for the MIME TODO issue tracker specification with Bugzilla integration",
"author": "Tiara Rodney <me@tiararodney.com>",
"license": "CC-BY-ND-4.0",
@ -22,28 +22,39 @@
"gitflow"
],
"bin": {
"todo": "./bin/main.ts",
"bugzilla": "./bin/bugzilla.ts"
"mime-todo": "./bin/main.js",
"bugzilla": "./bin/bugzilla.js"
},
"main": "lib/file.ts",
"main": "lib/file.js",
"files": [
"bin/",
"bin/*.js",
"lib/",
"README.md"
"README.md",
"LICENSE"
],
"scripts": {
"todo": "tsx bin/main.ts",
"build:bin": "tsc -p tsconfig.bin.json",
"build:lib": "tsc -p tsconfig.lib.json && cp src/file.schema.json lib/",
"build": "npm run build:lib && npm run build:bin",
"mime-todo": "tsx bin/main.ts",
"bugzilla": "tsx bin/bugzilla.ts",
"test": "vitest run"
"test": "vitest run",
"test-reports/unit": "vitest run"
},
"dependencies": {
"ajv": "^8.17.1",
"mailparser": "^3.9.3",
"tsx": "^3.7.0",
"yargs": "^18.0.0"
},
"devDependencies": {
"@eslint/js": "^9.24.0",
"@types/mailparser": "^3.4.5",
"@types/node": "^22.14.1",
"@types/yargs": "^17.0.35",
"eslint": "^9.25.1",
"tsx": "^3.7.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.31.0",
"vitest": "^4.0.18"
},
"engines": {