Skip to content

Commit

Permalink
refactor package scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamkrishnar committed Aug 7, 2020
1 parent 8a6149b commit d4c0e65
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"main": "blog-post-workflow.js",
"scripts": {
"start": "node blog-post-workflow.js",
"local-run": "node test.js",
"test-run": "npm run local-run && diff test/Readme.md test/Readme.md.snap",
"start-test": "node test.js",
"local-run": "start-server-and-test start-server http://localhost:8080 start-test",
"test-run": "npm run start-test && diff test/Readme.md test/Readme.md.snap",
"start-server": "node test/test-server.js",
"test": "npm run lint && start-server-and-test start-server http://localhost:8080 test-run",
"lint": "jshint --exclude='node_modules/' *.js",
Expand Down

0 comments on commit d4c0e65

Please sign in to comment.