@regionorebrolan/extensions

0.0.1-alpha • Public • Published

JavaScript-Extensions

Library with JavaScript additions and extensions.

npm

Solution structure

Inspired by this article/gist:

Development

During development you may want to test-publish your package. You can do this by using the GitHub Package Registry. To be able to use the GitHub Package Registry you have to:

  1. Add the following to package.json

     "publishConfig": {
     	"registry": "https://npm.pkg.github.com/"
     }
    
  2. Create a personal access token for the command line

  3. Then login:

     $ npm login --registry=https://npm.pkg.github.com
     > Username: USERNAME
     > Password: TOKEN
     > Email: PUBLIC EMAIL ADDRESS
    
  4. Then you can publish your package.

Read more: Configuring NPM for use with GitHub Package Registry

If you want to consume packages from the GitHub Package Registry you have to:

  1. Add a .npmrc-file to the root of your application.

  2. Enter the following content in it:

     @your-github-user-name:registry=https://npm.pkg.github.com/
     registry=https://registry.npmjs.org/
    

Read more: npmrc - The npm config files

Publish

Before you can publish you need to sign in:

npm login
Username:
Password:
Email:

Publish to npm:

npm publish --access public

Information

TypeScript-bundling

Notes

Package Sidebar

Install

npm i @regionorebrolan/extensions

Weekly Downloads

0

Version

0.0.1-alpha

License

MIT

Unpacked Size

161 kB

Total Files

176

Last publish

Collaborators

  • hans.kindberg