my-react-typescript-package
For Testing Local Publish
npm publish --dry-run
Before Publish Run a commands according to the 1.2.3
1 means is Breaking in terms of command we use "major"
npm run version major
cmd is 2 means is Feature in terms of command we use "minor"
npm run version minor
cmd is 3 means is Fix in terms of command we use "patch"
npm run version patch
cmd is npm link ../node_modules/react; npm link preplaced-call-service; rm -rf .parcel-cache/; yarn start;
Then Run npm publish
For Publishing on npm
npm publish
npm link ../node_modules/react; npm link preplaced-call-service; rm -rf .parcel-cache/; yarn start;
npm link