Skip to content

Commit

Permalink
chore: Added 'pack' script
Browse files Browse the repository at this point in the history
  • Loading branch information
mnasyrov committed Dec 10, 2022
1 parent e21cd12 commit 9204821
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
node_modules
npm-debug.log
Thumbs.db
/dist
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "module",
"scripts": {
"postinstall": "lerna bootstrap",
"clean": "lerna run clean",
"clean": "rm -rf dist && lerna run clean",
"lint": "npm run lint:eslint && npm run lint:tsc",
"lint:eslint": "eslint \"packages/*/{src,test*}/**\"",
"lint:tsc": "tsc --noEmit --jsx react",
Expand All @@ -26,7 +26,8 @@
"prepare": "husky install",
"prepublishOnly": "npm run clean && npm run build",
"lerna-version": "lerna version",
"lerna-publish": "lerna publish from-git"
"lerna-publish": "lerna publish from-git",
"pack": "npm run build && mkdir -p dist && npx lerna exec 'npm pack --pack-destination ../../dist'"
},
"devDependencies": {
"@types/jest": "29.2.4",
Expand Down

0 comments on commit 9204821

Please sign in to comment.