| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- {
- "name": "@d8d/mini-testing-utils",
- "version": "1.0.0",
- "type": "module",
- "description": "Taro小程序测试工具包 - 提供统一的测试工具函数和mock配置",
- "main": "src/index.ts",
- "types": "src/index.ts",
- "exports": {
- ".": {
- "types": "./src/index.ts",
- "import": "./src/index.ts",
- "require": "./src/index.ts"
- },
- "./testing": {
- "types": "./testing/index.ts",
- "import": "./testing/index.ts",
- "require": "./testing/index.ts"
- },
- "./testing/setup": {
- "types": "./testing/setup.ts",
- "import": "./testing/setup.ts",
- "require": "./testing/setup.ts"
- },
- "./testing/taro-api-mock": {
- "types": "./testing/taro-api-mock.ts",
- "import": "./testing/taro-api-mock.ts",
- "require": "./testing/taro-api-mock.ts"
- },
- "./testing/taro-api-mock.ts": {
- "types": "./testing/taro-api-mock.ts",
- "import": "./testing/taro-api-mock.ts",
- "require": "./testing/taro-api-mock.ts"
- },
- "./setup": {
- "types": "./setup.ts",
- "import": "./setup.ts",
- "require": "./setup.ts"
- }
- },
- "scripts": {
- "clean": "rimraf dist",
- "build": "tsc",
- "prebuild": "pnpm run clean",
- "dev": "tsc --watch",
- "typecheck": "tsc --noEmit",
- "test": "jest",
- "test:watch": "jest --watch",
- "test:coverage": "jest --coverage"
- },
- "dependencies": {
- "@tarojs/components": "4.1.4",
- "@tarojs/taro": "4.1.4",
- "react": "^18.0.0",
- "react-dom": "^18.0.0"
- },
- "devDependencies": {
- "@testing-library/jest-dom": "^6.8.0",
- "@testing-library/react": "^16.3.0",
- "@testing-library/user-event": "^14.6.1",
- "@types/jest": "^29.5.14",
- "@types/node": "^18",
- "@types/react": "^18.0.0",
- "@types/react-dom": "^18.0.0",
- "jest": "^30.2.0",
- "jest-environment-jsdom": "^29.7.0",
- "rimraf": "^6.1.2",
- "ts-jest": "^29.4.5",
- "typescript": "^5.4.5"
- },
- "files": [
- "src",
- "testing",
- "jest-preset.js",
- "jest-preset.cjs",
- "jest-preset.ts",
- "jest-preset.json",
- "setup.ts"
- ],
- "keywords": [
- "testing",
- "jest",
- "taro",
- "mini",
- "test-utils",
- "mock"
- ],
- "author": "D8D Team",
- "license": "MIT"
- }
|