Skip to content

Commit

Permalink
(v0.0.4) fixed eslint run script (file search pattern)
Browse files Browse the repository at this point in the history
  • Loading branch information
Trickfilm400 committed Nov 23, 2022
1 parent 45ff9f7 commit 208b02a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-typescript-project-scaffolding",
"version": "0.0.3",
"version": "0.0.4",
"description": "Scaffold your new Typescript project with everything you need",
"main": "./dist/index.js",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/answerHandlers/buildPackageJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default class BuildPackageJson {
}
if (this.answers['project-additional-dependencies'].includes('ts-node-dev'))
testObj['dev'] = 'ts-node-dev --respawn --no-deps --rs --cls ./src/index.ts';
if (this.answers['project-additional-dependencies'].includes('eslint')) testObj['eslint'] = 'eslint src/**';
if (this.answers['project-additional-dependencies'].includes('eslint')) testObj['eslint'] = 'eslint src/**/*.ts';
return {
start: 'node .',
build: 'tsc',
Expand Down

0 comments on commit 208b02a

Please sign in to comment.