Skip to content

Commit

Permalink
feat: test:only script
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Feb 12, 2019
1 parent 690f7cb commit 5c1a5b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tasks/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ module.exports = (config) => {
prepublish: 'npm run build',
release: 'standard-version',
security: 'npm audit',
test: 'jest',
'test:only': 'jest',
'test:watch': 'jest --watch',
'test:coverage': "jest --collectCoverageFrom='src/**/*.js' --coverage",
pretest: 'npm run lint',
test: 'npm run test:only',
'ci:lint': 'npm run lint && npm run security',
'ci:test': 'npm run test -- --runInBand',
'ci:coverage': 'npm run test:coverage -- --runInBand',
Expand Down

0 comments on commit 5c1a5b8

Please sign in to comment.