waterslide
v0.9.2
Published
Waterslide is easy setting method for JavaScript.
Downloads
21
Maintainers
Readme
Waterslide
Waterslide is a CLI tool that easily sets up a modern JavaScript project and takes care of troublesome compilation (webpack, babel...).
Install and setup
$ npm install -g waterslide
$ ws config
ws config
is default setting configuration tool.
Create project
$ ws new <target> [projectDir]
target
is the environment name you want to create like electron
, node
, browser
.
If you omit projectDir
specification, created a project directory with random name. Even if you do not consider the name of the project, you can easily create a project and experiment.
In project
$ cd projectDir
$ npm start
npm start
is run projectnpm run build
is build projectnpm test
is test project
For example
For example, create React-Redux eletcron project with ava, eslint:
$ ws new --use react-redux,ava,eslint electron [projectDir]
$ cd <projectDir>
$ npm start
Build distribution pacakge of the Electron application:
$ npm run build
License
The license of the waterslide itself is Apache-2.0. Software license created using waterslide can be set freely.