Skip to content

Commit

Permalink
fix(publish): 🔧 bug with npm publish & add prepublish script
Browse files Browse the repository at this point in the history
  • Loading branch information
navin-moorthy committed Oct 1, 2020
1 parent a1b38e4 commit 9b2468f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"keys": "node scripts/build/keys",
"lint": "eslint . --ext .tsx,.ts,.jsx,.js --fix",
"lint:package": "sort-package-json",
"prepublishOnly": "yarn test && yarn build",
"release": "git add . && standard-version -a",
"postrelease": "concurrently yarn:release:*",
"release:github": "conventional-github-releaser -p angular",
Expand Down Expand Up @@ -143,9 +144,7 @@
"react-dom": "^16.8.0"
},
"publishConfig": {
"access": "public",
"pkgRoot": "dist",
"registry": "https://npm.pkg.github.com/"
"access": "public"
},
"main:umd": "dist/umd/renderless-components.js"
}

0 comments on commit 9b2468f

Please sign in to comment.