Package.json

Last updated 6 months ago

This is the content of the package.json of the app:

package.json
{
"name": "Quiz",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"ios": "react-native run-ios",
"android": "react-native run-android",
"lint": "eslint *.js **/*.js",
"prettier": "prettier 'src/**/*.js'",
"flow": "flow",
"test": "jest --updateSnapshot --forceExit"
},
"dependencies": {
"babel-eslint": "^10.0.0",
"babel-preset-react-native": "4.0.0",
"babel-preset-react-native-stage-0": "^1.0.1",
"core-js": "^2.5.7",
"eslint": "^5.6.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.1",
"firebase": "^5.4.2",
"native-base": "^2.8.0",
"react": "16.4.1",
"react-native": "0.56.0",
"react-native-flash-message": "^0.1.9",
"react-navigation": "^2.13.0"
},
"devDependencies": {
"babel-jest": "23.4.2",
"flow-bin": "^0.75.0",
"husky": "^1.0.1",
"jest": "^23.5.0",
"lint-staged": "^7.3.0",
"prettier": "^1.14.3",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native",
"transformIgnorePatterns": [
"node_modules/(?!(react-native|react-native-flash-message|native-base|react-navigation)/*)"
]
},
"rnpm": {
"assets": [
"./src/font/"
]
},
"prettier": {
"jsxBracketSameLine": true,
"semi": false,
"singleQuote": true
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"pre-push": "npm test"
}
}
}