Skip to content

Commit a17f35b

Browse files
Vidya2606Vidya Reddy
andauthored
Add ncc build to build script (#208)
Co-authored-by: Vidya Reddy <[email protected]>
1 parent 7b11ddb commit a17f35b

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

package-lock.json

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": "Deepak Sattiraju",
55
"license": "MIT",
66
"scripts": {
7-
"build": "tsc --outDir ./lib --rootDir ./src",
7+
"build": "ncc build src/run.ts -o lib",
88
"test": "jest",
99
"format": "prettier --write .",
1010
"format-check": "prettier --check ."
@@ -23,6 +23,7 @@
2323
"@types/jest": "^26.0.0",
2424
"@types/js-yaml": "^3.12.7",
2525
"@types/node": "^12.20.41",
26+
"@vercel/ncc": "^0.34.0",
2627
"jest": "^26.0.0",
2728
"prettier": "2.7.1",
2829
"ts-jest": "^26.0.0",

0 commit comments

Comments
 (0)