react-native-aztec icon indicating copy to clipboard operation
react-native-aztec copied to clipboard

Prepare component for publishing to npm

Open mzorz opened this issue 7 years ago • 3 comments

Publish to npm following the guidelines in https://docs.npmjs.com/getting-started/creating-node-modules

mzorz avatar Apr 16 '18 17:04 mzorz

Will do after #6 gets merged - Note for when this gets tackled:

  • [x] need to eliminate the line "private": true, from package.json
  • [x] rename the package from AztecReactNativeExampleApp to react-native-aztec
  • [ ] check steps to publish in https://docs.npmjs.com/getting-started/publishing-npm-packages

mzorz avatar Apr 16 '18 18:04 mzorz

Ok I think we can wait for the actual publishing to be done at some point in the future, when the component is stable enough and enters a maintenance / development lifecycle as to be published to the npm repo. In the meantime, we can use git urls as dependencies as explained here https://docs.npmjs.com/files/package.json#git-urls-as-dependencies

i.e.

"dependencies": {
  "package": "git://github.com/username/package.git#commit"
}

mzorz avatar Apr 17 '18 14:04 mzorz

h/t to @oskosk for the pointers here ☝️

mzorz avatar Apr 17 '18 14:04 mzorz