package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "miniprogram-computed",
  3. "version": "4.3.8",
  4. "description": "Computed & watch - wechat miniprogram custom component extend behavior",
  5. "main": "dist/index.js",
  6. "types": "types/index.d.ts",
  7. "scripts": {
  8. "dev": "gulp dev",
  9. "watch": "gulp dev-watch",
  10. "build": "gulp",
  11. "gen_dts": "gulp dts",
  12. "test": "jest ./test/* --bail",
  13. "coverage": "jest ./test/* --coverage --bail",
  14. "lint": "eslint . --fix"
  15. },
  16. "miniprogram": "dist",
  17. "repository": {
  18. "type": "git",
  19. "url": "https://github.com/wechat-miniprogram/computed.git"
  20. },
  21. "files": [
  22. "src",
  23. "dist",
  24. "types",
  25. "LICENSE",
  26. "package.json",
  27. "README.md",
  28. "UPDATE.md"
  29. ],
  30. "author": "wechat-miniprogram",
  31. "license": "MIT",
  32. "devDependencies": {
  33. "@swc/cli": "^0.1.49",
  34. "@swc/core": "^1.2.80",
  35. "@types/jest": "^27.0.1",
  36. "@types/rfdc": "^1.1.0",
  37. "@types/wechat-miniprogram": "^3.0.0",
  38. "@typescript-eslint/eslint-plugin": "^2.23.0",
  39. "@typescript-eslint/parser": "^2.23.0",
  40. "codecov": "^3.7.0",
  41. "colors": "^1.4.0",
  42. "eslint": "^5.14.1",
  43. "eslint-config-airbnb-base": "13.1.0",
  44. "eslint-config-prettier": "^6.10.1",
  45. "eslint-loader": "^2.1.2",
  46. "eslint-plugin-import": "^2.16.0",
  47. "eslint-plugin-node": "^7.0.1",
  48. "eslint-plugin-prettier": "^3.1.2",
  49. "eslint-plugin-promise": "^3.8.0",
  50. "gulp": "^4.0.0",
  51. "gulp-clean": "^0.4.0",
  52. "gulp-esbuild": "^0.8.6",
  53. "gulp-swc": "^1.1.1",
  54. "gulp-typescript": "^6.0.0-alpha.1",
  55. "gulp-watch": "^5.0.1",
  56. "husky": "^7.0.2",
  57. "jest": "^27.0.6",
  58. "miniprogram-exparser": "^2.11.2",
  59. "miniprogram-simulate": "^1.2.9",
  60. "prettier": "^2.0.1",
  61. "proxy-polyfill": "^0.3.2",
  62. "ts-jest": "^27.0.5",
  63. "ts-node": "^10.2.1",
  64. "typescript": "^4.5.4"
  65. },
  66. "dependencies": {
  67. "fast-deep-equal": "^2.0.1",
  68. "rfdc": "^1.1.4"
  69. },
  70. "husky": {
  71. "hooks": {
  72. "pre-commit": "npm run lint"
  73. }
  74. },
  75. "pnpm": {
  76. "overrides": {
  77. "ansi-regex@>2.1.1 <5.0.1": ">=5.0.1",
  78. "braces@<2.3.1": ">=2.3.1",
  79. "glob-parent@<5.1.2": ">=5.1.2"
  80. }
  81. }
  82. }