package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "name": "violentmonkey",
  3. "description": "Violentmonkey",
  4. "version": "2.27.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. "@types/chrome": "^0.0.208",
  34. "@types/firefox-webext-browser": "94.0.1",
  35. "@types/jest": "^29.5.3",
  36. "@typescript-eslint/eslint-plugin": "^6.4.0",
  37. "@typescript-eslint/parser": "^6.4.0",
  38. "@violentmonkey/types": "0.2.0",
  39. "@vue/compiler-sfc": "^3.4.38",
  40. "@vue/eslint-config-typescript": "^13.0.0",
  41. "amo-upload": "^0.5.5",
  42. "autoprefixer": "^10.4.15",
  43. "babel-jest": "^29.6.2",
  44. "babel-loader": "^9.1.3",
  45. "babel-plugin-module-resolver": "^5.0.0",
  46. "babel-plugin-transform-modern-regexp": "^0.0.6",
  47. "cross-env": "^7.0.3",
  48. "cross-spawn": "^7.0.3",
  49. "css-loader": "^6.8.1",
  50. "css-minimizer-webpack-plugin": "^7.0.0",
  51. "del": "^6.1.1",
  52. "eslint": "^8.57.1",
  53. "eslint-config-prettier": "^9.0.0",
  54. "eslint-plugin-jest": "^27.2.3",
  55. "eslint-plugin-prettier": "^5.0.0",
  56. "eslint-plugin-vue": "^9.27.0",
  57. "fancy-log": "^2.0.0",
  58. "gulp": "^4.0.2",
  59. "gulp-plumber": "^1.1.0",
  60. "html-webpack-plugin": "^5.6.0",
  61. "husky": "^8.0.1",
  62. "jest": "^29.7.0",
  63. "jest-environment-jsdom": "^29.7.0",
  64. "js-yaml": "^4.1.0",
  65. "lodash": "^4.17.21",
  66. "mini-css-extract-plugin": "^2.7.6",
  67. "npm-run-all": "^4.1.5",
  68. "plugin-error": "^2.0.0",
  69. "postcss": "^8.4.28",
  70. "postcss-calc": "^9.0.1",
  71. "postcss-import": "^15.1.0",
  72. "postcss-loader": "^7.3.3",
  73. "postcss-nested": "^6.0.1",
  74. "postcss-scss": "^4.0.4",
  75. "postcss-simple-vars": "^6.0.3",
  76. "prettier": "^3.0.2",
  77. "sharp": "^0.32.6",
  78. "style-loader": "^3.3.3",
  79. "svg-sprite-loader": "^6.0.11",
  80. "terser-webpack-plugin": "^5.3.9",
  81. "through2": "^4.0.2",
  82. "typescript": "^5.1.6",
  83. "vinyl": "^2.2.1",
  84. "vue-loader": "^17.4.2",
  85. "vue-tsc": "^2.0.29",
  86. "webpack": "^5.95.0",
  87. "webpack-bundle-analyzer": "^4.10.2",
  88. "webpack-cli": "^5.1.4"
  89. },
  90. "author": "Gerald <[email protected]>",
  91. "repository": {
  92. "type": "git",
  93. "url": "https://github.com/violentmonkey/violentmonkey.git"
  94. },
  95. "bugs": {
  96. "url": "https://github.com/violentmonkey/violentmonkey/issues"
  97. },
  98. "homepage": "https://github.com/violentmonkey/violentmonkey",
  99. "license": "MIT",
  100. "dependencies": {
  101. "@violentmonkey/shortcut": "^1.2.6",
  102. "@zip.js/zip.js": "2.4.4",
  103. "codemirror": "^5.65.10",
  104. "tldts": "^6.0.14",
  105. "vue": "^3.4.38",
  106. "vueleton": "^2.0.2"
  107. },
  108. "engines": {
  109. "node": ">=20"
  110. },
  111. "jest": {
  112. "setupFilesAfterEnv": [
  113. "./test/mock/index.js"
  114. ],
  115. "testEnvironment": "./test/mock/env.js"
  116. }
  117. }