Unify NPM package

This commit is contained in:
2024-05-21 15:48:11 +02:00
parent cde473540a
commit cb6aa2e026
2 changed files with 15 additions and 8 deletions
+11 -1
View File
@@ -1,11 +1,21 @@
{
"name": "misc",
"description": "Various utils",
"version": "1.0.0",
"author": "Pascal Perrenoud <pascal@pband.ch>",
"module": "index.ts",
"type": "module",
"files": ["index.ts"],
"scripts": {
"test": "bun test"
},
"dependencies": {
"result": "git+git@git.pband.ch/typescript/result"
"log": "git+https://git.pband.ch/typescript/log.git",
"rust": "git+https://git.pband.ch/typescript/rust.git"
},
"devDependencies": {
"@types/bun": "^1.0.11"
+4 -7
View File
@@ -1,16 +1,11 @@
{
"compilerOptions": {
"baseUrl": ".",
// Enable latest features
"lib": [
"ESNext",
"dom"
],
"lib": ["ESNext","dom"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"allowJs": false,
"allowJs": true,
"checkJs": true,
// Bundler mode
@@ -27,8 +22,10 @@
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"forceConsistentCasingInFileNames": true,
"noPropertyAccessFromIndexSignature": false
},
"include": [
"index.ts",
]