forked from ethanneff/playground-react-native
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 5.25 KB
/
Copy pathpackage.json
File metadata and controls
158 lines (158 loc) · 5.25 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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "example",
"version": "0.0.0",
"private": true,
"homepage": "http://ethanneff.github.io/example",
"repository": {
"type": "git",
"url": "https://github.com/ethanneff/example.git"
},
"scripts": {
"ios": " echo 'develop on ios'; react-native run-ios --simulator \"iPhone X\"",
"android": " echo 'develop on android'; react-native run-android",
"web": " echo 'develop on web'; react-scripts start",
"build": " echo 'build production web'; react-scripts build",
"start": " echo 'run code watcher'; react-native start --reset-cache",
"debug": " echo 'run redux debugger'; open 'rndebugger://set-debugger-loc?host=localhost&port=8081'",
"test": " echo 'run unit tests'; jest --coverage -u",
"watch": " echo 'run unit tests reloader'; jest --watch",
"lint": " echo 'run code linter'; tsc && tslint --fix -p tsconfig.json -c tslint.json",
"upgrade": " echo 'run react native upgrade' yarn global add react-native-git-upgrade; react-native-git-upgrade; rm -f .babelrc; rm -f ./.buckconfig; rm -f ./.flowconfig; rm -f ./.watchmanconfig; rm -f ./.gitattributes;",
"reset": " echo 'clear react native cache'; watchman watch-del-all; rm -rf /tmp/metro-bundler-cache-*; rm -rf ./android/build; rm -rf ./android/.gradle; rm -rf ./android/app/build; rm -rf ~/Library/Developer/Xcode/DerivedData; rm -rf /tmp/haste-map-react-native-packager-*; rm -rf ./ios/build; yarn install; pod install --project-directory=ios; react-native start --reset-cache",
"semantic-release": " echo 'run continuous integration'; semantic-release",
"travis-deploy-once": " echo 'prevent multiple deploys'; travis-deploy-once"
},
"dependencies": {
"appcenter": "1.12.2",
"appcenter-analytics": "1.12.2",
"appcenter-crashes": "1.12.2",
"react": "16.8.3",
"react-art": "16.8.3",
"react-dom": "16.8.3",
"react-native": "0.58.6",
"react-native-firebase": "5.2.3",
"react-native-keyboard-aware-scroll-view": "0.8.0",
"react-native-vector-icons": "6.3.0",
"react-native-web": "0.10.0",
"react-redux": "6.0.1",
"react-router-dom": "4.3.1",
"react-router-native": "4.3.0",
"react-scripts": "2.1.5",
"redux": "4.0.1",
"redux-thunk": "2.3.0",
"reselect": "4.0.0",
"typesafe-actions": "3.2.1",
"utility-types": "3.4.1",
"uuid": "3.3.2"
},
"devDependencies": {
"@babel/plugin-transform-object-assign": "7.2.0",
"@commitlint/cli": "7.5.2",
"@commitlint/config-conventional": "7.5.0",
"@semantic-release/changelog": "3.0.2",
"@semantic-release/commit-analyzer": "6.1.0",
"@semantic-release/git": "7.0.8",
"@semantic-release/github": "5.2.10",
"@semantic-release/release-notes-generator": "7.1.4",
"@types/jest": "24.0.9",
"@types/react": "16.8.6",
"@types/react-native": "0.57.38",
"@types/react-native-vector-icons": "4.6.4",
"@types/react-redux": "7.0.1",
"@types/react-router-dom": "4.3.1",
"@types/react-router-native": "4.2.4",
"@types/react-test-renderer": "16.8.1",
"@types/uuid": "3.4.4",
"babel-jest": "23.6.0",
"codecov": "3.2.0",
"husky": "1.3.1",
"jest": "23.6.0",
"lint-staged": "8.1.5",
"prettier": "1.16.4",
"react-test-renderer": "16.8.3",
"semantic-release": "15.13.3",
"travis-deploy-once": "5.0.11",
"ts-jest": "23.10.5",
"tslint": "5.13.1",
"tslint-config-prettier": "1.18.0",
"typescript": "3.3.3333"
},
"husky": {
"hooks": {
"pre-push": "lint-staged && echo 'yarn lint && yarn test'",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,css,md}": [
"prettier --write",
"git add"
]
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"@semantic-release/changelog",
{
"changelogFile": "docs/CHANGELOG.md",
"changelogTitle": "# Changelog"
}
],
[
"@semantic-release/git",
{
"assets": [
"docs/CHANGELOG.md"
]
}
]
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"babel": {
"presets": [
"module:metro-react-native-babel-preset"
],
"plugins": [
"transform-object-assign"
]
},
"jest": {
"preset": "react-native",
"transform": {
"^.+\\.(jsx?)$": "<rootDir>/node_modules/react-native/jest/preprocessor.js",
"^.+\\.tsx?$": "ts-jest"
},
"transformIgnorePatterns": [
"node_modules/(?!react-native)/"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"globals": {
"window": true,
"ts-jest": {
"tsConfig": "./tsconfig.jest.json"
}
}
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}