package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "name": "violentmonkey",
  3. "description": "Violentmonkey",
  4. "version": "2.34.0",
  5. "scripts": {
  6. "prepare": "husky install",
  7. "dev": "gulp dev",
  8. "prebuild": "yarn ci",
  9. "build": "cross-env NODE_ENV=production gulp build",
  10. "build:selfHosted": "cross-env TARGET=selfHosted BETA=1 run-s build",
  11. "analyze": "cross-env RUN_ENV=analyze run-s build",
  12. "i18n": "gulp i18n",
  13. "copyI18n": "gulp copyI18n",
  14. "lint": "run-s lint:js lint:yml",
  15. "lint:js": "eslint --ext .js,.vue . --cache",
  16. "lint:yml": "gulp check",
  17. "test": "cross-env BABEL_ENV=test TEST=test jest test",
  18. "ci": "run-p lint test",
  19. "bumpVersion": "gulp bump",
  20. "bump": "run-s ci \"bumpVersion --commit\"",
  21. "preversion": "run-s ci \"bumpVersion --reset\""
  22. },
  23. "devDependencies": {
  24. "@actions/core": "^1.9.0",
  25. "@actions/github": "^5.0.3",
  26. "@babel/core": "^7.22.10",
  27. "@babel/eslint-parser": "^7.22.15",
  28. "@babel/helper-plugin-utils": "^7.18.6",
  29. "@babel/plugin-syntax-function-bind": "^7.18.6",
  30. "@babel/plugin-transform-runtime": "^7.22.10",
  31. "@babel/preset-env": "^7.22.10",
  32. "@babel/preset-typescript": "^7.22.5",
  33. "@iconify-json/mdi": "^1.2.3",
  34. "@types/chrome": "^0.0.208",
  35. "@types/firefox-webext-browser": "94.0.1",
  36. "@types/jest": "^29.5.3",
  37. "@typescript-eslint/eslint-plugin": "^6.4.0",
  38. "@typescript-eslint/parser": "^6.4.0",
  39. "@violentmonkey/types": "^0.3.1",
  40. "@vue/compiler-sfc": "^3.5.25",
  41. "@vue/eslint-config-typescript": "^13.0.0",
  42. "amo-upload": "^0.5.5",
  43. "autoprefixer": "^10.4.15",
  44. "babel-jest": "^29.6.2",
  45. "babel-loader": "^9.1.3",
  46. "babel-plugin-module-resolver": "^5.0.0",
  47. "babel-plugin-transform-modern-regexp": "^0.0.6",
  48. "cross-env": "^7.0.3",
  49. "cross-spawn": "^7.0.3",
  50. "css-loader": "^6.8.1",
  51. "css-minimizer-webpack-plugin": "^7.0.0",
  52. "del": "^6.1.1",
  53. "eslint": "^8.57.1",
  54. "eslint-config-prettier": "^9.0.0",
  55. "eslint-plugin-jest": "^27.2.3",
  56. "eslint-plugin-prettier": "^5.0.0",
  57. "eslint-plugin-vue": "^9.27.0",
  58. "fancy-log": "^2.0.0",
  59. "gulp": "^4.0.2",
  60. "gulp-plumber": "^1.1.0",
  61. "html-webpack-plugin": "^5.6.0",
  62. "husky": "^8.0.1",
  63. "jest": "^29.7.0",
  64. "jest-environment-jsdom": "^29.7.0",
  65. "js-yaml": "^4.1.0",
  66. "lodash": "^4.17.21",
  67. "mini-css-extract-plugin": "^2.7.6",
  68. "npm-run-all": "^4.1.5",
  69. "plugin-error": "^2.0.0",
  70. "postcss": "^8.4.28",
  71. "postcss-calc": "^9.0.1",
  72. "postcss-import": "^15.1.0",
  73. "postcss-loader": "^7.3.3",
  74. "postcss-nested": "^6.0.1",
  75. "postcss-scss": "^4.0.4",
  76. "postcss-simple-vars": "^6.0.3",
  77. "prettier": "^3.0.2",
  78. "sharp": "^0.32.6",
  79. "style-loader": "^3.3.3",
  80. "svg-sprite-loader": "^6.0.11",
  81. "terser-webpack-plugin": "^5.3.9",
  82. "through2": "^4.0.2",
  83. "typescript": "^5.1.6",
  84. "unplugin-icons": "^22.5.0",
  85. "vinyl": "^2.2.1",
  86. "vue-loader": "^17.4.2",
  87. "vue-tsc": "^2.0.29",
  88. "webpack": "^5.95.0",
  89. "webpack-bundle-analyzer": "^4.10.2",
  90. "webpack-cli": "^5.1.4"
  91. },
  92. "author": "Gerald <[email protected]>",
  93. "repository": {
  94. "type": "git",
  95. "url": "https://github.com/violentmonkey/violentmonkey.git"
  96. },
  97. "bugs": {
  98. "url": "https://github.com/violentmonkey/violentmonkey/issues"
  99. },
  100. "homepage": "https://github.com/violentmonkey/violentmonkey",
  101. "license": "MIT",
  102. "dependencies": {
  103. "@violentmonkey/shortcut": "^1.4.4",
  104. "@zip.js/zip.js": "2.4.4",
  105. "codemirror": "^5.65.20",
  106. "tldts": "^7.0.19",
  107. "vue": "^3.5.25",
  108. "vueleton": "^2.0.2"
  109. },
  110. "engines": {
  111. "node": ">=20"
  112. },
  113. "jest": {
  114. "setupFilesAfterEnv": [
  115. "./test/mock/index.js"
  116. ],
  117. "testEnvironment": "./test/mock/env.js"
  118. }
  119. }