forked from react-native-async-storage/async-storage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
148 lines (148 loc) · 5.05 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "@react-native-async-storage/async-storage",
"version": "1.13.0",
"description": "Asynchronous, persistent, key-value storage system for React Native.",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"react-native": "src/index.js",
"types": "./types/index.d.ts",
"files": [
"lib/",
"src/",
"jest/",
"types/",
"android/src",
"android/build.gradle",
"android/testresults.gradle",
"ios/",
"macos/",
"windows/",
"RNCAsyncStorage.podspec"
],
"author": "Krzysztof Borowy <[email protected]>",
"contributors": [
"Evan Bacon <[email protected]> (https://github.com/evanbacon)"
],
"homepage": "https://github.com/react-native-async-storage/async-storage#readme",
"license": "MIT",
"keywords": [
"react-native",
"react native",
"async storage",
"asyncstorage",
"storage"
],
"repository": {
"type": "git",
"url": "https://github.com/react-native-async-storage/async-storage.git"
},
"scripts": {
"ci": "yarn --pure-lockfile --non-interactive --cache-folder .cache/yarn",
"format:c": "clang-format -i $(git ls-files '*.cpp' '*.h' '*.m' '*.mm')",
"format:js": "prettier --write $(git ls-files '*.js' '*.json' '*.yml')",
"prepare": "bob build",
"start": "node node_modules/react-native/local-cli/cli.js start",
"start:android": "react-native run-android --root example/",
"start:ios": "react-native run-ios --project-path example/ios --scheme AsyncStorageExample",
"start:web": "expo start:web",
"start:macos": "react-native start --use-react-native-macos",
"start:windows": "react-native start --use-react-native-windows",
"build:e2e:android": "scripts/android_e2e.sh 'build'",
"build:e2e:ios": "scripts/ios_e2e.sh 'build'",
"build:e2e:macos": "scripts/macos_e2e.sh 'build'",
"bundle:android": "scripts/android_e2e.sh 'bundle'",
"bundle:ios": "scripts/ios_e2e.sh 'bundle'",
"bundle:macos": "react-native bundle --entry-file index.js --platform macos --bundle-output example/index.macos.jsbundle --use-react-native-macos",
"test": "yarn test:lint && yarn test:flow",
"test:flow": "flow check",
"test:lint": "eslint src/**/*.js example/**/*.js jest/*.js",
"test:e2e:android": "detox test -c android.emu.release --maxConcurrency 1",
"test:e2e:ios": "detox test -c ios.sim.release --maxConcurrency 1",
"test:e2e:macos": "scripts/macos_e2e.sh 'test'"
},
"dependencies": {
"merge-options": "^3.0.4"
},
"peerDependencies": {
"react-native": "^0.60.6 || ^0.61.5 || ^0.62.2 || ^0.63.2 || ^0.64.0 || 1000.0.0"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/runtime": "^7.8.4",
"@expo/webpack-config": "^0.12.0",
"@react-native-community/cli": "^4.10.0",
"@react-native-community/cli-platform-android": "^4.10.0",
"@react-native-community/cli-platform-ios": "^4.10.0",
"@react-native-community/eslint-config": "^3.0.0",
"detox": "17.10.6",
"eslint": "^7.0.0",
"expo": "^38.0.10",
"flow-bin": "^0.122.0",
"jest": "^26.5.3",
"jest-circus": "^26.6.1",
"metro": "^0.59.0",
"metro-config": "^0.59.0",
"metro-react-native-babel-preset": "^0.59.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "0.63.4",
"react-native-builder-bob": "^0.18.0",
"react-native-macos": "^0.63.4",
"react-native-test-app": "^0.7.1",
"react-native-web": "~0.12.0",
"react-native-windows": "^0.63.18",
"react-test-renderer": "16.13.1",
"semantic-release": "^17.2.1"
},
"resolutions": {
"//": "We must use a single version of Metro otherwise bundling will break on Windows",
"metro": "^0.59.0",
"metro-config": "^0.59.0",
"metro-core": "^0.59.0",
"metro-react-native-babel-transformer": "^0.59.0",
"metro-resolver": "^0.59.0"
},
"jest": {
"preset": "react-native",
"setupFiles": [
"./example/jest.setup.js"
]
},
"detox": {
"test-runner": "jest",
"runner-config": "example/e2e/config.json",
"configurations": {
"ios.sim.release": {
"binaryPath": "example/ios/build/Build/Products/Release-iphonesimulator/ReactTestApp.app",
"type": "ios.simulator",
"device": {
"type": "iPhone 11"
}
},
"android.emu.release": {
"binaryPath": "example/android/app/build/outputs/apk/release/app-release.apk",
"testBinaryPath": "example/android/app/build/outputs/apk/androidTest/release/app-release-androidTest.apk",
"type": "android.emulator",
"device": {
"avdName": "Emu_E2E"
}
},
"android.emu.release.next": {
"binaryPath": "example/android/app/build/outputs/apk/next/app-next.apk",
"testBinaryPath": "example/android/app/build/outputs/apk/androidTest/release/app-release-androidTest.apk",
"type": "android.emulator",
"device": {
"avdName": "Emu_E2E"
}
}
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
["commonjs", { "copyFlow": true }],
"module"
]
}
}