polymer.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "entrypoint": "index.html",
  3. "shell": "src/components/shop-app.js",
  4. "sources": [
  5. "data/**/*",
  6. "images/**/*"
  7. ],
  8. "extraDependencies": [
  9. "manifest.json",
  10. "node_modules/@webcomponents/webcomponentsjs/**",
  11. "push-manifest.json"
  12. ],
  13. "builds": [
  14. {
  15. "name": "esm-bundled",
  16. "browserCapabilities": [
  17. "es2015",
  18. "modules"
  19. ],
  20. "js": {
  21. "minify": true
  22. },
  23. "css": {
  24. "minify": true
  25. },
  26. "html": {
  27. "minify": true
  28. },
  29. "bundle": true,
  30. "addServiceWorker": true
  31. },
  32. {
  33. "name": "es6-bundled",
  34. "browserCapabilities": [
  35. "es2015"
  36. ],
  37. "js": {
  38. "compile": "es2015",
  39. "minify": true,
  40. "transformModulesToAmd": true
  41. },
  42. "css": {
  43. "minify": true
  44. },
  45. "html": {
  46. "minify": true
  47. },
  48. "bundle": true,
  49. "addServiceWorker": true
  50. },
  51. {
  52. "name": "es5-bundled",
  53. "js": {
  54. "compile": "es5",
  55. "minify": true,
  56. "transformModulesToAmd": true
  57. },
  58. "css": {
  59. "minify": true
  60. },
  61. "html": {
  62. "minify": true
  63. },
  64. "bundle": true,
  65. "addServiceWorker": true
  66. }
  67. ],
  68. "moduleResolution": "node",
  69. "npm": true,
  70. "lint": {
  71. "rules": [
  72. "polymer-3"
  73. ]
  74. }
  75. }