-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
67 lines (67 loc) · 1.82 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
{
"name": "boilerplate_ts_rn",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"start:android": "react-native run-android",
"start:ios": "react-native run-ios",
"precommit": "lint-staged",
"ts": "./node_modules/.bin/tsc --watch --pretty",
"tsc": "node_modules/.bin/tsc",
"test": "jest"
},
"dependencies": {
"react": "16.4.2",
"react-native": "0.56.4"
},
"devDependencies": {
"@babel/core": "7.0.t0-beta.47",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@types/jest": "^23.3.1",
"@types/react": "^16.4.13",
"@types/react-native": "^0.56.15",
"@types/react-test-renderer": "^16.0.2",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "23.4.2",
"babel-preset-react-native": "^5",
"husky": "^0.14.3",
"jest": "^23.5.0",
"lint-staged": "^7.2.2",
"prettier": "1.14.2",
"pretty-quick": "^1.6.0",
"react-native-typescript-transformer": "^1.2.10",
"react-test-renderer": "16.4.2",
"ts-jest": "^23.1.4",
"tslint": "^5.11.0",
"tslint-config-airbnb": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-react": "^3.6.0",
"typescript": "^3.0.3",
"typescript-eslint-parser": "^18.0.0"
},
"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"
},
"lint-staged": {
"{src,test}/**/*.ts*": [
"prettier --write",
"git add"
]
}
}