0.13.0 • Published 7 years ago

generator-bigdatr-startr v0.13.0

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

bigdatr startr

generator-bigdatr-startr npm

Installation

npm install -g yo
npm install -g generator-bigdatr-startr
yo bigdatr-startr

Generators

Scaffold

Builds out a full app scaffold with client & server

Tasks

CommandDescription
grunt defaultStarts the app in development mode
grunt buildBuilds out a production version of the app
grunt build:developmentBuilds out static files without minification
grunt testRuns all tests
grunt testingStarts the testing environment

Client

A generator for a simple static client that queries apis for dynamic data.

Features

Getting started

The generator will run yarn install and yarn run build-dev for you. yarn run build-dev will create the necessary html files to run the app locally.

To start developing, run the watch command:

yarn watch

This will start webpack-dev-server at the port you specified in the setup.

Tasks

CommandDescription
yarn run avaRun ava tests
yarn run buildRuns a production build of the app, including prerendering and file hashing
yarn run build-devRuns a development build of the app. Needs to be run before yarn run watch
yarn run check-coverageChecks test coverage
yarn run docsBuilds out documentation using jsdoc/jsdonk
yarn run flowRuns a flow check of the source code
yarn run lintRuns eslint on source code
yarn run lint-fixAttempts to fix eslint errors
yarn run testRuns tests and coverage checks
yarn run test-allRuns all tests, flow, and linting
yarn run watchBoots up webpack-dev-server for devving

Serverless λ

A generator for serverless services.

Features

  • Uses serverless to manage lambda functions
  • Has serverless-offline for local development
  • Custom bundler script to ensure that only required files are deployed to lambda
  • Uses local version of serverless so that it doesn't have to be installed globally and for reproduceable builds across multiple enviroments.
  • Babel transpilation so you can do fun es2015 stuff.
  • Testing with ava
  • Test coverage with nyc
  • docs with jsdonk

Tasks

CommandDescription
yarn run avaRun ava tests
yarn run buildRuns a production build of the service in preparation for deployment
yarn run watchStarts up serverless-offline for local development
yarn run watch-nocacheStarts up serverless-offline with --skipCacheInvalidation flag and nodemon to avoid this bug
yarn run deployDeploys to lambda dev stage
yarn run docsBuilds out documentation using jsdoc/jsdonk
yarn run flowRuns a flow check of the source code
yarn run lintRuns eslint on source code
yarn run lint-fixAttempts to fix eslint errors
yarn run testRuns tests and coverage checks
yarn run test-allRuns all tests, flow, and linting
0.13.0

7 years ago

0.12.1

7 years ago

0.12.0

7 years ago

0.11.0

7 years ago

0.10.0

7 years ago

0.9.3

7 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.9.0

7 years ago

0.8.0

8 years ago

0.7.0

8 years ago

0.6.0

8 years ago

0.5.0

8 years ago

0.4.3

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.3

8 years ago

0.0.2

9 years ago

0.0.1

9 years ago