You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 line
477 B

3 年之前
  1. # mockServer
  2. ## QuickStart
  3. <!-- add docs here for user -->
  4. see [egg docs][egg] for more detail.
  5. ### Development
  6. ```bash
  7. $ npm i
  8. $ npm run dev
  9. $ open http://localhost:7001/
  10. ```
  11. ### Deploy
  12. ```bash
  13. $ npm start
  14. $ npm stop
  15. ```
  16. ### npm scripts
  17. - Use `npm run lint` to check code style.
  18. - Use `npm test` to run unit test.
  19. - Use `npm run autod` to auto detect dependencies upgrade, see [autod](https://www.npmjs.com/package/autod) for more detail.
  20. [egg]: https://eggjs.org