Build system
All checks were successful
Lint / lint (push) Successful in 11s

This commit is contained in:
Julien Valverdé
2024-09-07 19:18:47 +02:00
parent 527b8a8f22
commit da597f763d
2 changed files with 8 additions and 4 deletions

View File

@@ -45,7 +45,7 @@
}
},
"scripts": {
"build": "tsup",
"build": "tsc",
"lint:tsc": "tsc --noEmit",
"clean:cache": "rm -f tsconfig.tsbuildinfo",
"clean:dist": "rm -rf dist",

View File

@@ -10,9 +10,9 @@
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
// "allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// "noEmit": true,
// Best practices
"strict": true,
@@ -22,7 +22,11 @@
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
"noPropertyAccessFromIndexSignature": false,
// Build
"outDir": "./dist",
"declaration": true
},
"include": ["./src"]