npm start
: Start the development server and watch for changes.
npm run test
: Run all tests.
npm run watch:test
: Run all tests and watch for changes.
npm run cover
: Run all tests and measure code coverage.
npm run watch:cover
: Run all tests, measure code coverage, and watch for changes.
All application code will be stored in the app
directory. Within the app
directory, higher level UI concepts can be stored in any directory structure, but related .jsx
, .scss
, and .test.js
should be stored together.
- Test Runner: ava
- TDD/BDD Syntax: ava-spec
- Mocks/Spies: sinon
- React Element Testing: enzyme
- Code Coverage: istanbul
- View Generation: react
- Frontend Framework: foundation
- Compiled CSS: SASS
- Code Linting: eslint
- Code Style: standard
- Bundler/Build Tool: webpack
- Javascript 'Compiler': babel
- Javascript Static Analysis/Type Checking: flow
I would strongly recommend using Atom as your editor for this project. It has wonderful plugins to work with eslint and flow to reduce developer pain from poor styling and runtime errors.