Files
devhub/package.json
Bruno Lemos c6cdad084e v0.10.0
2018-11-03 16:22:59 -03:00

125 lines
3.5 KiB
JSON

{
"name": "devhub",
"version": "0.10.0",
"scripts": {
"format": "prettier --write '{.,__tests__,src/**,web,web/src/**}/*.{js,jsx,ts,tsx}'",
"lint": "tslint -p .",
"postinstall": "patch-package",
"prepare": "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",
"web": "npm run web:start",
"web:build": "pushd web; npm run build; popd;",
"web:deploy": "pushd web; npm run deploy; popd;",
"web:serve": "pushd web; npm run serve; popd;",
"web:start": "pushd web; npm run start; popd;",
"web:test": "pushd web; npm run test; popd;",
"xcode": "open ios/devhub.xcodeproj"
},
"dependencies": {
"@octokit/rest": "^15.15.1",
"gravatar": "^1.6.0",
"hoist-non-react-statics": "^3.0.1",
"immer": "^1.7.3",
"lodash": "^4.17.11",
"moment": "^2.22.2",
"polished": "^2.3.0",
"qs": "^6.5.2",
"ramda": "^0.25.0",
"react": "16.6.0-alpha.8af6728",
"react-native": "0.57.4",
"react-native-gesture-handler": "^1.0.8",
"react-native-linear-gradient": "^2.4.2",
"react-native-safari-view": "^2.1.0",
"react-native-screens": "^1.0.0-alpha.15",
"react-native-splash-screen": "^3.1.1",
"react-native-vector-icons": "^6.0.2",
"react-navigation": "^2.18.2",
"react-redux": "^5.1.0",
"redux": "^4.0.1",
"redux-devtools-extension": "^2.13.5",
"redux-persist": "^5.10.0",
"redux-saga": "^0.16.2",
"reselect": "^4.0.0",
"warna": "^0.2.4"
},
"devDependencies": {
"@types/gravatar": "^1.4.28",
"@types/hoist-non-react-statics": "^3.0.1",
"@types/jest": "^23.3.7",
"@types/lodash": "^4.14.117",
"@types/qs": "^6.5.1",
"@types/ramda": "^0.25.39",
"@types/react": "^16.4.18",
"@types/react-native": "0.57.7",
"@types/react-native-vector-icons": "^4.6.4",
"@types/react-navigation": "^2.0.24",
"@types/react-redux": "^6.0.9",
"@types/react-test-renderer": "^16.0.3",
"babel-jest": "^23.6.0",
"husky": "^1.1.2",
"jest": "^23.6.0",
"lint-staged": "^7.3.0",
"metro-react-native-babel-preset": "^0.48.1",
"patch-package": "^6.0.0-10",
"postinstall-postinstall": "^2.0.0",
"prettier": "^1.14.3",
"react-native-typescript-transformer": "^1.2.10",
"react-test-renderer": "16.6.0-alpha.8af6728",
"ts-jest": "^23.10.4",
"tslint": "^5.11.0",
"tslint-config-airbnb": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-react": "^3.6.0",
"typescript": "^3.1.3",
"why-did-you-update": "^0.1.1"
},
"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"
},
"lint-staged": {
"linters": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"tslint --fix",
"git add"
]
},
"ignore": [
"web/src/react-app.d.ts"
]
},
"husky": {
"hooks": {
"pre-commit": "tsc && lint-staged"
}
}
}