At anymock we use npm
to execute commands.
If you already have npm
installed, do: npm run setup
. This will complete all required steps.
That's all.
git clone https://github.com/temberature/anymock.git
cd anymock
npm install
npm test
npm test:integration
or in watch mode
npm test:integration --watch
npm test:unit
or in watch mode
npm test:unit --watch
npm test:update-snapshots
npm pretty
This performs linting on:
- eslint (code-lint script)
- schema (schema-lint script)
- types (type-lint script)
npm lint
npm type-lint
or incremental (in watch mode)
npm type-lint --watch