diff --git a/.gitignore b/.gitignore index 9aea2f5..34d7a51 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ node_modules __TEST_TMP__ -*.js -!eslint.config.js +generator.js *.tgz # Ignore eventyrhing in the prisma folder except the example diff --git a/package.json b/package.json index a15d868..2d21441 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "scripts": { "build": "tsc -p tsconfig.build.json", "postbuild": "node -e \"g='generator.js';f=require('fs');f.writeFileSync(g,'#!/usr/bin/env node\\n'+f.readFileSync(g))\"", - "clean": "rimraf --glob *.js **/__TEST_TMP__", + "clean": "rimraf --glob generator.js **/__TEST_TMP__", "generate": "prisma generate --schema=prisma/example.prisma", "lint": "prettier --check . && eslint . && echo 'Linting complete.'", "lint:fix": "prettier --write . && eslint . --fix && echo 'Linting complete.'",