Guest User

Untitled

a guest
Feb 8th, 2020
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.28 KB | None | 0 0
  1. gregg@BLAZE C:\Users\gregg\temp\delme-node-test>copy con package.json
  2. {
  3. "name": "and-and-test",
  4. "version": "0.0.1",
  5. "description": "and-and tet",
  6. "scripts": {
  7. "thing1": "node echo.js thing1",
  8. "thing2": "node echo.js thing2",
  9. "thing3": "node echo.js thing3",
  10. "all-the-things": "npm run thing1 && npm run thing2 && npm run thing3"
  11. },
  12. "dependencies": {
  13. },
  14. "engines": {
  15. "node": "10.x"
  16. },
  17. "repository": {
  18. "url": "https://glitch.com/edit/#!/hello-express"
  19. }
  20. }
  21. ^Z
  22. 1 file(s) copied.
  23.  
  24. gregg@BLAZE C:\Users\gregg\temp\delme-node-test>copy con echo.js
  25. console.log(process.argv.slice(2));
  26. ^Z
  27. 1 file(s) copied.
  28.  
  29. gregg@BLAZE C:\Users\gregg\temp\delme-node-test>npm run all-the-things
  30.  
  31. > [email protected] all-the-things C:\Users\gregg\temp\delme-node-test
  32. > npm run thing1 && npm run thing2 && npm run thing3
  33.  
  34.  
  35. > [email protected] thing1 C:\Users\gregg\temp\delme-node-test
  36. > node echo.js thing1
  37.  
  38. [ 'thing1' ]
  39.  
  40. > [email protected] thing2 C:\Users\gregg\temp\delme-node-test
  41. > node echo.js thing2
  42.  
  43. [ 'thing2' ]
  44.  
  45. > [email protected] thing3 C:\Users\gregg\temp\delme-node-test
  46. > node echo.js thing3
  47.  
  48. [ 'thing3' ]
  49.  
  50. gregg@BLAZE C:\Users\gregg\temp\delme-node-test>
Advertisement
Add Comment
Please, Sign In to add comment