You've already forked hugo-extended
mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2026-06-24 10:25:57 -04:00
refactor: full typescript migration (#174)
This commit is contained in:
+53
-27
@@ -3,48 +3,74 @@
|
||||
"version": "0.154.3",
|
||||
"description": "✏️ Plug-and-play binary wrapper for Hugo Extended, the awesomest static-site generator.",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/jakejarvis/hugo-extended",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jakejarvis/hugo-extended.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jakejarvis/hugo-extended/issues"
|
||||
},
|
||||
"author": {
|
||||
"name": "Jake Jarvis",
|
||||
"email": "jake@jarv.is",
|
||||
"url": "https://github.com/jakejarvis"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jakejarvis/hugo-extended.git"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts",
|
||||
"postinstall.js",
|
||||
"lib"
|
||||
],
|
||||
"bin": {
|
||||
"hugo": "lib/cli.js",
|
||||
"hugo-extended": "lib/cli.js"
|
||||
},
|
||||
"type": "module",
|
||||
"exports": "./index.js",
|
||||
"types": "./index.d.ts",
|
||||
"main": "./dist/hugo.mjs",
|
||||
"module": "./dist/hugo.mjs",
|
||||
"types": "./dist/hugo.d.mts",
|
||||
"bin": {
|
||||
"hugo": "dist/cli.mjs",
|
||||
"hugo-extended": "dist/cli.mjs"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/hugo.d.mts",
|
||||
"import": "./dist/hugo.mjs",
|
||||
"default": "./dist/hugo.mjs"
|
||||
},
|
||||
"./types": {
|
||||
"types": "./dist/generated/types.d.mts",
|
||||
"default": "./dist/generated/types.mjs"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"postinstall.js"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"dev": "tsdown --watch",
|
||||
"generate-types": "tsx scripts/generate-types.ts",
|
||||
"lint": "biome check",
|
||||
"lint:fix": "biome check --write",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
"test:unit": "vitest run tests/unit",
|
||||
"test:integration": "vitest run tests/integration",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"postinstall": "node postinstall.js",
|
||||
"prepublishOnly": "npm run generate-types && npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"adm-zip": "^0.5.16",
|
||||
"log-symbols": "^7.0.1",
|
||||
"read-package-up": "^12.0.0",
|
||||
"tar": "^7.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^2.3.11",
|
||||
"@types/adm-zip": "^0.5.7",
|
||||
"del": "^8.0.1",
|
||||
"eslint": "^9.39.2",
|
||||
"globals": "^16.5.0",
|
||||
"mocha": "^11.7.5"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "node postinstall.js",
|
||||
"test": "eslint . && mocha"
|
||||
"@types/node": "^25.0.3",
|
||||
"@types/tar": "^6.1.13",
|
||||
"@vitest/coverage-v8": "^4.0.16",
|
||||
"tinyexec": "^1.0.2",
|
||||
"tsdown": "^0.19.0-beta.3",
|
||||
"tsx": "^4.21.0",
|
||||
"typescript": "^5.9.3",
|
||||
"vitest": "^4.0.16"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.17"
|
||||
|
||||
Reference in New Issue
Block a user