package.json 2.7 KB

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