first-publish-test-package
v1.0.3
Published
test
Readme
first-publish-test-package
To publish (documentation at the following link: https://docs.npmjs.com/getting-started/publishing-npm-packages) We ran an example in the npm repository (first-publish-test-package), assuming something similar to publish to artifactory
- Navigate to package directory containing the package.json
- Login as user (npm adduser / npm login)
- npm publish
This seemed to do everything we need to bring in the package:
- npm install first-publish-test-package --save-dev
In the npm repository, the following attributes in the package.json are significant: "name": "first-publish-test-package", --> The name must be unique and must not already exist in the npm repository "version": "1.0.0", --> For each publish you must increment the version number
Example Usage
import { Parser } from 'first-publish-test-package';
Parser.parse();