0.0.1 • Published 8 years ago
fdlib v0.0.1
FDlib
Shared library code for sub-modules of the FDQ package
This package is probably pretty useless outside of the FDQ package.
Installing
npm install fdlibTasks
There are a few grunt tasks and bash scripts hooked up to npm. This repo also uses git hooks for pre- and post commit hooks.
As a general rule, ./build is used for any temporary output, including code coverage reports and temporary build files when producing a dist.
(These tasks obviously require an npm install)
Grunt tasks:
grunt clean: removes./distand./buildgrunt coverage: runs all tests in the code coverage toolgrunt test: runs linting and all testsgrunt testq: runs tests without lintinggrunt watch:t: runstestqwhenever a file changes
Bash / npm scripts:
npm run lint: run eslint with dist config (slightly stricter than dev). Exits non-zero if it fails.npm run lintdev: run eslint with dev config (allowsconsole.log,debugger, etc). No non-zero exit for failures.npm run lintfix: runs eslint in the fix mode
0.0.1
8 years ago