-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.43 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "ReactNativeTypescriptStarter",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"tsc": "tsc",
"clean": "rimraf artifacts",
"build": "yarn clean && yarn tsc",
"watch": "yarn build -- -w",
"start:ios":
"yarn build && concurrently -r 'yarn watch' 'react-native run-ios'",
"start:android":
"yarn build && concurrently -r 'yarn watch' 'react-native run-android'"
},
"dependencies": {
"react": "^16.2.0",
"react-native": "^0.54.2"
},
"devDependencies": {
"@types/jest": "^21.1.9",
"@types/react": "^16.0.40",
"@types/react-native": "^0.52.18",
"@types/react-test-renderer": "^16.0.0",
"babel-jest": "21.2.0",
"babel-preset-react-native": "4.0.0",
"concurrently": "^3.5.1",
"jest": "21.2.1",
"react-test-renderer": "16.0.0",
"rimraf": "^2.6.2",
"ts-jest": "^22.0.0",
"typescript": "^2.7.2"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": ["ts", "tsx", "js"],
"transform": {
"^.+\\.(js)$": "<rootDir>/node_modules/babel-jest",
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"testPathIgnorePatterns": [
"\\.snap$",
"<rootDir>/node_modules/",
"<rootDir>/lib/"
],
"cacheDirectory": ".jest/cache"
}
}