Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erukiti/waterslide
CLI tool that easily sets up a modern JavaScript project and compilation.
https://github.com/erukiti/waterslide
babel cli javascript webpack
Last synced: 3 months ago
JSON representation
CLI tool that easily sets up a modern JavaScript project and compilation.
- Host: GitHub
- URL: https://github.com/erukiti/waterslide
- Owner: erukiti
- Created: 2016-07-19T08:18:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-16T11:35:31.000Z (over 7 years ago)
- Last Synced: 2024-10-08T00:27:51.870Z (3 months ago)
- Topics: babel, cli, javascript, webpack
- Language: JavaScript
- Homepage:
- Size: 1000 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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
```sh
$ npm install -g waterslide
$ ws config
````ws config` is default setting configuration tool.
## Create project
```sh
$ ws new [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
```sh
$ cd projectDir
$ npm start
```* `npm start` is run project
* `npm run build` is build project
* `npm test` is test project## For example
For example, create React-Redux eletcron project with ava, eslint:
```sh
$ ws new --use react-redux,ava,eslint electron [projectDir]
$ cd
$ npm start
```Build distribution pacakge of the Electron application:
```sh
$ npm run build
```## License
The license of the waterslide itself is Apache-2.0. Software license created using waterslide can be set freely.