json-server

v0.12.0
Serves JSON files through REST routes.
JSON server fake REST API prototyping mock mocking test and 6 more...

toc

markdown-toc -i README.md

test

npm run test:cli && npm run test:server && eslint .

build

babel src -d lib --copy-files

start

babel-node src/cli/bin

format

eslint . --fix

test:cli

npm run build && cross-env NODE_ENV=test mocha test/cli/*.js

precommit

npm test

test:server

cross-env NODE_ENV=test mocha test/server/*.js

prepublishOnly

npm run build && pkg-ok

Metadata

  • MIT
  • >=4
  • Typicode
  • released 8/2/2017

Downloads

Maintainers