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
|
node_modules
|
||||||
.nyc_output
|
.nyc_output
|
||||||
coverage
|
coverage
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
"typescript": "^5.0.2"
|
"typescript": "^5.0.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "rm lib/**/*.d.ts && tsc",
|
||||||
"test": "node --test",
|
"test": "node --test",
|
||||||
"format-code": "prettier --write \"*.js\" \"(test|lib)/*.js\"",
|
"format-code": "prettier --write \"*.js\" \"(test|lib)/*.js\"",
|
||||||
"format-code-staged": "pretty-quick --staged --pattern \"*.js\" --pattern \"(test|lib)/*.js\"",
|
"format-code-staged": "pretty-quick --staged --pattern \"*.js\" --pattern \"(test|lib)/*.js\"",
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
"exclude": ["coverage/", "node_modules/", "test/"],
|
"exclude": ["coverage/", "node_modules/", "test/"],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
"noEmit": true,
|
"declaration": true,
|
||||||
|
"emitDeclarationOnly": true,
|
||||||
"exactOptionalPropertyTypes": true,
|
"exactOptionalPropertyTypes": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"lib": ["es2021", "dom"],
|
"lib": ["es2021", "dom"],
|
||||||
|
|
Loading…
Reference in New Issue