Skip to content

Commit

Permalink
refactor: move build files to dist
Browse files Browse the repository at this point in the history
  • Loading branch information
adantoscano committed Sep 12, 2023
1 parent 89bc06e commit f405e04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
],
"license": "Mozilla Public License 2.0",
"type": "commonjs",
"main": "src/index.js",
"bin": "src/index.js",
"main": "dist/index.js",
"bin": "dist/index.js",
"files": [
"src/**/*.{d.ts,d.ts.map,js,js.map,hbs}",
"dist",
"LICENSE",
"README.md",
"CHANGELOG.md",
Expand All @@ -26,6 +26,7 @@
"coverage": "jest --coverage",
"clean": "rm -rf output",
"build": "tsc",
"postbuild": "cp -r ./src/templates ./dist",
"postprepare": "npm run build",
"prestart": "npm run build",
"start": "node .",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
// "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
// "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
// "outDir": "./", /* Specify an output folder for all emitted files. */
"outDir": "dist", /* Specify an output folder for all emitted files. */
// "removeComments": true, /* Disable emitting comments. */
// "noEmit": true, /* Disable emitting files from a compilation. */
// "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
Expand Down

0 comments on commit f405e04

Please sign in to comment.