Raistlin
Raistlin is a dev- & buildtool for React and browserify.
It seeks to provide a great starting point for your React apps and components. It has the following features:
- development server
- hot-reloading
- tales (similar to react-storybook)
- building
- bundling
Raistlin is named after the wizard Raistlin Majere from the Dragonlance universe.
Install
npm install -g @asbjornenge/raistlin
Use
Create a new app using the cli
.
raistlin init
Raistlin will populate the folder with a basic app layout.
Notice how raistlin
works together with npm-run-scripts.
{
"scripts": {
"start": "raistlin start --hot app.js",
"build": "raistlin build app.js --out build.js",
"bundle": "raistlin bundle build.js --out dist.js"
}
}
Changelog
2.0.0
- Loosing up the conventions
- Allow any browserify transform
- Added
raistlin init
command to layout basic app - Support for tales (inspired by react-storybook)
1.1.1
-
start
is no longer using -h and -p as abbr for host and port since --help was eating -h
1.1.0
- Don't remember. Had no changelog.
1.0.0
- Initial release
enjoy