Use new template

This commit is contained in:
2026-01-22 10:30:12 +01:00
parent dbba961dbf
commit b7c294342a
12 changed files with 126 additions and 84 deletions
+21 -15
View File
@@ -3,28 +3,34 @@
"description": "Various crypto utils for encryption, signature, ...",
"version": "1.0.0",
"author": "Pascal Perrenoud <pascal@pband.ch>",
"scripts": {
"check": "clear && npm run typecheck && npm run lint && npm run check:fmt && npm run test && clear && echo 'OK'",
"check:fmt": "npx prettier -c src/*.ts",
"fmt": "prettier --write src/*.ts",
"lint": "eslint src/*.ts",
"test": "bun test",
"fmt": "prettier --config .prettierrc '**/*.ts' --write"
"typecheck": "tsc --noEmit"
},
"dependencies": {
"jose": "^5.3.0",
"log": "git+https://git.pband.ch/typescript/log.git",
"misc": "git+https://git.pband.ch/typescript/misc.git"
"misc": "git+ssh://git@git.pband.ch:typescript/misc.git#main",
"log": "git+ssh://git@git.pband.ch:typescript/log.git#main"
},
"devDependencies": {
"@types/bun": "^1.1.2",
"bun": "^1.1.27",
"logger-console": "git+https://git.pband.ch/typescript/logger-console.git",
"prettier": "^3.3.3"
"@eslint/js": "^9.35.0",
"@types/bun": "^1.2.21",
"bun": "^1.2.21",
"eslint": "^9.35.0",
"globals": "^16.4.0",
"jiti": "^2.5.1",
"logger-console": "git+ssh://git@git.pband.ch:typescript/logger-console.git#main",
"prettier": "^3.6.2",
"typescript": "^5.9.2",
"typescript-eslint": "^8.43.0"
},
"module": "index.ts",
"type": "module",
"files": [
"index.ts",
"src"
]
"main": "./src/index.ts",
"exports": {
".": "./src/index.ts"
}
}