mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-15 01:49:36 +08:00
56 lines
1.4 KiB
JSON
56 lines
1.4 KiB
JSON
{
|
|
"name": "@devhub/mobile",
|
|
"version": "0.36.3",
|
|
"private": false,
|
|
"scripts": {
|
|
"clean": "cd .",
|
|
"format": "prettier --write '{.,src/**}/*.{js,jsx,ts,tsx}'",
|
|
"lint": "tslint -p .",
|
|
"prepare": "cd .. && yarn patch-package",
|
|
"start": "node ../../node_modules/react-native/local-cli/cli.js start",
|
|
"studio": "open -a /Applications/Android\\ Studio.app ./android/",
|
|
"test": "jest",
|
|
"tsc": "tsc -b",
|
|
"xcode": "open ios/devhub.xcodeproj"
|
|
},
|
|
"dependencies": {
|
|
"@devhub/components": "0.36.3",
|
|
"metro-react-native-babel-preset": "^0.50.0",
|
|
"react": "^16.7.0-alpha.2",
|
|
"react-native": "npm:@brunolemos/react-native",
|
|
"react-native-google-analytics-bridge": "^6.1.2",
|
|
"react-native-screens": "^1.0.0-alpha.16"
|
|
},
|
|
"resolutions": {
|
|
"scheduler": "0.12.0-alpha.3"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"setupFiles": [
|
|
"./jest/setup.js"
|
|
],
|
|
"globals": {
|
|
"ts-jest": {
|
|
"useBabelrc": true
|
|
}
|
|
},
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json"
|
|
],
|
|
"transform": {
|
|
"^.+\\.(jsx?)$": "<rootDir>/node_modules/babel-jest",
|
|
"^.+\\.(tsx?)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
|
},
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
"testPathIgnorePatterns": [
|
|
"<rootDir>/node_modules/",
|
|
"<rootDir>/.history/"
|
|
],
|
|
"cacheDirectory": ".jest/cache"
|
|
}
|
|
}
|