theendsoaper
Version:
Access Untill Tills with SOAP from Node.js and parse the results as objects, some extra useful functions in as well.
42 lines (29 loc) • 1.01 kB
Plain Text
# Instructions for Pushing to npm
1. **Login to npm**:
If you haven't logged in to npm yet, you can do so by running:
```sh
npm login
```
2. **Update the Version**:
Update the version number in your `package.json` file. You can do this manually or by using npm's version command:
```sh
npm version <newversion>
```
Replace `<newversion>` with the new version number (e.g., `1.0.1`).
3. **Publish the Package**:
To publish your package to npm, run:
```sh
npm publish
```
4. **Verify the Publish**:
You can verify that your package has been published by searching for it on the npm website or by running:
```sh
npm info <your-package-name>
```
5. **Logout (Optional)**:
If you are on a shared machine, you may want to log out of npm after publishing:
```sh
npm logout
```
Make sure you have the necessary permissions to publish the package and that your package name is unique.
Happy coding!