2.0.0 • Published 3 years ago
wwwtalal_npm3 v2.0.0
Setup
GitHub: Create repo wwwtalal_npm3
init, run:
npm i
npm run git:init:all
// or if did not create repo, create a new one, then run
npm run git:init:redo- Coding, run:
npm start
npm t
or
npm run test:watch- Push latest updates to github, run
npm run git:update- Production, run:
npm run build
npm run start:lib- Setup for link (here), run:
npm linkthen run example
- Consume using link (there), run:
npm link wwwtalal_npm3- Consume using github:
npm i https://github.com/wwwtalal/wwwtalal_npm3 --save- Setup for npm, may need to change private in package.json to false, run:
npm run publish
// npm publish // other way- Consume using npm, run:
npm i wwwtalal_npm3 --save- Example:
const {main} = require('wwwtalal_npm3')
console.log(main('Me'))
// Hello Me!