1.0.3 • Published 9 years ago
first-publish-test-package v1.0.3
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 1) Navigate to package directory containing the package.json 2) Login as user (npm adduser / npm login) 3) npm publish
This seemed to do everything we need to bring in the package: 1) 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();