57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
|
{
|
||
|
"name": "templ8-lib-tsup",
|
||
|
"author": "Madmin42",
|
||
|
"version": "0.0.1",
|
||
|
"description": "",
|
||
|
"keywords": [
|
||
|
"template",
|
||
|
"yo"
|
||
|
],
|
||
|
"license": "GPL-3.0-or-later",
|
||
|
"homepage": "https://www.mattmor.in/projects/TS-Lib-tsup",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://git.mattmor.in/web/TS-Lib-tsup.git"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://git.mattmor.in/web/TS-Lib-tsup/issues"
|
||
|
},
|
||
|
"type": "module",
|
||
|
"types": "./dist/index.d.ts",
|
||
|
"main": "./dist/index.js",
|
||
|
"files": [
|
||
|
"./dist/**/*"
|
||
|
],
|
||
|
"module": "./dist/index.js",
|
||
|
"exports": {
|
||
|
".": {
|
||
|
"import": {
|
||
|
"types": "./dist/index.d.ts",
|
||
|
"default": "./dist/index.js"
|
||
|
},
|
||
|
"require": {
|
||
|
"types": "./dist/index.d.ts",
|
||
|
"default": "./distindex.cjs"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"scripts": {
|
||
|
"clean": "rimraf ./dist",
|
||
|
"build": "npm run lint && npm run clean && npm run build:start",
|
||
|
"build:start": "tsup ./src/index.ts --format cjs,esm,iife --dts",
|
||
|
"build:types-temp": "tsup --dts-only --outDir temp -p src/node",
|
||
|
"build:types-check": "tsc --project tsconfig.check.json",
|
||
|
"typecheck": "tsc --noEmit",
|
||
|
"lint": "eslint --cache --ext .ts src/**",
|
||
|
"format": "prettier --write --cache --parser typescript \"src/**/*.ts\""
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"cz-conventional-changelog": "^3.3.0"
|
||
|
},
|
||
|
"config": {
|
||
|
"commitizen": {
|
||
|
"path": "./node_modules/cz-conventional-changelog"
|
||
|
}
|
||
|
}
|
||
|
}
|