package.json 2.6 KB

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