package.json 2.5 KB

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