@achavarriafh/create-npm-package
v1.0.2
Published
Initializer for creating npm-packages easily. This tool is intended to be used for creating business logic packages for Sunrun CBA...
Downloads
18
Readme
Create Npm Package
Note that you will need to use npm 6 or higher.
Run:
npm i -g npmTo install latest version of npm
Usage
Interactive mode
npx @achavarriafh/create-npm-packageOr using npm init
npm init @achavarriafh/npm-packageCommand mode
npx @achavarriafh/create-npm-package <projectName>Example:
npx @achavarriafh/create-npm-package my-first-packageOr using npm init
npm init @achavarriafh/npm-package <projectName>Example:
npm init @achavarriafh/npm-package my-first-packageUsing a proxy
If you are behind a proxy, configure https_proxy environment variable.
Built-in starters
- Default library template
Developing locally
If you want to add features, clone this repo, open terminal:
Install dependencies
npm installThen, compile and run the starter:
npm run devAnd it will help you test out your changes.
Citations
Created by Alexander Chavarria:
Forked from Create Stencil App:
License
- MIT
