all scripts

This commit is contained in:
Matthieu Morin 2024-06-04 00:00:29 +02:00
parent 48fc2d8b8f
commit 0cb4344bac
1 changed files with 92 additions and 53 deletions

View File

@ -1,27 +1,22 @@
{
"name": "templ8-lib-tsup",
"author": "Madmin42",
"version": "0.0.1",
"type": "module",
"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"
},
"homepage": "https://www.mattmor.in/projects/TS-Lib-tsup",
"bugs": {
"url": "https://git.mattmor.in/web/TS-Lib-tsup/issues"
},
"type": "module",
"types": "./dist/index.d.ts",
"author": "Madmin42",
"license": "GPL-3.0-or-later",
"engines": {
"node": ">=16.0.0"
},
"main": "./dist/index.js",
"files": [
"./dist/**/*"
],
"module": "./dist/index.js",
"exports": {
".": {
@ -35,22 +30,66 @@
}
}
},
"types": "./dist/index.d.ts",
"files": [
"./dist/**/*"
],
"keywords": [
"template",
"yo"
],
"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"
"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"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"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",
"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.11.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
}
}