mirror of
https://github.com/strapi/strapi.git
synced 2025-10-29 17:04:13 +00:00
add coverage script to helper-plugin
This commit is contained in:
parent
26f15edf22
commit
81c5cd0a6a
3
packages/core/helper-plugin/.gitignore
vendored
3
packages/core/helper-plugin/.gitignore
vendored
@ -12,4 +12,5 @@ yarn-error.log
|
||||
.DS_Store
|
||||
npm-debug.log
|
||||
.idea
|
||||
stats.html
|
||||
stats.html
|
||||
coverage
|
||||
@ -35,6 +35,7 @@
|
||||
"prepublishOnly": "npm run build",
|
||||
"storybook": "start-storybook -p 6006",
|
||||
"test:front": "jest --config ./jest.config.front.js",
|
||||
"test:front:cov": "jest --config ./jest.config.front.js --coverage --collectCoverageFrom='<rootDir>/packages/core/helper-plugin/lib/src/**/*.js' --coverageDirectory='<rootDir>/packages/core/helper-plugin/coverage'",
|
||||
"test:front:watch": "jest --config ./jest.config.front.js --watchAll",
|
||||
"watch": "yarn create:index && cross-env NODE_ENV=development webpack-cli -w"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user