Socket
Socket
Sign inDemoInstall

@aelesia/npm-template

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aelesia/npm-template

Template for NPM packages


Version published
Weekly downloads
14
increased by1300%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Testing

npm link
npm link <package.json.name>

npm

Login / Logout

npm login
npm logout

Profile

npm profile get
npm whoami

Publishing

First Publish:

npm publish --access public

Subsequent Publishes:

npm publish

Publish only specific tag:

npm publish --tag develop

Unpublishing

npm unpublish <package-name> -f
npm unpublish <package-name>@<version>

Automated CI

  1. Get your API Token from NPM
  • Settings > Auth Token > Create New Token > Read & Publish
  • Copy the token
  1. Add this API as as secret to your GitHub repo
  • Settings > Secrets > New secret
  • Name: NPM_TOKEN
  • Value: <paste the token from step 1>

Publishing by pushing to branch

npm/next

  • Pushing to npm/next branch will publish a new package with the 'next' tag
  • Version name will be x.x.x-next.

master

  • Pushing to master will publish a new package with the 'latest' tag
  • Version name will be x.x.x

*x.x.x is obtained from package.json.version

FAQs

Last updated on 12 Jun 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc