Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

soya-next-scripts

0.9.2 • Public • Published

Soya Next Scripts

NPM Version

A CLI which contains configuration and scripts used by soya-next-cli.

Installation

To install it, run the following:

npm install --save soya-next-scripts

Note: If you're starting a new project, consider using soya-next-cli instead for easier setup.

Usage

To start your development server, run the following:

soya-next-scripts dev

To build for production, run the following:

soya-next-scripts build

To start your production server, run the following:

soya-next-scripts start

To analyze output bundles, run the following:

# Build and analyze the back end server bundle 
BUNDLE_ANALYZE=server soya-next-scripts build
 
# Build and analyze the front end browser bundle 
BUNDLE_ANALYZE=browser soya-next-scripts build
 
# Build and analyze both server and browser 
BUNDLE_ANALYZE=both soya-next-scripts build

To run unit tests, run the following:

soya-next-scripts test

Install

npm i soya-next-scripts

DownloadsWeekly Downloads

80

Version

0.9.2

License

MIT

Unpacked Size

31.1 kB

Total Files

28

Last publish

Collaborators

  • avatar
  • avatar