Skip to content

Commit

Permalink
build(config): update grunt config
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguttandin committed Jul 13, 2023
1 parent 339bbb0 commit 118c51f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config/grunt/sh.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module.exports = (grunt) => {
const continuous = grunt.option('continuous') === true;
const fix = grunt.option('fix') === true;

return {
'build-es2019': {
Expand All @@ -16,10 +15,10 @@ module.exports = (grunt) => {
cmd: 'npm run lint:config'
},
'lint-src': {
cmd: 'tslint --config config/tslint/src.json --project src/tsconfig.json src/*.ts src/**/*.ts'
cmd: 'npm run lint:src'
},
'lint-test': {
cmd: `eslint --config config/eslint/test.json --ext .js ${fix ? '--fix ' : ''}--report-unused-disable-directives test/`
cmd: 'npm run lint:test'
},
'test-expectation-chrome': {
cmd: `karma start config/karma/config-expectation-chrome.js ${continuous ? '--concurrency Infinity' : '--single-run'}`
Expand Down

0 comments on commit 118c51f

Please sign in to comment.