@webstronauts/liftoff-scripts
v0.24.0
Published
A front-end CLI toolbox used by our projects
Downloads
7
Readme
liftoff-scripts 🛠📦
A front-end CLI toolbox used by our projects.
Installation
This package is distributed via NPM which is bundled with Node and should be installed as one of your project's devDependencies
:
npm install --save-dev @webstronauts/liftoff-scripts
Usage
This is a CLI and exposes a bin called liftoff-scripts
. We don't really plan on documenting or testing it very well because it's really specific to our custom Laravel boilerplate. You'll find all available scripts in lib/scripts
.
Below is a list of commands you will probably find useful.
npm start
or yarn start
Runs the project in development mode. It will recompile all assets when any changes are detected.
npm run build
or yarn build
Builds the app for production to the public folder. The build is minified and the filenames include the hashes.
npm test
or yarn test
Runs the test watcher (Jest) in an interactive mode. By default, runs tests related to files changed since the last commit.
Inspiration
This package won't be there without the help and inspiration of the following projects;
- facebook/create-react-app
- JeffreyWay/laravel-mix
- jaredpalmer/razzle
- kentcdodds/kcd-scripts
- zeit/next.js
- developit/preact-cli
Author(s)
Robin van der Vleuten (@robinvdvleuten) - The Webstronauts