package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "math.miniapp",
  3. "version": "0.1.0",
  4. "private": true,
  5. "description": "知了数学教师工作台小程序",
  6. "packageManager": "pnpm@10.34.9",
  7. "engines": {
  8. "node": ">=22.18.0"
  9. },
  10. "scripts": {
  11. "dev": "node scripts/taro.mjs watch weapp development",
  12. "dev:test": "node scripts/taro.mjs watch weapp test",
  13. "dev:h5": "node scripts/taro.mjs watch h5 development",
  14. "build": "node scripts/taro.mjs build weapp production",
  15. "build:dev": "node scripts/taro.mjs build weapp development",
  16. "build:test": "node scripts/taro.mjs build weapp test",
  17. "build:production": "node scripts/taro.mjs build weapp production",
  18. "build:all": "node scripts/taro.mjs build weapp all",
  19. "build:h5": "node scripts/taro.mjs build h5 development",
  20. "typecheck": "tsc --noEmit",
  21. "lint": "eslint .",
  22. "test": "node --experimental-strip-types --test tests/environment.test.mjs",
  23. "test:e2e": "playwright test"
  24. },
  25. "dependencies": {
  26. "@babel/runtime": "^7.28.0",
  27. "@tarojs/components": "4.3.1",
  28. "@tarojs/helper": "4.3.1",
  29. "@tarojs/plugin-framework-react": "4.3.1",
  30. "@tarojs/plugin-platform-h5": "4.3.1",
  31. "@tarojs/plugin-platform-weapp": "4.3.1",
  32. "@tarojs/react": "4.3.1",
  33. "@tarojs/runtime": "4.3.1",
  34. "@tarojs/shared": "4.3.1",
  35. "@tarojs/taro": "4.3.1",
  36. "react": "18.3.1",
  37. "react-dom": "18.3.1"
  38. },
  39. "devDependencies": {
  40. "@babel/core": "^7.28.0",
  41. "@babel/plugin-proposal-decorators": "^7.29.7",
  42. "@babel/plugin-transform-class-properties": "^7.29.7",
  43. "@babel/preset-react": "^7.27.0",
  44. "@eslint/js": "^9.39.0",
  45. "@playwright/test": "^1.59.1",
  46. "@tarojs/cli": "4.3.1",
  47. "@tarojs/vite-runner": "4.3.1",
  48. "@types/node": "^22.0.0",
  49. "@types/react": "^18.3.0",
  50. "@types/react-dom": "^18.3.0",
  51. "@vitejs/plugin-react": "^4.7.0",
  52. "babel-preset-taro": "4.3.1",
  53. "eslint": "^9.39.0",
  54. "eslint-plugin-react-hooks": "^5.2.0",
  55. "globals": "^16.0.0",
  56. "postcss": "^8.5.6",
  57. "react-refresh": "^0.14.2",
  58. "sass": "^1.93.0",
  59. "terser": "^5.44.0",
  60. "typescript": "~5.8.3",
  61. "typescript-eslint": "^8.30.1",
  62. "vite": "^4.5.14"
  63. },
  64. "browserslist": [
  65. "defaults and fully supports es6-module",
  66. "maintained node versions"
  67. ]
  68. }