Do you wish to register an account?
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
3.4KB

  1. {
  2. "name": "film-exif",
  3. "author": "Timothy J. Warren",
  4. "description": "A cross-platform app to edit exif tags",
  5. "version": "0.5.0",
  6. "private": true,
  7. "build": {
  8. "appId": "net.timshomepage.film-exif",
  9. "asar": true,
  10. "copyright": "Copyright © year ${author}",
  11. "files": [
  12. "src/**/*",
  13. "build/**/*",
  14. "node_modules/**/*"
  15. ],
  16. "mac": {
  17. "category": "public.app-category.photography",
  18. "icon": "assets/icons/FilmExif.icns",
  19. "identity": null
  20. }
  21. },
  22. "dependencies": {
  23. "better-sqlite3": "^5.3.0",
  24. "electron-log": "^2.2.14",
  25. "esm": "^3.0.40",
  26. "exiftool-vendored": "^7.5.0",
  27. "inferno": "^7.0.5",
  28. "inferno-bootstrap": "^7.2.0",
  29. "inferno-dev-utils": "^6.0.4",
  30. "inferno-router": "^7.0.5",
  31. "lodash-es": "^4.17.10",
  32. "ws": "^6.1.2"
  33. },
  34. "devDependencies": {
  35. "@babel/core": "^7.0.0-beta.49",
  36. "@babel/preset-env": "^7.0.0-beta.49",
  37. "babel-eslint": "^10.0.1",
  38. "babel-jest": "^23.0.1",
  39. "babel-plugin-external-helpers": "^6.22.0",
  40. "babel-plugin-module-resolver": "^3.1.1",
  41. "babel-preset-inferno-app": "^8.0.3",
  42. "babel-runtime": "^6.26.0",
  43. "bootstrap": "^4",
  44. "electron": "^4.0.1",
  45. "electron-builder": "^20.15.1",
  46. "electron-devtools-installer": "^2.2.4",
  47. "eslint": "^5.12.0",
  48. "eslint-config-happiness": "^10.2.1",
  49. "eslint-config-inferno-app": "^7.0.2",
  50. "eslint-plugin-import": "^2.14.0",
  51. "eslint-plugin-inferno": "^7.8.0",
  52. "eslint-plugin-jsx-a11y": "6.1.2",
  53. "eslint-plugin-node": "^8.0.1",
  54. "eslint-plugin-promise": "^4.0.1",
  55. "eslint-plugin-standard": "^4.0.0",
  56. "husky": "^1.3.1",
  57. "inferno-devtools": "^7.0.5",
  58. "jest": "^23.0.1",
  59. "jquery": "^3.3.1",
  60. "raf": "^3.4.0",
  61. "rollup": "^1.1.0",
  62. "rollup-plugin-alias": "^1.4.0",
  63. "rollup-plugin-babel": "^4.3.0",
  64. "rollup-plugin-commonjs": "^9.1.3",
  65. "rollup-plugin-copy": "^0.2.3",
  66. "rollup-plugin-filesize": "^6.0.0",
  67. "rollup-plugin-livereload": "^0.6.0",
  68. "rollup-plugin-node-resolve": "^4.0.0",
  69. "rollup-plugin-replace": "^2.0.0",
  70. "rollup-plugin-serve": "^1.0.0",
  71. "rollup-plugin-terser": "^4.0.2",
  72. "rollup-plugin-uglify": "^6.0.1",
  73. "rollup-plugin-visualizer": "^0.9.2"
  74. },
  75. "homepage": "/",
  76. "husky": {
  77. "hooks": {
  78. "pre-commit": "yarn lint"
  79. }
  80. },
  81. "scripts": {
  82. "build": "set NODE_ENV=production && rollup --config rollup.prod.js",
  83. "dist": "yarn run build && build",
  84. "electron-start": "set NODE_ENV=development && node src/electron/wait-inferno",
  85. "electron": "electron .",
  86. "fix": "eslint --fix src/**/*.js",
  87. "inferno-start": "set NODE_ENV=development && rollup --config rollup.dev.js --watch",
  88. "lint": "eslint src/**/*.js",
  89. "pack": "build --dir",
  90. "postinstall": "electron-builder install-app-deps",
  91. "test": "node scripts/test.js --env=jsdom"
  92. },
  93. "main": "src/electron/index.js",
  94. "jest": {
  95. "collectCoverageFrom": [
  96. "src/**/*.{js,jsx,mjs}"
  97. ],
  98. "setupFiles": [
  99. "<rootDir>/config/polyfills.js"
  100. ],
  101. "testMatch": [
  102. "<rootDir>/__tests__/**/*.{js,jsx,mjs}"
  103. ],
  104. "testEnvironment": "node",
  105. "testURL": "http://localhost",
  106. "transform": {
  107. "^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest"
  108. },
  109. "transformIgnorePatterns": [
  110. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
  111. ],
  112. "moduleFileExtensions": [
  113. "web.js",
  114. "js",
  115. "json",
  116. "web.jsx",
  117. "jsx",
  118. "node"
  119. ]
  120. }
  121. }