|
24 | 24 | "build:tools": "tsc -p tsconfig.build.tools.json", |
25 | 25 | "downlevel": "downlevel-dts dist ts3.8/dist --to=3.8", |
26 | 26 | "clean": "rimraf dist coverage", |
27 | | - "test": "jest", |
| 27 | + "test": "yarn test:sdk && yarn test:tools", |
| 28 | + "test:sdk": "jest", |
| 29 | + "test:tools": "jest --config jest.config.tools.js", |
28 | 30 | "fix": "yarn fix:eslint && yarn fix:prettier", |
29 | 31 | "fix:eslint": "eslint --config .eslintrc.js --fix .", |
30 | 32 | "fix:prettier": "prettier --write \"{src,test,scripts}/**/**.ts\"", |
|
72 | 74 | "@sentry/wizard": "3.13.0", |
73 | 75 | "@types/jest": "^29.5.3", |
74 | 76 | "@types/react": "^18.2.14", |
| 77 | + "@types/uglify-js": "^3.17.2", |
| 78 | + "@types/uuid": "^9.0.4", |
75 | 79 | "babel-jest": "^29.6.2", |
76 | 80 | "downlevel-dts": "^0.11.0", |
77 | 81 | "eslint": "^7.6.0", |
78 | 82 | "eslint-plugin-react": "^7.20.6", |
79 | 83 | "eslint-plugin-react-native": "^3.8.1", |
80 | 84 | "jest": "^29.6.2", |
81 | 85 | "jest-environment-jsdom": "^29.6.2", |
| 86 | + "metro": "0.76", |
82 | 87 | "prettier": "^2.0.5", |
83 | 88 | "react": "18.2.0", |
84 | 89 | "react-native": "0.72.4", |
85 | 90 | "replace-in-file": "^7.0.1", |
86 | 91 | "rimraf": "^4.1.1", |
87 | 92 | "ts-jest": "^29.1.1", |
88 | | - "typescript": "4.9.5" |
| 93 | + "typescript": "4.9.5", |
| 94 | + "uglify-js": "^3.17.4", |
| 95 | + "uuid": "^9.0.1" |
89 | 96 | }, |
90 | 97 | "rnpm": { |
91 | 98 | "commands": {}, |
|
95 | 102 | }, |
96 | 103 | "ios": {} |
97 | 104 | }, |
98 | | - "jest": { |
99 | | - "collectCoverage": true, |
100 | | - "preset": "react-native", |
101 | | - "setupFilesAfterEnv": [ |
102 | | - "<rootDir>/test/mockConsole.ts" |
103 | | - ], |
104 | | - "globals": { |
105 | | - "__DEV__": true, |
106 | | - "ts-jest": { |
107 | | - "tsConfig": "./tsconfig.json", |
108 | | - "diagnostics": false |
109 | | - } |
110 | | - }, |
111 | | - "moduleFileExtensions": [ |
112 | | - "ts", |
113 | | - "tsx", |
114 | | - "js" |
115 | | - ], |
116 | | - "testPathIgnorePatterns": [ |
117 | | - "<rootDir>/test/e2e/", |
118 | | - "<rootDir>/test/react-native/versions" |
119 | | - ], |
120 | | - "testEnvironment": "node", |
121 | | - "testMatch": [ |
122 | | - "**/*.test.(ts|tsx)" |
123 | | - ] |
124 | | - }, |
125 | 105 | "codegenConfig": { |
126 | 106 | "name": "RNSentrySpec", |
127 | 107 | "type": "modules", |
|
0 commit comments