Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Commit

Permalink
Add prepublish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
NiGhTTraX committed May 28, 2019
1 parent f840305 commit 08e0c3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/bar/package.json
Expand Up @@ -9,7 +9,8 @@
"scripts": {
"build": "npm run clean && npm run compile",
"clean": "rm -rf ./dist",
"compile": "tsc -p tsconfig.build.json"
"compile": "tsc -p tsconfig.build.json",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@nighttrax/foo": "^1.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/foo/package.json
Expand Up @@ -9,7 +9,8 @@
"scripts": {
"build": "npm run clean && npm run compile",
"clean": "rm -rf ./dist",
"compile": "tsc -p tsconfig.build.json"
"compile": "tsc -p tsconfig.build.json",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"typescript": "~3.4.5"
Expand Down

0 comments on commit 08e0c3b

Please sign in to comment.