Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
chore: fix testing package scripts (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
RasPhilCo authored Jun 26, 2020
1 parent 5fc44d7 commit 32d71f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- v1-yarn-{{checksum ".circleci/config.yml"}}-{{ checksum "yarn.lock"}}
- v1-yarn-{{checksum ".circleci/config.yml"}}
- run: yarn
- run: yarn test
# - run: yarn add -D nyc@13 @oclif/nyc-config@1
# - run: |
# $NYC yarn test
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
"repository": "oclif/errors",
"scripts": {
"build": "rm -rf lib && tsc",
"lint": "tsc -p test --noEmit && eslint . --ext .ts --config .eslintrc",
"posttest": "yarn lint",
"lint": "eslint . --ext .ts --config .eslintrc",
"posttest": "rm -rf lib && yarn lint",
"prepublishOnly": "yarn run build",
"pretest": "yarn run build",
"pretest": "yarn run build && tsc -p test --noEmit",
"test": "mocha --forbid-only \"test/**/*.test.ts\""
},
"types": "lib/index.d.ts"
Expand Down

0 comments on commit 32d71f4

Please sign in to comment.