|
3 | 3 | "version": "0.0.1", |
4 | 4 | "private": true, |
5 | 5 | "scripts": { |
6 | | - "start": "node node_modules/react-native/local-cli/cli.js start", |
| 6 | + "start": "node ../node_modules/react-native/local-cli/cli.js start", |
7 | 7 | "test:lint": "cd .. && yarn tslint example/src/**/*.ts{,x} && cd example", |
8 | | - "test:unit": "jest", |
9 | | - "test:unit:ci": "jest --runInBand", |
| 8 | + "test:unit": "cd .. && yarn jest --config=example/jest.config.js && cd example", |
| 9 | + "test:unit:ci": "cd .. && yarn jest --config=example/jest.config.js --runInBand && cd example", |
10 | 10 | "test:type": "tsc --noEmit", |
11 | 11 | "test": "yarn test:lint && yarn test:unit && yarn test:type", |
12 | 12 | "test:ci": "yarn test:lint && yarn test:unit:ci && yarn test:type" |
13 | 13 | }, |
14 | | - "dependencies": { |
15 | | - "mobx": "^5.9.4", |
16 | | - "mobx-react": "^5.4.3", |
17 | | - "react": "16.8.3", |
18 | | - "react-native": "0.59.5", |
19 | | - "react-gondola": "file:../src" |
20 | | - }, |
21 | 14 | "devDependencies": { |
22 | 15 | "@babel/core": "^7.4.3", |
| 16 | + "@babel/preset-typescript": "^7.3.3", |
23 | 17 | "@babel/runtime": "^7.4.3", |
24 | | - "@types/jest": "^24.0.11", |
25 | 18 | "@types/react-native": "^0.57.45", |
26 | | - "@types/react-test-renderer": "^16.8.1", |
27 | | - "babel-jest": "^24.7.1", |
28 | 19 | "babel-plugin-module-resolver": "^3.2.0", |
29 | | - "jest": "^24.7.1", |
30 | 20 | "metro-react-native-babel-preset": "^0.53.1", |
31 | | - "react-test-renderer": "16.8.6", |
32 | 21 | "typescript": "^3.4.3" |
33 | 22 | } |
34 | 23 | } |
0 commit comments