-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 5.01 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
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
{
"name": "sweetrn",
"description": "Sweet React Native is a template for react native featuring Multi-language, Dark-Light Themes, Typescript, Context, Styled Components, Jest, Detox, Eslint, Husky, Prettier, and more.",
"author": "Nicolás Riccardi",
"keywords": [
"react-native",
"react-native-template",
"react-native-boilerplate",
"sweet-react-native",
"sweet-rn"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nriccar/sweet-rn"
},
"version": "0.0.8",
"private": false,
"scripts": {
"adb": "adb reverse tcp:8081 tcp:8081",
"start": "react-native start",
"test": "jest --coverage",
"test:unit": "jest --coverage ./test/unit",
"test:integration": "jest --coverage ./test/integration",
"test:watch": "jest --coverage --watch",
"test:staged": "jest --coverage --bail --findRelatedTests",
"e2e:ios:test": "detox test -c ios.release",
"e2e:ios:build": "detox build -c ios.release",
"e2e:ios": "npm run e2e:ios:build && npm run e2e:ios:test",
"e2e:android:test": "detox test -c android.release",
"e2e:android:build": "detox build -c android.release",
"e2e:android": "npm run e2e:android:build && npm run e2e:android:test",
"e2e": "npm run e2e:ios && npm run e2e:android",
"lint": "eslint \"src/**/*.+(js|jsx|json|ts|tsx)\"",
"format": "npm run prettier -- --write",
"prettier": "prettier \"src/**/*.+(js|jsx|json|ts|tsx)\"",
"validate": "npm run lint && npm run format && npm run test:staged",
"": "",
"packages:check-updates": "ncu",
"packages:check-unused": "npx depcheck",
"packages:update": "ncu -u && npm run reinstall",
"refactor:check-unused-files": "npx unimported --flow",
"cache:clear": "rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/metro-* && rm -rf $TMPDIR/haste-* && watchman watch-del-all",
"reinstall": "rm -rf node_modules && rm -rf package-lock.json && rm -rf ios/Pods && rm -rf ios/Podfile.lock && npm install --force && npx pod-install && npm run bundle:ios && npm run bundle:android && npm start --reset-cache",
"bundle:ios": "react-native bundle --entry-file ./index.js --platform ios --bundle-output ios/main.jsbundle --assets-dest ios",
"bundle:android": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/",
" ": " ",
"git:push": "func() { git push; }; func",
"deploy": "npm version patch && npm publish && npm run git:push"
},
"dependencies": {
"@react-native-async-storage/async-storage": "^1.17.10",
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/native": "^6.0.12",
"@react-navigation/stack": "^6.2.3",
"jest-circus": "^29.0.3",
"lottie-react-native": "^5.1.4",
"react": "18.0.0",
"react-error-boundary": "^3.1.4",
"react-native": "0.69.5",
"react-native-gesture-handler": "^2.6.0",
"react-native-localization": "^2.3.1",
"react-native-reanimated": "^2.10.0",
"react-native-safe-area-context": "^4.3.3",
"react-native-screens": "^3.17.0",
"react-navigation": "^4.4.4",
"styled-components": "^5.3.5",
"util": "^0.12.4"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"@testing-library/jest-native": "^4.0.11",
"@testing-library/react-native": "^11.0.0",
"@tsconfig/react-native": "^2.0.2",
"@types/detox": "^18.1.0",
"@types/jasmine": "^4.3.0",
"@types/jest": "^26.0.24",
"@types/node": "^18.7.14",
"@types/react-native": "^0.69.5",
"@types/react-test-renderer": "^18.0.0",
"@types/styled-components": "^5.1.26",
"@types/styled-components-react-native": "^5.1.3",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"babel-jest": "^26.6.3",
"babel-plugin-module-resolver": "^4.1.0",
"detox": "^19.12.1",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-detox": "^1.0.0",
"husky": "^8.0.1",
"jasmine": "^4.4.0",
"jest": "^26.6.3",
"lint-staged": "^13.0.3",
"metro-react-native-babel-preset": "^0.70.3",
"prettier": "^2.7.1",
"react-test-renderer": "18.0.0",
"ts-jest": "^26.5.6",
"typescript": "^4.4.4"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"npm run validate"
]
},
"detox": {
"testRunner": "jest",
"runnerConfig": "e2e/config.json",
"skipLegacyWorkersInjection": true,
"configurations": {
"ios.release": {
"binaryPath": "./ios/build/Build/Products/Release-iphonesimulator/sweetrn.app",
"build": "xcodebuild -workspace ios/sweetrn.xcworkspace -configuration release -scheme sweetrn -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 14 Pro"
}
}
}
}