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 6.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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.0",
  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/private-dreamnet/dreamtime.git"
  13. },
  14. "bugs": {
  15. "url": "https://github.com/private-dreamnet/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. "!{assets,modules}"
  37. ],
  38. "win": {
  39. "icon": "static/favicon.ico",
  40. "target": [
  41. {
  42. "target": "nsis",
  43. "arch": "x64"
  44. }
  45. ],
  46. "extraResources": [
  47. {
  48. "from": "node_modules/regedit/vbs",
  49. "to": "vbs"
  50. }
  51. ],
  52. "extraFiles": [
  53. {
  54. "from": ".env",
  55. "to": ".env"
  56. },
  57. {
  58. "from": "../dist/dreampower",
  59. "to": "cli",
  60. "filter": [
  61. "**/*",
  62. "!{build,checkpoints,readmeimgs}"
  63. ]
  64. }
  65. ]
  66. },
  67. "linux": {
  68. "target": "deb",
  69. "icon": "static/favicon.icns",
  70. "executableName": "DreamTime",
  71. "category": "Graphics",
  72. "extraFiles": [
  73. {
  74. "from": ".env",
  75. "to": ".env"
  76. },
  77. {
  78. "from": "../dist/dreampower",
  79. "to": "cli",
  80. "filter": [
  81. "**/*",
  82. "!{build,checkpoints,readmeimgs}"
  83. ]
  84. }
  85. ]
  86. },
  87. "mac": {
  88. "target": "dmg",
  89. "icon": "static/favicon.icns",
  90. "category": "public.app-category.graphics-design",
  91. "extraFiles": [
  92. {
  93. "from": ".env",
  94. "to": "MacOS/.env"
  95. },
  96. {
  97. "from": "../dist/dreampower",
  98. "to": "MacOS/cli",
  99. "filter": [
  100. "**/*",
  101. "!{build,checkpoints,readmeimgs}"
  102. ]
  103. }
  104. ]
  105. },
  106. "nsis": {
  107. "oneClick": false,
  108. "artifactName": "${productName}-windows-${env.BUILD_DEVICE}.${ext}",
  109. "menuCategory": true,
  110. "perMachine": false,
  111. "allowToChangeInstallationDirectory": true,
  112. "installerIcon": "static/favicon.ico",
  113. "uninstallerIcon": "static/favicon.ico",
  114. "license": "license.txt"
  115. },
  116. "deb": {
  117. "artifactName": "${productName}-ubuntu-${env.BUILD_DEVICE}.${ext}",
  118. "fpm": [
  119. "--deb-no-default-config-files"
  120. ]
  121. },
  122. "dmg": {
  123. "title": "${productName} v${version}",
  124. "artifactName": "${productName}-macos-${env.BUILD_DEVICE}.${ext}"
  125. }
  126. },
  127. "scripts": {
  128. "lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
  129. "postinstall": "patch-package",
  130. "pack": "electron-builder --dir",
  131. "dev:gui": "cross-env NODE_ENV=development nuxt",
  132. "dev:electron": "cross-env NODE_ENV=development DEBUG=app:* electron .",
  133. "build:gui": "cross-env NODE_ENV=production nuxt build",
  134. "build:electron": "cross-env NODE_ENV=production electron-builder --publish=never",
  135. "build": "yarn build:gui && yarn build:electron",
  136. "preview": "yarn build:gui && cross-env NODE_ENV=production DEBUG=app:* electron .",
  137. "release": "release-it --no-increment"
  138. },
  139. "husky": {
  140. "hooks": {
  141. "pre-commit": "yarn lint"
  142. }
  143. },
  144. "dependencies": {
  145. "@nuxtjs/dotenv": "^1.4.0",
  146. "@nuxtjs/pwa": "^2.6.0",
  147. "better-queue": "^3.8.10",
  148. "better-queue-memory": "^1.0.3",
  149. "clipboard": "^2.0.4",
  150. "compare-versions": "^3.5.0",
  151. "cropperjs": "^1.5.2",
  152. "debug": "^4.1.1",
  153. "deferred": "^0.7.11",
  154. "electron-context-menu": "^0.13.0",
  155. "electron-nucleus": "^2.1.0",
  156. "electron-utils": "^3.0.0",
  157. "filesize": "^4.1.2",
  158. "gpu-info": "^3.0.0",
  159. "gsap": "^2.1.3",
  160. "image-js": "^0.21.7",
  161. "js-event-bus": "^1.0.0",
  162. "lodash": "^4.17.11",
  163. "markdown": "^0.5.0",
  164. "md5": "^2.2.1",
  165. "mime-types": "^2.1.24",
  166. "moment": "^2.24.0",
  167. "nuxt": "^2.0.0",
  168. "patch-package": "^6.1.2",
  169. "postinstall-postinstall": "^2.0.0",
  170. "randomcolor": "^0.5.4",
  171. "randomstring": "^1.1.5",
  172. "raw-loader": "^3.0.0",
  173. "regedit": "^3.0.3",
  174. "supports-color": "^7.0.0",
  175. "sweetalert": "^2.1.2",
  176. "tippy.js": "^4.3.4",
  177. "unzipper": "^0.10.2"
  178. },
  179. "devDependencies": {
  180. "@babel/cli": "^7.5.0",
  181. "@babel/core": "^7.5.0",
  182. "@nuxtjs/eslint-config": "^0.0.1",
  183. "@nuxtjs/eslint-module": "^0.0.1",
  184. "@nuxtjs/tailwindcss": "^1.1.2",
  185. "babel-eslint": "^10.0.1",
  186. "cross-env": "^5.2.0",
  187. "electron": "^5.0.6",
  188. "electron-builder": "^20.44.4",
  189. "electron-devtools-installer": "^2.2.4",
  190. "electron-rebuild": "^1.8.5",
  191. "eslint": "^5.15.1",
  192. "eslint-config-airbnb-base": "^13.2.0",
  193. "eslint-config-prettier": "^4.1.0",
  194. "eslint-config-standard": ">=12.0.0",
  195. "eslint-plugin-import": ">=2.16.0",
  196. "eslint-plugin-jest": ">=22.3.0",
  197. "eslint-plugin-lodash": "^5.1.0",
  198. "eslint-plugin-node": ">=8.0.1",
  199. "eslint-plugin-nuxt": ">=0.4.2",
  200. "eslint-plugin-prettier": "^3.0.1",
  201. "eslint-plugin-promise": ">=4.0.1",
  202. "eslint-plugin-standard": ">=4.0.0",
  203. "eslint-plugin-vue": "^5.2.3",
  204. "husky": "^3.0.4",
  205. "node-sass": "^4.12.0",
  206. "nodemon": "^1.18.9",
  207. "nuxtjs-electron": "^0.1.10",
  208. "prettier": "^1.16.4",
  209. "release-it": "^12.3.5",
  210. "rollbar-sourcemap-webpack-plugin": "^2.5.1",
  211. "sass-loader": "^7.1.0",
  212. "tailwindcss": "^1.0.0"
  213. }
  214. }