зеркало из https://github.com/Azure/k8s-lint.git
add ncc build to build script (#32)
* add ncc build to build script * updated the action file Co-authored-by: Vidya Reddy <vidyareddy@microsoft.com>
This commit is contained in:
Родитель
d0af7aba3f
Коммит
8a178acbe5
|
@ -18,4 +18,4 @@ branding:
|
|||
color: 'green' # optional, decorates the entry in the GitHub Marketplace
|
||||
runs:
|
||||
using: 'node16'
|
||||
main: 'lib/run.js'
|
||||
main: 'lib/index.js'
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -4,7 +4,7 @@
|
|||
"private": true,
|
||||
"main": "lib/run.js",
|
||||
"scripts": {
|
||||
"build": "tsc --outDir ./lib --rootDir ./src",
|
||||
"build": "ncc build src/run.ts -o lib",
|
||||
"test": "jest",
|
||||
"test-coverage": "jest --coverage",
|
||||
"format": "prettier --write .",
|
||||
|
@ -23,6 +23,7 @@
|
|||
"devDependencies": {
|
||||
"@types/jest": "^26.0.0",
|
||||
"@types/node": "^12.0.4",
|
||||
"@vercel/ncc": "^0.34.0",
|
||||
"jest": "^26.0.1",
|
||||
"prettier": "2.7.1",
|
||||
"ts-jest": "^26.0.0",
|
||||
|
|
Загрузка…
Ссылка в новой задаче