Setup to use ncc

This commit is contained in:
Nick Cipollo
2021-11-26 14:48:25 -05:00
parent 8aada7312c
commit 66aaa1eb00
6 changed files with 11768 additions and 3 deletions

View File

@@ -3,12 +3,13 @@
"version": "1.1.0",
"private": true,
"description": "An action which manages a github release",
"main": "lib/main.js",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"clean": "rm -rf lib/*",
"debug": "yarn clean && yarn install && yarn build",
"release": "yarn clean && yarn install --production && yarn build",
"package": "ncc build --source-map --license licenses.txt",
"release": "yarn clean && yarn install --production && yarn build && yarn package",
"test": "jest"
},
"repository": {