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.

package.json 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. {
  2. "name": "dreamtime",
  3. "description": "Friendly user interface for DreamPower.",
  4. "author": "DreamNet <dreamtime@dreamnet.tech>",
  5. "homepage": "https://time.dreamnet.tech",
  6. "version": "1.1.1",
  7. "main": "electron/index.js",
  8. "license": "GPL-3.0-only",
  9. "private": true,
  10. "repository": {
  11. "type": "git",
  12. "url": "git+https://github.com/dreamnettech/dreamtime.git"
  13. },
  14. "bugs": {
  15. "url": "https://github.com/dreamnettech/dreamtime/issues"
  16. },
  17. "build": {
  18. "appId": "com.dreamnet.dreamtime",
  19. "productName": "DreamTime",
  20. "directories": {
  21. "output": "../dist"
  22. },
  23. "files": [
  24. "!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme}",
  25. "!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
  26. "!**/node_modules/*.d.ts",
  27. "!**/node_modules/.bin",
  28. "!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj,vscode,env.example,eslintrc.json,prettierrc,tgz}",
  29. "!.editorconfig",
  30. "!**/._*",
  31. "!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}",
  32. "!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}",
  33. "!**/{appveyor.yml,.travis.yml,circle.yml}",
  34. "!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}",
  35. "!**/{components,cli,layouts,middleware,mixins,pages,patches,plugins,scripts,store,third,nucleus.json,tailwind.config.js}"
  36. ],
  37. "win": {
  38. "icon": "static/app.ico",
  39. "target": [
  40. {
  41. "target": "nsis",
  42. "arch": "x64"
  43. }
  44. ],
  45. "extraResources": [
  46. {
  47. "from": "node_modules/regedit/vbs",
  48. "to": "vbs"
  49. }
  50. ],
  51. "extraFiles": [
  52. {
  53. "from": ".env",
  54. "to": ".env"
  55. }
  56. ]
  57. },
  58. "linux": {
  59. "target": "deb",
  60. "icon": "static/app.icns",
  61. "executableName": "DreamTime",
  62. "category": "Graphics",
  63. "extraFiles": [
  64. {
  65. "from": ".env",
  66. "to": ".env"
  67. }
  68. ]
  69. },
  70. "mac": {
  71. "target": "dmg",
  72. "icon": "static/app.icns",
  73. "category": "public.app-category.graphics-design",
  74. "extraFiles": [
  75. {
  76. "from": ".env",
  77. "to": "MacOS/.env"
  78. }
  79. ]
  80. },
  81. "nsis": {
  82. "oneClick": false,
  83. "artifactName": "${productName}-v${version}-windows.${ext}",
  84. "menuCategory": true,
  85. "perMachine": false,
  86. "allowToChangeInstallationDirectory": true,
  87. "installerIcon": "static/app.ico",
  88. "uninstallerIcon": "static/app.ico",
  89. "license": "LICENSE"
  90. },
  91. "deb": {
  92. "artifactName": "${productName}-v${version}-ubuntu.${ext}",
  93. "fpm": [
  94. "--deb-no-default-config-files"
  95. ]
  96. },
  97. "dmg": {
  98. "title": "${productName} v${version}",
  99. "artifactName": "${productName}-v${version}-macos.${ext}"
  100. }
  101. },
  102. "scripts": {
  103. "lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
  104. "postinstall": "patch-package",
  105. "pack": "electron-builder --dir",
  106. "dev:nuxt": "cross-env NODE_ENV=development nuxt",
  107. "dev:electron": "cross-env NODE_ENV=development DEBUG=app:* electron .",
  108. "build:nuxt": "cross-env NODE_ENV=production nuxt build",
  109. "build:electron": "cross-env NODE_ENV=production electron-builder --publish=never",
  110. "build": "yarn build:nuxt && yarn build:electron",
  111. "preview": "yarn build:nuxt && yarn preview:electron",
  112. "preview:electron": "cross-env NODE_ENV=production DEBUG=app:* DEVTOOLS=true electron ."
  113. },
  114. "husky": {
  115. "hooks": {
  116. "pre-commit": "yarn lint"
  117. }
  118. },
  119. "dependencies": {
  120. "7zip-bin": "^5.0.3",
  121. "@nuxtjs/dotenv": "^1.4.1",
  122. "@nuxtjs/pwa": "^2.6.0",
  123. "axios": "^0.19.0",
  124. "better-queue": "^3.8.10",
  125. "better-queue-memory": "^1.0.4",
  126. "clipboard": "^2.0.4",
  127. "compare-versions": "^3.5.1",
  128. "cropperjs": "^1.5.6",
  129. "debug": "^4.1.1",
  130. "deferred": "^0.7.11",
  131. "electron-context-menu": "^0.15.1",
  132. "electron-nucleus": "^2.4.0",
  133. "electron-utils": "^3.0.11",
  134. "filesize": "^6.0.1",
  135. "gpu-info": "^0.0.1",
  136. "gsap": "^3.0.1",
  137. "image-js": "^0.21.8",
  138. "ipfs": "^0.39.0",
  139. "js-event-bus": "^1.0.0",
  140. "lodash": "^4.17.15",
  141. "markdown": "^0.5.0",
  142. "md5": "^2.2.1",
  143. "mime-types": "^2.1.25",
  144. "moment": "^2.24.0",
  145. "node-7z": "^2.0.3",
  146. "nuxt": "^2.10.2",
  147. "patch-package": "^6.2.0",
  148. "postinstall-postinstall": "^2.0.0",
  149. "randomcolor": "^0.5.4",
  150. "randomstring": "^1.1.5",
  151. "raw-loader": "^3.1.0",
  152. "regedit": "^3.0.3",
  153. "rollbar": "^2.14.4",
  154. "supports-color": "^7.1.0",
  155. "sweetalert": "^2.1.2",
  156. "tippy.js": "^5.1.1",
  157. "unzipper": "^0.10.5",
  158. "uuid": "^3.3.3"
  159. },
  160. "devDependencies": {
  161. "@babel/cli": "^7.7.0",
  162. "@babel/core": "^7.7.2",
  163. "@nuxtjs/eslint-config": "^1.1.2",
  164. "@nuxtjs/eslint-module": "^1.1.0",
  165. "@nuxtjs/tailwindcss": "^1.2.0",
  166. "@octokit/rest": "^16.35.0",
  167. "babel-eslint": "^10.0.3",
  168. "cross-env": "^6.0.3",
  169. "electron": "^7.1.1",
  170. "electron-builder": "^22.1.0",
  171. "electron-devtools-installer": "^2.2.4",
  172. "electron-rebuild": "^1.8.6",
  173. "eslint": "^6.6.0",
  174. "eslint-config-airbnb-base": "^14.0.0",
  175. "eslint-config-prettier": "^6.5.0",
  176. "eslint-config-standard": ">=14.1.0",
  177. "eslint-plugin-import": ">=2.18.2",
  178. "eslint-plugin-jest": ">=23.0.4",
  179. "eslint-plugin-lodash": "^6.0.0",
  180. "eslint-plugin-node": ">=10.0.0",
  181. "eslint-plugin-nuxt": ">=0.5.0",
  182. "eslint-plugin-prettier": "^3.1.1",
  183. "eslint-plugin-promise": ">=4.2.1",
  184. "eslint-plugin-standard": ">=4.0.1",
  185. "eslint-plugin-vue": "^6.0.1",
  186. "husky": "^3.0.9",
  187. "node-sass": "^4.13.0",
  188. "nodemon": "^1.19.4",
  189. "nuxtjs-electron": "^0.1.10",
  190. "prettier": "^1.19.1",
  191. "rollbar-sourcemap-webpack-plugin": "^2.5.1",
  192. "sass-loader": "^8.0.0",
  193. "tailwindcss": "^1.1.3",
  194. "tailwindcss-alpha": "hacknug/tailwindcss-alpha#feature/tests"
  195. }
  196. }