0.6.7 • Published 6 years ago

iceberg-packer v0.6.7

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Iceberg Tool

NPM Version NPM Downloads

This tool has webpack, jest and other technologies built in to help you bundle and test your React modules

Installation

You should install it globally first:

$ npm install iceberg-packer -g

and then run:

$ iceberg init

which will help you create a project.

Watch

The watch starts the webpack watch, jest watch and the resources copy. You can choose to exclude: resources, webpack, jest, dev-server.

$ iceberg watch [bundle]

The options for the watch are:

 -h,  --help                outputs the usage information
 -e,  --exclude <packages>  what packages to exclude (separated by comma)
 -s,  --single              run once and then exit (webpack and jest)
 --silent                   this flag will hide OS notifications
 --host <hostname>          hostname for the cache clear
 --port <port>              port for the cache clear
 --dev-port <dev-port>      port for the webpack-dev-server
 --prod                     production environment (builds just like for production without the split)

Examples

$ iceberg watch --e jest,webpack
$ iceberg watch --exclude resources,jest
$ iceberg watch -s --silent
$ iceberg watch --prod

Run

The run command starts a task, like: webpack, jest, eslint.

$ iceberg run <package>

The options for the run are:

 -h,  --help                outputs the usage information
 --silent                   this flag will hide OS notifications
 --host                     hostname for the cache clear
 --port                     port for the cache clear
 --fix                      this is only useful for eslint - fixes some linting errors

Examples

$ iceberg run jest --silent
$ iceberg run webpack
$ iceberg run eslint --fix

Make

A tool to scaffold components or prop-types.

$ iceberg make [name] [options]

The options for the make are:

 -h, --help      	outputs the usage information
 -t, --type <type>	the type of element you are scaffolding

For type you can use: component, prop-type.

Examples

$ iceberg make common/visualization -t component
$ iceberg make highcharts --type component
$ iceberg make common/visualization/chart-options -t prop-type

Build

It builds the JS bundle ready for production

$ iceberg build

Remove

Remove iceberg from the project.

$ iceberg remove

License

MIT

0.6.7

6 years ago

0.6.6

6 years ago

0.6.5

6 years ago

0.6.4

6 years ago

0.6.3

7 years ago

0.6.2

7 years ago

0.6.1

7 years ago

0.6.0

7 years ago

0.5.8

7 years ago

0.5.7

7 years ago

0.5.6

7 years ago

0.5.5

7 years ago

0.5.4

7 years ago

0.5.3

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.14

7 years ago

0.4.13

7 years ago

0.4.12

7 years ago

0.4.11

7 years ago

0.4.10

7 years ago

0.4.9

7 years ago

0.4.8

7 years ago

0.4.7

7 years ago

0.4.6

7 years ago

0.4.5

7 years ago

0.4.4

7 years ago

0.4.3

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.12

7 years ago

0.3.11

7 years ago

0.3.10

7 years ago

0.3.9

7 years ago

0.3.8

7 years ago

0.3.7

7 years ago

0.3.6

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.11

7 years ago

0.2.10

7 years ago

0.2.9

7 years ago

0.2.8

7 years ago

0.2.7

7 years ago

0.2.6

7 years ago

0.2.5

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago