-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.53 KB
/
package.json
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
51
52
53
54
55
56
57
58
59
{
"name": "MyAwesomeProject",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest --coverage",
"clean": "rimraf build",
"build": "npm run clean && tsc",
"lint": "tslint src/**/*.ts && tslint src/**/*.tsx --force"
},
"dependencies": {
"react": "16.0.0-alpha.6",
"react-native": "^0.44.0"
},
"devDependencies": {
"@types/enzyme": "^2.8.0",
"@types/jest": "^19.2.3",
"@types/react": "^15.0.23",
"@types/react-native": "^0.43.9",
"@types/react-test-renderer": "^15.5.0",
"babel-jest": "19.0.0",
"babel-preset-react-native": "1.9.1",
"concurrently": "^3.5.0",
"enzyme": "^2.8.2",
"jest": "^19.0.2",
"react-addons-test-utils": "^15.5.1",
"react-dom": "^15.5.4",
"react-test-renderer": "^15.5.4",
"rimraf": "^2.6.1",
"ts-jest": "^19.0.14",
"tslint": "^5.7.0",
"typescript": "^2.3.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>/build/"
],
"cacheDirectory": ".jest/cache",
"coverageDirectory": "coverage",
"coverageReporters": [
"text-summary",
"html"
]
}
}