Skip to content

Latest commit

 

History

History
 
 

tools

Build Configuration and Automation Scripts

├── build.js                    # Compiles the app from source code
├── config.js                   # General application settings
├── postcss.config.js           # PostCSS settings for compiling CSS files
├── publish.js                  # Builds and deploys the app to Firebase
├── routes-loader.js            # Webpack loader for parsing src/routes.json
├── run.js                      # Compiles the app in watch mode and runs dev server
├── task.js                     # A custom minimalistic script/task runner
└── webpack.config.js           # Bundling and optimization settings

build.js — compilation

node tools/build                # Compiles the app for production
node tools/build --debug        # Compiles the app in debug (non-optimized) mode

run.js — launching for testing/debugging

node tools/run                  # Compiles the app and opens it in a browser with "live reload"

publish.js — deployment

node tools/publish.js           # Compiles the app and deployes it to Firebase