2.3.2 • Published 5 years ago

@articstudio/js-bin v2.3.2

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

js-bin

JS bin helpers.

Install

npm install js-bin

Usage

For launch a interactive menu execute (in the root folder of project):

node ./node_modules/.bin/jsbin

OR

Add this script in your package.json

{
  "scripts": {
    "bin": "node ./node_modules/.bin/jsbin"
  }
}

This package is composed by three big menus:

Git helpers:

Provides some commands to manage a simple tasks for git subtrees.

By default this command take a set of subtrees who indicate in package.json, attribute "config: subtree{}".

Git subtree menu:

Git subtree menu

JS helpers:

Provides some commands to manage a js tasks:

  • JS lint/ ES lint (Syntax checker)
  • JS unit test (pass all tests in /test directory)

JS Utilities:

JS_utilities

Package.json helpers:

Provides some commands to manage a package.json file more easily:

JS_utilities

Install

This command, add a package into a module (subtree), this package will added into file package.json (in dependencies or devDependencies, deppends envoirment parameter) of module, and will install into root project (node_modules folder).

Update versions

Solve conflicts about versions from root project package.json, to module or modules package.json file.

Load packages

Load all module dependencies and devDependencies to root file package.json like devDependencies

Publish package

Publish package or module, to npm. (Needs a .npmrc file to register package to a private npm repository).