Skip to content

Instantly share code, notes, and snippets.

@MonikaMahanthappa
Created September 25, 2018 04:36
Show Gist options
  • Save MonikaMahanthappa/be3258c7767f7b0b2ed8bac84f79f664 to your computer and use it in GitHub Desktop.
Save MonikaMahanthappa/be3258c7767f7b0b2ed8bac84f79f664 to your computer and use it in GitHub Desktop.
same packge for jest native
{
"name": "my-new-project",
"main": "node_modules/expo/AppEntry.js",
"private": true,
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"eject": "expo eject",
"test": "node ./node_modules/jest/bin/jest.js --env=jsdom --watchAll"
},
"jest": {
"preset": "jest-expo",
"setupTestFrameworkScriptFile": "./node_modules/jest-enzyme/lib/index.js",
"setupFiles": [
"enzyme-react-16-adapter-setup"
],
"testURL": "http://localhost",
"testMatch": [
"**/?(*-)test.js?(x)"
],
"transformIgnorePatterns": []
},
"dependencies": {
"@expo/samples": "2.1.1",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"expo": "^30.0.1",
"prop-types": "^15.6.2",
"react": "16.3.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz",
"react-navigation": "^2.16.0"
},
"devDependencies": {
"babel-eslint": "^9.0.0",
"babel-jest": "^23.6.0",
"enzyme-react-16-adapter-setup": "^0.1.0",
"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",
"jest": "^23.6.0",
"jest-enzyme": "^6.1.2",
"jest-expo": "30.0.0",
"react-dom": "16",
"react-test-renderer": "^16.5.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment