feat(config): add TypeScript build and config support
This commit is contained in:
18
package.json
18
package.json
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user