-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 2.28 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
{
"name": "mtg-lifecounter",
"version": "0.1.0",
"private": true,
"devDependencies": {
"babel-register": "^6.26.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.18.2",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.6.1",
"husky": "^0.14.3",
"jest": "^22.4.3",
"jest-enzyme": "^4.1.1",
"jest-expo": "^25.1.0",
"react-addons-test-utils": "^15.6.2",
"react-dom": "^16.2.1",
"react-native-scripts": "^1.11.1"
},
"scripts": {
"start": "react-native start",
"bundle": "react-native bundle --platform android --dev true --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res",
"android": "react-native run-android",
"clean:node_modules": "rm -rf node_modules/ && yarn cache clean && yarn",
"ios": "react-native run-ios",
"test": "node node_modules/jest/bin/jest.js",
"test:dev": "node node_modules/jest/bin/jest.js --watch",
"test:cov": "node node_modules/jest/bin/jest.js --coverage",
"test:dev:cov": "node node_modules/jest/bin/jest.js --watch --coverage",
"lint": "./node_modules/.bin/eslint js/",
"lint:no-ignore": "./node_modules/.bin/eslint --no-ignore js/",
"precommit": "yarn lint"
},
"jest": {
"preset": "react-native",
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|react-navigation)"
],
"setupFiles": [
"<rootDir>/jest/setup.js"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 80,
"lines": 80,
"statements": 80
},
"js/components/**/index.js": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
},
"js/components/**/styles.js": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
},
"js/**/*.container.js": {
"lines": 0
}
}
},
"dependencies": {
"prop-types": "^15.5.10",
"react": "^16.3.2",
"react-native": "^0.55.4",
"react-native-vector-icons": "^4.6.0",
"react-navigation": "^2.0.1",
"react-navigation-header-buttons": "^0.0.7"
}
}