Skip to content

Commit

Permalink
fix: tslint pretest cli
Browse files Browse the repository at this point in the history
  • Loading branch information
weblancaster committed Mar 26, 2018
1 parent 463b998 commit 686c17a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion components/badge/badge.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ describe("Badge", () => {
.toJSON()).toMatchSnapshot()
});


it("warning", () => {
expect(renderer
.create(<Badge appearance="warning">warning</Badge>)
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"preinstall": "./scripts/pre-install",
"start": "NODE_ENV=development npm run storybook --root ./ ",
"dist": "npm run clean && NODE_ENV=production webpack -p --config ./webpack.config.js",
"pretest": "tslint -c tslint.json '(components|shared)/**/*.ts'",
"pretest": "tslint -c tslint.json --project tsconfig.json",
"test": "jest",
"test:watch": "jest --watch",
"commitlint": "commitlint -e",
"storybook": "start-storybook -p 6006",
"build:storybook": "build-storybook",
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
"typeRoots": ["node_modules/@types"],
"lib": ["es5", "es6", "esnext", "dom"]
},
"include": ["./components/**/*"]
"include": [
"./components/**/*",
"./shared/**/*"
]
}

0 comments on commit 686c17a

Please sign in to comment.