package.json 2.3 KB

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