Skip to content

Commit fba72ac

Browse files
author
Tristan payne
committed
build: change build script to use ncc package from ZEIT
1 parent e4b87d8 commit fba72ac

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

package-lock.json

Lines changed: 6 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
@@ -5,7 +5,7 @@
55
"description": "JavaScript template action",
66
"main": "dist/index.js",
77
"scripts": {
8-
"build": "tsc",
8+
"build": "ncc build ./src/main.ts -o dist/",
99
"test": "jest"
1010
},
1111
"repository": {
@@ -26,6 +26,7 @@
2626
"devDependencies": {
2727
"@types/jest": "24.0.16",
2828
"@types/node": "12.6.9",
29+
"@zeit/ncc": "^0.22.3",
2930
"jest": "25.2.3",
3031
"jest-circus": "25.2.3",
3132
"ts-jest": "24.0.2",

0 commit comments

Comments
 (0)