feat(config): add TypeScript build and config support

This commit is contained in:
2026-04-27 08:53:17 -04:00
parent 2f83fa3117
commit 6b3ec32b3a
12 changed files with 1043 additions and 127 deletions

View File

@@ -3,13 +3,14 @@
"version": "1.0.0",
"description": "",
"type": "module",
"main": "src/index.js",
"main": "dist/src/index.js",
"bin": {
"glimpse": "./src/index.js"
"glimpse": "./dist/src/index.js"
},
"scripts": {
"lint": "oxlint --ignore-pattern node_modules --ignore-pattern .direnv .",
"start": "node src/index.js",
"build": "tsc && chmod +x dist/src/index.js",
"lint": "oxlint --ignore-pattern node_modules --ignore-pattern .direnv --ignore-pattern dist . && tsc --noEmit",
"start": "tsx src/index.ts",
"test": "node test/smoke.js",
"test:smoke": "node test/smoke.js",
"test:list": "node test/smoke.js --list",
@@ -23,10 +24,17 @@
},
"keywords": [],
"author": "",
"license": "ISC",
"license": "MIT",
"dependencies": {
"oxlint": "^1.61.0",
"selenium-webdriver": "^4.43.0",
"turndown": "^7.2.4"
},
"devDependencies": {
"@types/node": "^25.6.0",
"@types/selenium-webdriver": "^4.35.5",
"@types/turndown": "^5.0.6",
"tsx": "^4.21.0",
"typescript": "^6.0.3"
}
}