https://github.com/af/wiseau
A build tool for client-side javascript.
https://github.com/af/wiseau
Last synced: about 1 year ago
JSON representation
A build tool for client-side javascript.
- Host: GitHub
- URL: https://github.com/af/wiseau
- Owner: af
- Created: 2012-01-09T19:13:51.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-01-13T17:07:09.000Z (over 14 years ago)
- Last Synced: 2024-10-18T07:04:39.602Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 113 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Wiseau
=======
Wiseau is a build tool for client-side javascript. It concatenates and minifies
your javascript, without telling you which libraries to use or how to lay out
your project.
#### Features
* Support for multiple output files
* Minification via uglify-js
* (TODO) Support for http and npm dependencies
* (TODO) JSHint integration
Maybe later:
* Coffeescript support
* CSS/Stylus build targets
#### Command Line Interface
* `wiseau init` - Start a new project by creating a new clientbuild.json config file.
* `wiseau build` - Build the target files specified in your config file.
* `wiseau watch` - (TODO) Watch the project's source files for changes, and re-build
automatically when changes are saved.
For convenience, `wiseau` is also aliased as `wi` at the command line.
#### An Example clientbuild.json File
```
// Single-line comments can be added to your json config file.
{
"sourceDir": "js/src", // The relative path to your source code
"outputDir": "js/build", // Where to place the output of the build
"targets": {
"libs.js": {
"sourceDir": "js/src/libs", // You can override config values per target
"dependencies": [
"jquery.js",
"underscore.js",
"backbone.js"
]
},
"app.js": { // You can create as many build targets as you like
"minify": false, // Minification is optional (but enabled by default)
"dependencies": [
"models.js",
"views.js",
"main.js"
]
}
}
}
```
#### Alternatives/Prior Art
* anvil.js
* Ender
* bpm
* buildr.npm