ts-npm-package-template/package.json

92 lines
2.6 KiB
JSON

{
"name": "templ8-lib-tsup",
"version": "0.0.1",
"type": "module",
"description": "",
"repository": {
"type": "git",
"url": "git+https://git.mattmor.in/web/TS-Lib-tsup.git"
},
"homepage": "https://www.mattmor.in/projects/TS-Lib-tsup",
"bugs": {
"url": "https://git.mattmor.in/web/TS-Lib-tsup/issues"
},
"author": "Madmin42",
"license": "GPL-3.0-or-later",
"engines": {
"node": ">=16.0.0"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./distindex.cjs"
}
}
},
"types": "./dist/index.d.ts",
"files": [
"./dist/**/*"
],
"keywords": [
"template",
"yo"
],
"scripts": {
"build": "run-s lint clean build:start",
"build:start": "tsup ./src/index.ts --format cjs,esm,iife --dts",
"build:types-check": "tsc --project tsconfig.check.json",
"build:types-temp": "tsup --dts-only --outDir temp -p src/node",
"clean": "rimraf ./dist",
"cm": "cz",
"format": "prettier --write --cache",
"format:check": "prettier --check .",
"lint": "eslint --fix",
"lint:check": "eslint --cache",
"prepare": "husky",
"test": "jest --coverage",
"test:watch": "jest --watch",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"@eslint/js": "^9.4.0",
"@prettier/plugin-pug": "^3.0.0",
"@types/jest": "^29.5.12",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.4.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-svelte": "^2.39.0",
"globals": "^15.3.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.5",
"npm-run-all": "^4.1.5",
"prettier": "3.2.5",
"prettier-plugin-pkg": "^0.18.1",
"prettier-plugin-svelte": "^3.2.3",
"rimraf": "^5.0.7",
"semantic-release": "^24.0.0",
"svelte": "^4.2.17",
"ts-jest": "^29.1.4",
"ts-node": "^10.9.2",
"tsup": "^8.1.0",
"typescript": "^5.4.5",
"typescript-eslint": "^7.12.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}