Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): reference types and output as dir #3

Merged
merged 1 commit into from Nov 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -4,6 +4,7 @@
"description": "Utility for Unix-like operating systems to print PDF files from Node.js and Electron",
"license": "MIT",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
"build"
],
Expand All @@ -16,7 +17,7 @@
"build": "npm run build:clean && npm run build:esbuild && npm run build:declarations",
"build:clean": "rimraf build",
"build:esbuild": "esbuild ./src --bundle --platform=node --outfile=build/index.js",
"build:declarations": "tsc -p tsconfig.dist.json --emitDeclarationOnly --outFile build/index.d.ts",
"build:declarations": "tsc -p tsconfig.dist.json --emitDeclarationOnly --outDir build",
"prettier-check": "prettier -c ./src",
"prepare": "yarn prettier-check && npm run test && npm run build"
},
Expand Down