Skip to content

Latest commit

 

History

History
86 lines (69 loc) · 1.27 KB

dev.md

File metadata and controls

86 lines (69 loc) · 1.27 KB

To test package

make required updates in the src (root) directory.

npm run build
npm link
cd demo-app
npm link react-ui-scrollspy

creates a .tgz

npm run build
npm pack
mv react-ui-scrollspy-2.3.0.tgz ./demo-app
cd demo-app
npm uninstall react-ui-scrollspy
npm install react-ui-scrollspy-2.3.0.tgz --production
cd ..

Commit Messages

https://github.com/ahmadawais/Emoji-Log

git commit -m "✨ NEW: "
git commit -m "👌 IMPROVE: "
git commit -m "🐛 FIX: "
git commit -m "📚 DOC: "
git commit -m "🚀 RELEASE: "
git commit -m "🤖 TEST: "
git commit -m "‼️ BREAKING: "

GitHub package

npm login --registry=https://npm.pkg.github.com/

package.json

"name": "@pettiboy/react-ui-scrollspy",
.....
"publishConfig": {
  "registry": "https://npm.pkg.github.com/"
},
"repository": {
  "type": "git",
  "url": "git+https://github.com/pettiboy/react-ui-scrollspy.git",
  "directory": "react-ui-scrollspy"
},
"bugs".....
npm run build
npm publish

npm package

npm login

package.json

"name": "react-ui-scrollspy",
....
"repository": {
  "type": "git",
  "url": "git+https://github.com/pettiboy/react-ui-scrollspy.git"
},
"bugs".....
npm run build
npm publish