@webstronauts/laravel-scripts
v0.13.0
Published
A front-end CLI toolbox used by Laravel Liftoff
Downloads
3
Readme
laravel-scripts 🛠📦
A front-end CLI toolbox used by Laravel Liftoff.
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/laravel-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;
Author(s)
Robin van der Vleuten (@robinvdvleuten) - The Webstronauts