package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "javascript-development-environment",
  3. "version": "1.0.0",
  4. "description": "JavaScript development environment Pluralsight course by Cory House",
  5. "scripts": {
  6. "prestart": "babel-node buildScripts/startMessage.js",
  7. "start": "npm-run-all --parallel open:src lint:watch test:watch",
  8. "open:src": "babel-node buildScripts/srcServer.js",
  9. "lint": "esw webpack.config.* src buildScripts --color",
  10. "lint:watch": "npm run lint -- --watch",
  11. "localtunnel": "lt --port 3000",
  12. "share": "npm-run-all --parallel open:src localtunnel",
  13. "test": "mocha --reporter progress buildScripts/testSetup.js \"src/**/*.test.js\"",
  14. "test:watch": "npm run test -- --watch",
  15. "generate-mock-data": "babel-node buildScripts/generateMockData.js",
  16. "prestart-mockapi": "npm run generate-mock-data",
  17. "start-mockapi": "json-server --watch src/api/db.json --port 3001",
  18. "clean-dist": "rimraf ./dist && mkdir dist",
  19. "prebuild": "npm-run-all clean-dist test lint",
  20. "build": "babel-node buildScripts/build.js",
  21. "postbuild": "babel-node buildScripts/distServer.js",
  22. "deploy": "surge ./dist"
  23. },
  24. "author": "Cory House",
  25. "license": "MIT",
  26. "dependencies": {
  27. "@babel/node": "7.6.2",
  28. "@babel/polyfill": "7.6.0",
  29. "phaser": "3.19.0"
  30. },
  31. "devDependencies": {
  32. "@babel/cli": "7.6.2",
  33. "@babel/core": "7.6.2",
  34. "@babel/preset-env": "7.6.2",
  35. "@babel/register": "7.6.2",
  36. "babel-loader": "8.0.6",
  37. "chai": "4.2.0",
  38. "chalk": "2.4.2",
  39. "clean-webpack-plugin": "3.0.0",
  40. "eslint": "6.4.0",
  41. "eslint-plugin-import": "2.18.2",
  42. "eslint-watch": "6.0.1",
  43. "express": "4.17.1",
  44. "file-loader": "4.2.0",
  45. "html-webpack-plugin": "3.2.0",
  46. "mocha": "6.2.0",
  47. "npm-run-all": "4.1.5",
  48. "open": "6.4.0",
  49. "path": "0.12.7",
  50. "raw-loader": "3.1.0",
  51. "webpack": "4.41.0",
  52. "webpack-cli": "3.3.9",
  53. "webpack-dev-middleware": "3.7.2",
  54. "webpack-md5-hash": "0.0.6"
  55. }
  56. }