mirror of https://codeberg.org/pzp/pzp-keypair.git
build .d.ts files
This commit is contained in:
parent
2d0cd86dae
commit
8e026c9028
|
@ -1,3 +1,4 @@
|
|||
lib/**/*.d.ts
|
||||
node_modules
|
||||
.nyc_output
|
||||
coverage
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"typescript": "^5.0.2"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"build": "rm lib/**/*.d.ts && tsc",
|
||||
"test": "node --test",
|
||||
"format-code": "prettier --write \"*.js\" \"(test|lib)/*.js\"",
|
||||
"format-code-staged": "pretty-quick --staged --pattern \"*.js\" --pattern \"(test|lib)/*.js\"",
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
"exclude": ["coverage/", "node_modules/", "test/"],
|
||||
"compilerOptions": {
|
||||
"checkJs": true,
|
||||
"noEmit": true,
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"exactOptionalPropertyTypes": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"lib": ["es2021", "dom"],
|
||||
|
|
Loading…
Reference in New Issue