Skip to content

Commit

Permalink
Run tsc build as part of test script
Browse files Browse the repository at this point in the history
  • Loading branch information
sgarner committed Sep 4, 2021
1 parent 8fbc9ab commit b5ebe6c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
"postbuild": "cp package.json README.md dist/",
"lint": "eslint --ext .ts --ignore-path .gitignore .",
"lint:fix": "eslint --ext .ts --ignore-path .gitignore . --fix",
"test": "jest",
"pretest": "rimraf dist",
"test": "tsc -p tsconfig.json && jest",
"test:watch": "jest --watch",
"test:ci": "rimraf test/.results && mkdirp test/.results && jest --ci --runInBand --passWithNoTests",
"pretest:ci": "npm run pretest",
"test:ci": "tsc -p tsconfig.json && jest --ci --runInBand --passWithNoTests",
"version": "npm run build",
"postversion": "npm run postbuild",
"release": "np --contents dist/",
Expand Down

0 comments on commit b5ebe6c

Please sign in to comment.