mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-18 03:58:44 +08:00
79 lines
3.0 KiB
JSON
79 lines
3.0 KiB
JSON
{
|
|
"name": "devhub",
|
|
"version": "0.2.3",
|
|
"private": true,
|
|
"scripts": {
|
|
"start": "node node_modules/react-native/local-cli/cli.js start",
|
|
"web": "npm run web:start",
|
|
"web:start": "node web/scripts/start.js",
|
|
"web:build": "node web/scripts/build.js",
|
|
"web:build:serve": "pushstate-server web/build",
|
|
"web:test": "node web/scripts/test.js",
|
|
"test": "jest",
|
|
"flow": "flow ./src",
|
|
"lint": "eslint ./src",
|
|
"lint-fix": "eslint ./src --fix",
|
|
"get-flatlist": "mkdir -p node_modules/react-native/Libraries/CustomComponents/Lists/; for file in 'FlatList' 'MetroListView' 'SectionList' 'ViewabilityHelper' 'VirtualizeUtils' 'VirtualizedList' 'VirtualizedSectionList'; do curl https://raw.githubusercontent.com/facebook/react-native/master/Libraries/CustomComponents/Lists/${file}.js > node_modules/react-native/Libraries/CustomComponents/Lists/${file}.js; done",
|
|
"postinstall": "npm run get-flatlist && remotedev-debugger --hostname localhost --port 8800 --injectdebugger --injectserver",
|
|
"xcode": "open ios/devhub.xcodeproj",
|
|
"studio": "open -a /Applications/Android\\ Studio.app ./android/"
|
|
},
|
|
"dependencies": {
|
|
"babel-polyfill": "^6.23.0",
|
|
"bugsnag-react-native": "^2.1.0",
|
|
"denormalizr": "^0.5.2",
|
|
"firebase": "^3.6.10",
|
|
"github": "https://github.com/brunolemos/react-native-github-api",
|
|
"gravatar": "^1.6.0",
|
|
"immutable": "^3.8.1",
|
|
"lodash": "^4.17.3",
|
|
"moment": "^2.17.0",
|
|
"normalizr": "^3.2.2",
|
|
"qs": "^6.3.1",
|
|
"react": "~15.4.0",
|
|
"react-native": "^0.42.0",
|
|
"react-native-actionsheet": "^2.0.4",
|
|
"react-native-immutable-list-view": "^0.3.0",
|
|
"react-native-linear-gradient": "^2.0.0",
|
|
"react-native-orientation-listener": "https://github.com/iRoachie/react-native-orientation-listener",
|
|
"react-native-prompt-android": "^0.0.5",
|
|
"react-native-vector-icons": "^4.0.0",
|
|
"react-navigation": "^1.0.0-beta.6",
|
|
"react-redux": "^5.0.3",
|
|
"redux": "^3.6.0",
|
|
"redux-immutable": "^3.0.11",
|
|
"redux-persist": "^4.4.2",
|
|
"redux-persist-immutable": "^4.1.0",
|
|
"redux-saga": "^0.14.3",
|
|
"remote-redux-devtools": "^0.5.4",
|
|
"reselect": "^2.5.4",
|
|
"styled-components": "^1.4.4",
|
|
"warna": "^0.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^7.1.1",
|
|
"babel-jest": "^19.0.0",
|
|
"babel-plugin-transform-es2015-parameters": "^6.22.0",
|
|
"babel-preset-es2015": "^6.22.0",
|
|
"babel-preset-react-native": "1.9.1",
|
|
"babel-preset-react-native-stage-0": "^1.0.1",
|
|
"eslint": "^3.15.0",
|
|
"eslint-config-airbnb": "^14.1.0",
|
|
"eslint-plugin-babel": "^4.1.0",
|
|
"eslint-plugin-flowtype": "^2.30.0",
|
|
"eslint-plugin-import": "^2.2.0",
|
|
"eslint-plugin-jsx-a11y": "^3.0.2 || ^4.0.0",
|
|
"eslint-plugin-react": "^6.9.0",
|
|
"eslint-plugin-react-native": "^2.2.1",
|
|
"flow-bin": "^0.40.0",
|
|
"jest": "^19.0.2",
|
|
"jest-react-native": "^18.0.0",
|
|
"react-test-renderer": "~15.4.0",
|
|
"remote-redux-devtools-on-debugger": "^0.7.0",
|
|
"whatwg-fetch": "^2.0.2"
|
|
},
|
|
"jest": {
|
|
"preset": "jest-react-native"
|
|
}
|
|
}
|