Skip to content

Commit

Permalink
Don't pack dist/tests/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
firecow committed Jan 19, 2021
1 parent a7307c8 commit 79c466f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*
!dist/**/*
dist/tests/
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"pkg-win": "pkg dist/index.js --public -t win-x64 -o bin/win/gitlab-ci-local && gzip -c bin/win/gitlab-ci-local.exe > bin/win.gz",
"pkg-all": "npm run pkg-linux && npm run pkg-macos && npm run pkg-win",
"pkg": "pkg",
"build": "tsc",
"build": "rm -rf dist/ && tsc",
"check-all": "npm run build && npm run lint && npm run ncu && npm run test:coverage && npm audit --parseable",
"lint": "eslint .",
"ncu": "ncu --target latest -e 2",
Expand All @@ -32,6 +32,9 @@
"assets": [
"package.json"
],
"scripts": [
"dist/*.js"
],
"targets": [
"node14"
]
Expand Down

0 comments on commit 79c466f

Please sign in to comment.