-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
102 lines (102 loc) · 3.83 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
{
"name": "RNStoryShots",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"build": "tsc --p ./tsconfig.lib.json",
"build:dev": "tsc --p ./tsconfig.lib.json --watch",
"test": "jest",
"storybook": "storybook start --config-dir storybook",
"test:ios:release": "detox build -c ios.sim.release && detox test -c ios.sim.release",
"test:ios:debug": "detox build -c ios.sim.debug && detox test -c ios.sim.debug",
"test:android:release": "detox build -c android.emu.release && detox test -c android.emu.release",
"test:android:debug": "detox build -c android.emu.debug && detox test -c android.emu.debug",
"docs": "cd ./website && yarn start",
"format": "prettier --config prettier.json --write \"./src/**/*.{jsx,ts,tsx}\" && git status"
},
"dependencies": {
"react": "16.6.0-alpha.8af6728",
"react-native": "0.57.4"
},
"devDependencies": {
"@storybook/addon-actions": "^4.0.4",
"@storybook/addon-info": "^4.0.4",
"@storybook/addon-links": "^4.0.4",
"@storybook/addon-storyshots": "^4.0.4",
"@storybook/addons": "^4.0.4",
"@storybook/react-native": "^4.0.4",
"@types/detox": "^9.0.0",
"@types/jest": "^23.3.9",
"@types/react": "^16.7.3",
"@types/react-native": "^0.57.7",
"@types/storybook__addon-storyshots": "^3.4.3",
"@types/storybook__react": "^4.0.0",
"@types/storybook__react-native": "^3.0.2",
"babel-core": "^6.26.3",
"babel-jest": "23.6.0",
"babel-runtime": "^6.26.0",
"detox": "^9.0.6",
"jest": "^23.6.0",
"jest-static-stubs": "^0.0.1",
"metro-react-native-babel-preset": "0.49.0",
"prettier": "^1.15.2",
"react-dom": "16.6.0-alpha.8af6728",
"react-native-typescript-transformer": "^1.2.10",
"react-test-renderer": "16.6.0-alpha.8af6728",
"storybook-addon-jsx": "^5.4.0",
"ts-jest": "^23.10.4",
"tslint": "^5.11.0",
"typescript": "^3.1.6"
},
"jest": {
"preset": "react-native",
"testEnvironment": "jsdom",
"moduleNameMapper": {
".+\\.(png)$": "jest-static-stubs/png"
},
"testPathIgnorePatterns": ["lib", "node_modules"],
"testRegex": "(/__tests__/.*|\\.(test))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js",
"\\.(ts|tsx)$": "ts-jest"
}
},
"detox": {
"test-runner": "jest",
"runner-config": "./jest/detox_config.json",
"specs": "e2e",
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/RNStoryShots.app",
"build": "xcodebuild -project ios/RNStoryShots.xcodeproj -scheme RNStoryShots -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone X"
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/RNStoryShots.app",
"build": "xcodebuild -project ios/RNStoryShots.xcodeproj -scheme RNStoryShots -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone X"
},
"android.emu.debug": {
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
"build": "pushd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && popd",
"type": "android.emulator",
"name": "Nexus_6_API_28_TEST"
},
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "pushd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && popd",
"type": "android.emulator",
"name": "Nexus_6_API_28_TEST"
}
}
}
}