1.0.30 • Published 3 years ago

base-npm-lib v1.0.30

Weekly downloads
4
License
ISC
Repository
github
Last release
3 years ago

base-npm-lib

Shell for developing npm packages, wired with Webpack and Babel to allow ES6 and import/export modules

How to use base-npm-lib to build a package?

1. Clone

  • Clone this repo
  • Create a github repo with the name for your package and add the newly created repo as the origin remote
  • Update the details in package.json file (name, description, github url and versoin).

2. Test

  • npm run test to test

3. Build

  • npm run build to build the package

4. Publish

  • npm login (first time only)
  • npm publish

Import published package in another app

1. Install

npm install base-npm-lib to install the latest version from npm

2. Use

import { sayHello, greet } from 'base-npm-lib'

...

sayHello('name'); // hello name
greet(); // hello world!!
1.0.30

3 years ago

1.0.29

3 years ago

1.0.28

3 years ago

1.0.27

3 years ago

1.0.26

3 years ago

1.0.24

3 years ago

1.0.23

3 years ago

1.0.22

5 years ago

1.0.21

5 years ago

1.0.20

5 years ago

1.0.19

5 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago