Skip to content

Tiny Javascript package to help to configure the javascript package to deploy on the npm with travis

License

Notifications You must be signed in to change notification settings

edtoken/clean-js-pkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to publish the javascript package on the npm with travis

npm Build Status Maintainability

Tiny Javascript package to help to configure the javascript package
to deploy on the npm with travis

See [CodeSandbox usage](CODESANDBOX LINK)

Features

  • tests
  • travis deploy
  • dotenv

Usage

1. Copy the package

Clone the repo

git clone git clone git@github.com:edtoken/clean-js-pkg.git 

Please! Do not add the .env file to the GIT, it's local file, for local development/common builds

2. Update travis configuration

Update the .travis.yml file, replace the email and repo

3. Update package.json

Update name, description, repository, author, and licenses

4. Update travis environment, Add SECURE_KEY value.

To able, to deploy the npm package from the travis
you should add the environment variable SECURE_KEY in the travis UI.

5. Publish

Other examples

See the Main article Build and publish your NPM package

Releases

No releases published

Packages

No packages published