1 Star 1 Fork 0

Vue.js/vue-test-utils-jest-example

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
文蔺 提交于 2018-09-14 23:46 . chore: upgrade vue-jest to v2.6.0 (#26)
{
"name": "vue-test-utils-jest-example",
"description": "Example project using Jest + vue-test-utils together",
"version": "1.0.0",
"author": "Evan You <yyx990803@gmail.com>",
"private": true,
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server --open --hot",
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
"test": "jest"
},
"dependencies": {
"vue": "^2.4.4"
},
"devDependencies": {
"@vue/test-utils": "^1.0.0-beta.25",
"babel-core": "^6.26.0",
"babel-jest": "^21.2.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"cross-env": "^5.0.5",
"css-loader": "^0.28.7",
"file-loader": "^1.1.4",
"jest": "^21.2.1",
"jest-serializer-vue": "^0.2.0",
"vue-jest": "^2.6.0",
"vue-loader": "^13.0.5",
"vue-server-renderer": "^2.4.4",
"vue-template-compiler": "^2.4.4",
"webpack": "^3.6.0",
"webpack-dev-server": "^2.9.1"
},
"jest": {
"moduleFileExtensions": [
"js",
"vue"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
},
"transform": {
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/vue-jest"
},
"snapshotSerializers": [
"<rootDir>/node_modules/jest-serializer-vue"
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/vuejs/vue-test-utils-jest-example.git
git@gitee.com:vuejs/vue-test-utils-jest-example.git
vuejs
vue-test-utils-jest-example
vue-test-utils-jest-example
master

搜索帮助