mirror of
https://github.com/pnpm/action-setup.git
synced 2024-12-23 00:06:30 +08:00
Add ncc build step
This commit is contained in:
parent
636254ab6e
commit
b5a5e98c9e
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
node_modules
|
node_modules
|
||||||
*.log
|
*.log
|
||||||
/dist/tsc
|
/dist/*
|
||||||
|
!/dist/index.js
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:typescript": "tsc"
|
"build:typescript": "tsc",
|
||||||
|
"build:ncc": "ncc build --minify --source-map dist/tsc/index.js --out dist/"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"download": "^8.0.0",
|
"download": "^8.0.0",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user