@thiendangit1102/rn-typescript-graphql
Version:
React Native TypeScript Apollo Graphql Boilerplate
139 lines (138 loc) • 4.85 kB
JSON
{
"name": "RNTypeScriptGraphqlBoilerplate",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios_12": "react-native run-ios",
"ios": "node node_modules/react-native/local-cli/cli.js run-ios --simulator=\"iPhone 11\"",
"start": "react-native start",
"test": "jest",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint-fix": "eslint --fix --ext index.js ./src/* --ext .js,.ts,.tsx --quiet",
"prepare": "husky install",
"check-types": "tsc",
"prettier": "prettier --ignore-path .gitignore \\\"src/**/*.+(js|json|ts|tsx)\\\"",
"format": "npm run prettier -- --write",
"check-format": "npm run prettier -- --list-different",
"validate": "npm-run-all --parallel check-format lint test",
"generatePossibleTypes": "node src/scripts/generatePossibleTypes.js",
"android-dev": "adb reverse tcp:8081 tcp:8081 && react-native run-android",
"yarn-ios": "yarn && yarn pod",
"android-release": "npx react-native run-android --variant=release",
"check-code": "prettier --check **/*.{ts,tsx,js,json,md}",
"link": "npx react-native link",
"apk": "cd android &&./gradlew clean && ./gradlew assembleRelease && cd ../../..",
"aab": "cd android &&./gradlew clean && ./gradlew bundleRelease && cd ../../..",
"pod": "cd ios && pod install && cd ../../.."
},
"dependencies": {
"@apollo/client": "^3.4.0",
"@react-native-async-storage/async-storage": "^1.15.4",
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/native": "^6.0.2",
"@react-navigation/native-stack": "^6.1.0",
"@reduxjs/toolkit": "^1.5.1",
"@types/accounting": "^0.4.1",
"@types/lodash": "^4.14.170",
"accounting": "^0.4.1",
"dayjs": "^1.10.4",
"eslint-plugin-no-inline-styles": "^1.0.5",
"eslint-plugin-unused-imports": "^1.1.1",
"graphql": "^15.5.0",
"i18next": "^20.3.0",
"jest": "^27.1.0",
"lint-staged": "^11.1.2",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"native-base": "^2.15.2",
"react": "17.0.2",
"react-fast-compare": "^3.2.0",
"react-i18next": "^11.11.0",
"react-native": "0.65.1",
"react-native-bootsplash": "^3.2.2",
"react-native-dotenv": "^2.5.5",
"react-native-fast-image": "^8.3.7",
"react-native-gesture-handler": "^1.10.3",
"react-native-reanimated": "^2.3.0-alpha.2",
"react-native-safe-area-context": "^3.2.0",
"react-native-screens": "^3.1.1",
"react-native-svg": "^12.1.1",
"react-native-vector-icons": "^8.1.0",
"react-redux": "^7.2.4",
"reanimated-bottom-sheet": "^1.0.0-alpha.22",
"redux": "^4.1.0",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.3.0"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.14.0",
"@babel/runtime": "^7.14.0",
"@emotion/eslint-plugin": "^11.2.0",
"@react-native-community/eslint-config": "^2.0.0",
"@types/jest": "^26.0.23",
"@types/react": "^17.0.4",
"@types/react-native": "^0.64.4",
"@types/react-native-dotenv": "^0.2.0",
"@types/react-native-vector-icons": "^6.4.6",
"@types/react-test-renderer": "^17.0.1",
"@types/redux-logger": "^3.0.8",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"babel-jest": "^26.6.3",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-rokket-labs": "^0.4.5",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-react-native": "^3.10.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"metro-react-native-babel-preset": "^0.66.0",
"prettier": "^2.2.1",
"prettier-eslint": "^12.0.0",
"react-native-codegen": "^0.0.7",
"react-native-svg-transformer": "^0.14.3",
"react-test-renderer": "17.0.2",
"reactotron-react-native": "^5.0.0",
"typescript": "^4.2.4",
"typescript-styled-plugin": "^0.16.0"
},
"jest": {
"preset": "react-native",
"setupFiles": [
"./jest.setup.js"
],
"transformIgnorePatterns": [
"/node_modules/(?!(react-native/))"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"resetMocks": false
},
"main": "index.js",
"keywords": [],
"author": "",
"license": "ISC",
"description": "",
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --cache --fix"
}
}