mirror of https://codeberg.org/pzp/pzp-keypair.git
another try with .d.ts
This commit is contained in:
parent
50cc8382ff
commit
2f829a14f0
|
@ -1,4 +1,4 @@
|
|||
types
|
||||
**/*.d.ts
|
||||
node_modules
|
||||
.nyc_output
|
||||
coverage
|
||||
|
|
|
@ -12,8 +12,7 @@
|
|||
"type": "commonjs",
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
"lib/**/*",
|
||||
"types/**/*"
|
||||
"lib/**/*"
|
||||
],
|
||||
"types": "types/index.d.ts",
|
||||
"engines": {
|
||||
|
@ -40,7 +39,7 @@
|
|||
"typescript": "^5.0.2"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"build": "tsc --build --clean && tsc --build",
|
||||
"test": "node --test",
|
||||
"format-code": "prettier --write \"*.js\" \"(test|lib)/*.js\"",
|
||||
"format-code-staged": "pretty-quick --staged --pattern \"*.js\" --pattern \"(test|lib)/*.js\"",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"include": ["lib/**/*.js"],
|
||||
"exclude": ["coverage/", "node_modules/", "test/"],
|
||||
"compilerOptions": {
|
||||
"outDir": "types",
|
||||
"checkJs": true,
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
|
|
Loading…
Reference in New Issue