package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "name": "violentmonkey",
  3. "description": "Violentmonkey",
  4. "version": "2.14.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. "svgo": "plaid svgo",
  18. "test": "cross-env BABEL_ENV=test TEST=test jest test",
  19. "ci": "run-p lint test",
  20. "bumpVersion": "gulp bump",
  21. "bump": "run-s ci \"bumpVersion --commit\"",
  22. "preversion": "run-s ci \"bumpVersion --reset\""
  23. },
  24. "devDependencies": {
  25. "@actions/core": "^1.9.0",
  26. "@actions/github": "^5.0.3",
  27. "@babel/helper-plugin-utils": "^7.18.6",
  28. "@babel/plugin-syntax-function-bind": "^7.18.6",
  29. "@gera2ld/plaid": "~2.5.6",
  30. "@gera2ld/plaid-common-ts": "~2.5.1",
  31. "@gera2ld/plaid-test": "~2.5.8",
  32. "@gera2ld/plaid-webpack": "~2.5.7",
  33. "@gera2ld/plaid-webpack-vue3": "~2.5.7",
  34. "@types/chrome": "^0.0.208",
  35. "@types/firefox-webext-browser": "94.0.1",
  36. "@violentmonkey/types": "0.1.5",
  37. "amo-upload": "^0.2.1",
  38. "babel-plugin-transform-modern-regexp": "^0.0.6",
  39. "cross-env": "^7.0.3",
  40. "cross-spawn": "^7.0.3",
  41. "del": "^6.1.1",
  42. "fancy-log": "^2.0.0",
  43. "gulp": "^4.0.2",
  44. "gulp-plumber": "^1.1.0",
  45. "husky": "^8.0.1",
  46. "jest-environment-jsdom": "^29.0.3",
  47. "js-yaml": "^4.1.0",
  48. "node-fetch": "^3.2.10",
  49. "plugin-error": "^2.0.0",
  50. "postcss-scss": "^4.0.4",
  51. "postcss-simple-vars": "^6.0.3",
  52. "sharp": "^0.31.0",
  53. "through2": "^4.0.2",
  54. "vinyl": "^2.2.1",
  55. "wrapper-webpack-plugin": "2.2.2"
  56. },
  57. "author": "Gerald <[email protected]>",
  58. "repository": {
  59. "type": "git",
  60. "url": "https://github.com/violentmonkey/violentmonkey.git"
  61. },
  62. "bugs": {
  63. "url": "https://github.com/violentmonkey/violentmonkey/issues"
  64. },
  65. "homepage": "https://github.com/violentmonkey/violentmonkey",
  66. "license": "MIT",
  67. "dependencies": {
  68. "@violentmonkey/shortcut": "^1.2.6",
  69. "@zip.js/zip.js": "2.4.4",
  70. "codemirror": "^5.65.10",
  71. "tldjs": "^2.3.1",
  72. "vue": "^3.2.45",
  73. "vueleton": "^2.0.1"
  74. },
  75. "engines": {
  76. "node": ">=16"
  77. },
  78. "jest": {
  79. "setupFilesAfterEnv": [
  80. "./test/mock/index.js"
  81. ],
  82. "testEnvironment": "./test/mock/env.js"
  83. }
  84. }