diff --git a/package-lock.json b/package-lock.json index 1736632..f014e2c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "create-typescript-project-scaffolding", - "version": "0.0.3", + "version": "0.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "create-typescript-project-scaffolding", - "version": "0.0.3", + "version": "0.0.4", "license": "ISC", "dependencies": { "inquirer": "^9.1.4", diff --git a/package.json b/package.json index 8157170..fb5b27e 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/lib/answerHandlers/buildPackageJson.ts b/src/lib/answerHandlers/buildPackageJson.ts index 41a6ab2..ce8dbaf 100644 --- a/src/lib/answerHandlers/buildPackageJson.ts +++ b/src/lib/answerHandlers/buildPackageJson.ts @@ -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',