Skip to content

Commit

Permalink
build: lint before testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbtucker committed Jun 15, 2022
1 parent fa6abe6 commit ccfd410
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -20,10 +20,12 @@
"build-unicode": "node build/unicode.js",
"coverage": "tap --coverage-report html test",
"lint": "eslint --fix .",
"lint-report": "eslint .",
"prepublishOnly": "npm run production",
"preversion": "npm run production",
"production": "run-s lint test build",
"test": "tap -Rspec --100 test",
"production": "run-s test build",
"tap": "tap -Rspec --100 test",
"test": "run-s lint-report tap",
"version": "npm run build-package && git add package.json5"
},
"repository": {
Expand Down
6 changes: 4 additions & 2 deletions package.json5
Expand Up @@ -21,10 +21,12 @@
'build-unicode': 'node build/unicode.js',
coverage: 'tap --coverage-report html test',
lint: 'eslint --fix .',
'lint-report': 'eslint .',
prepublishOnly: 'npm run production',
preversion: 'npm run production',
production: 'run-s lint test build',
test: 'tap -Rspec --100 test',
production: 'run-s test build',
tap: 'tap -Rspec --100 test',
test: 'run-s lint-report tap',
version: 'npm run build-package && git add package.json5',
},
repository: {
Expand Down

0 comments on commit ccfd410

Please sign in to comment.