-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.27 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "listApp",
"version": "0.0.1",
"private": true,
"scripts": {
"prebuild": "npm run lint",
"build": "node_modules/typescript/bin/tsc",
"postbuild": "npm run test",
"build:watch": "node_modules/typescript/bin/tsc --watch",
"lint": "tslint --project tsconfig.json",
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest --verbose",
"test:watch": "npm test -- --watch",
"test:coverage": "npm test -- --coverageReporters=text",
"pretest:watch": "npm run lint",
"android": "react-native run-android",
"ios": "react-native run-ios"
},
"dependencies": {
"react": "^16.2.0",
"react-native": "^0.53.0",
"tslint": "^5.9.1",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-logic": "^0.12.3",
"redux-persist": "^4.10.2",
"react-navigation-redux-helpers": "^1.0.2",
"react-navigation": "^1.4.0"
},
"devDependencies": {
"@types/jest": "^22.1.3",
"@types/react": "^16.0.38",
"@types/react-native": "^0.52.12",
"@types/react-test-renderer": "^16.0.1",
"@types/react-redux": "^5.0.14",
"@types/react-navigation": "^1.2.1",
"@types/remote-redux-devtools": "^0.5.2",
"babel-jest": "^22.2.2",
"babel-preset-react-native": "v4.0.0",
"jest": "^22.3.0",
"react-test-renderer": "^16.2.0",
"ts-jest": "^22.0.4",
"typescript": "^2.7.2",
"tslint": "^5.9.1",
"tslint-react": "^3.4.0",
"redux-devtools-extension": "^2.13.2"
},
"jest": {
"moduleNameMapper": {
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "identity-obj-proxy"
},
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"modulePathIgnorePatterns": [
"<rootDir>/build/"
],
"transform": {
"^.+\\.(js)$": "<rootDir>/node_modules/babel-jest",
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|react-navigation)"
],
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"testPathIgnorePatterns": [
"\\.snap$",
"<rootDir>/node_modules/",
"<rootDir>/build/",
"src/reducers/__tests__/Utils.ts"
],
"cacheDirectory": ".jest/cache"
}
}