mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-17 11:11:21 +08:00
107 lines
3.7 KiB
JSON
107 lines
3.7 KiB
JSON
{
|
|
"name": "devhub",
|
|
"displayName": "DevHub",
|
|
"version": "0.9.3",
|
|
"codeBundleId": "0.9.3",
|
|
"private": true,
|
|
"scripts": {
|
|
"flow": "flow '{.,src/**,web/{config,scripts,src}/**,jest/**}/*.js'",
|
|
"format":
|
|
"npm run format_options -- --write '{.,src/**,web/{config,scripts,src}/**,jest/**}/*.js'",
|
|
"format_options": "prettier --no-semi --trailing-comma all --single-quote",
|
|
"lint": "eslint '{.,src/**,web/{config,scripts,src},jest/**}/*.js'",
|
|
"lint-fix": "npm run lint -- --fix",
|
|
"postinstall":
|
|
"remotedev-debugger --hostname localhost --port 8805 --injectdebugger --injectserver",
|
|
"precommit": "lint-staged",
|
|
"start": "node node_modules/react-native/local-cli/cli.js start",
|
|
"studio": "open -a /Applications/Android\\ Studio.app ./android/",
|
|
"test": "jest --verbose",
|
|
"web": "npm run web:start",
|
|
"web:build": "pushd web; npm run build; popd;",
|
|
"web:build:serve": "pushd web; npm run serve; popd;",
|
|
"web:deploy": "pushd web; npm run deploy; popd;",
|
|
"web:start": "pushd web; npm run start; popd;",
|
|
"web:test": "pushd web; npm run test; popd;",
|
|
"xcode": "open ios/devhub.xcodeproj"
|
|
},
|
|
"dependencies": {
|
|
"babel-polyfill": "^6.26.0",
|
|
"bugsnag-react-native": "^2.7.5",
|
|
"denormalizr": "^0.6.0",
|
|
"github": "git+https://github.com/brunolemos/react-native-github-api.git",
|
|
"gravatar": "^1.6.0",
|
|
"immutable": "^3.8.2",
|
|
"lodash": "^4.17.4",
|
|
"moment": "^2.19.3",
|
|
"normalizr": "^3.2.4",
|
|
"prop-types": "^15.6.0",
|
|
"qs": "^6.5.1",
|
|
"react": "^16.2.0",
|
|
"react-native": "0.50.4",
|
|
"react-native-code-push": "^5.2.0-beta",
|
|
"react-native-firebase": "^3.1.1",
|
|
"react-native-immutable-list-view": "^0.6.2",
|
|
"react-native-linear-gradient": "^2.3.0",
|
|
"react-native-prompt-android": "^0.3.1",
|
|
"react-native-safari-view": "^2.1.0",
|
|
"react-native-vector-icons": "^4.4.2",
|
|
"react-native-wkwebview-reborn": "^1.10.0",
|
|
"react-navigation": "^1.0.0-beta.21",
|
|
"react-redux": "^5.0.6",
|
|
"redux": "^3.7.2",
|
|
"redux-immutable": "^4.0.0",
|
|
"redux-persist": "^4.10.2",
|
|
"redux-persist-immutable": "^4.3.1",
|
|
"redux-saga": "^0.16.0",
|
|
"remote-redux-devtools": "^0.5.12",
|
|
"reselect": "^3.0.1",
|
|
"styled-components": "^2.2.4",
|
|
"warna": "^0.2.4"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^8.0.3",
|
|
"babel-jest": "^21.2.0",
|
|
"babel-plugin-transform-es2015-parameters": "^6.24.1",
|
|
"babel-plugin-transform-remove-console": "^6.8.5",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"babel-preset-react-native": "^4.0.0",
|
|
"babel-preset-react-native-stage-0": "^1.0.1",
|
|
"eslint": "^4.9.0",
|
|
"eslint-config-airbnb": "^16.1.0",
|
|
"eslint-config-prettier": "^2.9.0",
|
|
"eslint-config-react-app": "^2.0.1",
|
|
"eslint-plugin-babel": "^4.1.2",
|
|
"eslint-plugin-flowtype": "^2.39.1",
|
|
"eslint-plugin-import": "^2.7.0",
|
|
"eslint-plugin-jsx-a11y": "^5.1.1",
|
|
"eslint-plugin-prettier": "^2.3.1",
|
|
"eslint-plugin-react": "^7.4.0",
|
|
"eslint-plugin-react-native": "^3.2.0",
|
|
"flow-bin": "^0.60.1",
|
|
"husky": "^0.14.3",
|
|
"jest": "^21.2.1",
|
|
"lint-staged": "^6.0.0",
|
|
"prettier": "^1.8.2",
|
|
"react-test-renderer": "^16.2.0",
|
|
"remote-redux-devtools-on-debugger": "^0.8.3",
|
|
"whatwg-fetch": "^2.0.3"
|
|
},
|
|
"jest": {
|
|
"preset": "react-native",
|
|
"moduleFileExtensions": ["js"],
|
|
"moduleDirectories": ["node_modules", "web/node_modules"],
|
|
"setupFiles": ["./jest/setup.js"],
|
|
"testRegex": "(src/|web/(config|scripts|src)/|jest/|).*\\.test\\.js$",
|
|
"transformIgnorePatterns": ["node_modules/(?!react*)/", "web/node_modules/(?!react*)/"]
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"npm run format_options -- --write",
|
|
"eslint --fix",
|
|
"git add",
|
|
"jest --bail --findRelatedTests"
|
|
]
|
|
}
|
|
}
|