Skip to content

Commit

Permalink
fix(build): proper refer types and output as dir (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick-Remy committed Nov 18, 2021
1 parent 6307a90 commit ab62957
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit ab62957

Please sign in to comment.