Skip to content

Instantly share code, notes, and snippets.

@agcty
Last active December 21, 2019 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agcty/aec5d6bd8fcc44dab4e0ac57e8cedec3 to your computer and use it in GitHub Desktop.
Save agcty/aec5d6bd8fcc44dab4e0ac57e8cedec3 to your computer and use it in GitHub Desktop.
Package file for Jest sample config
{
"name": "nuxt-jest",
"version": "1.0.0",
"description": "Nuxt jest sample config",
"author": "Alex Gogl",
"private": true,
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate",
"test": "jest"
},
"dependencies": {
"nuxt": "^2.11.0"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@vue/test-utils": "^1.0.0-beta.30",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.9.0",
"cross-env": "^6.0.3",
"jest": "^24.9.0",
"jest-serializer-vue": "^2.0.2",
"vue-jest": "^3.0.5"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment