-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 2.59 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
78
79
80
81
82
83
84
85
86
87
88
{
"name": "react-native-ultimate-boilerplate",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"lint": "tslint --project tsconfig.json",
"lint:fix": "tslint --project tsconfig.json --fix",
"android:debug": "yarn android:run --appIdSuffix=debug",
"android:run": "react-native run-android",
"android:menu": "adb shell input keyevent 82",
"android:clean": "cd android && ./gradlew clean cd ..",
"reverse": "yarn reverse:8081 && yarn reverse:9090 && yarn reverse:7007",
"reverse:7007": "adb reverse tcp:7007 tcp:7007",
"reverse:8081": "adb reverse tcp:8081 tcp:8081",
"reverse:9090": "adb reverse tcp:9090 tcp:9090",
"storybook": "storybook start"
},
"typings": "typings/index.d.ts",
"dependencies": {
"babel-runtime": "^6.26.0",
"core-js": "3",
"react": "16.8.3",
"react-dom": "^16.8.6",
"react-native": "0.59.0",
"react-redux": "^6.0.1",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"webpack": "^4.29.6"
},
"devDependencies": {
"@babel/core": "^7.4.0",
"@babel/runtime": "^7.3.4",
"@storybook/react-native": "^5.1.0-alpha.20",
"@storybook/addon-actions": "^5.1.0-alpha.20",
"@storybook/addon-links": "^5.1.0-alpha.20",
"@storybook/addons": "^5.1.0-alpha.20",
"@types/color": "^3.0.0",
"@types/jest": "^24.0.11",
"@types/react": "^16.8.8",
"@types/react-native": "^0.57.40",
"@types/react-test-renderer": "^16.8.1",
"babel-jest": "^24.5.0",
"husky": "^1.3.1",
"jest": "^24.5.0",
"lint-staged": "^8.1.5",
"metro-react-native-babel-preset": "^0.53.0",
"prettier": "^1.16.4",
"react-test-renderer": "16.8.3",
"tslint": "^5.14.0",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^3.6.0",
"typescript": "^3.3.3333",
"babel-core": "^6.26.3",
"prop-types": "^15.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/"
],
"cacheDirectory": ".jest/cache"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{src,test,app}/**/*.{ts,tsx}": [
"prettier --write / yarn lint",
"git add"
]
}
}