Skip to content

Instantly share code, notes, and snippets.

@mattbanks
Last active March 12, 2018 17:59
Show Gist options
  • Save mattbanks/478b9685cb88f593fcd3bfb0309e05c4 to your computer and use it in GitHub Desktop.
Save mattbanks/478b9685cb88f593fcd3bfb0309e05c4 to your computer and use it in GitHub Desktop.
base package.json for jest and eslint
{
"name": "project-name",
"description": "project description",
"author": "Matt Banks <[email protected]>",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "project-url-here"
},
"scripts": {
"start": "something here"
},
"dependencies": {},
"devDependencies": {
"@types/jest": "^22.2.0",
"eslint": "^4.18.2",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jest": "^21.14.0",
"eslint-plugin-prettier": "^2.6.0",
"jest": "^22.4.2",
"jest-junit": "^3.6.0",
"prettier": "^1.11.1"
},
"jest-junit": {
"suiteName": "Test suite name",
"output": "./test-results.xml"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment