Skip to content

Commit

Permalink
Update package.json with clean script and add rimraf dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilianoBruni committed Mar 2, 2024
1 parent cd43e26 commit 184be18
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"build:node": "npm run build && node",
"build:test": "npm run build && npm test",
"build:watch": "npm run build -- --watch",
"clean": "rm -rf tsconfig.tsbuildinfo lib",
"clean": "rm -rf tsconfig.tsbuildinfo lib && rimraf ./lib",
"lint": "eslint \"test/*.js\" \"src/**/*.ts\" \"src/*.ts\" \"examples/*.js\"",
"lint:fix": "npm run lint -- --fix",
"prepublishOnly": "npm run build",
"prepublishOnly": "npm run build:clean",
"publish:minor": "npm version minor && npm publish",
"publish:patch": "npm version patch && npm publish",
"test": "tap -j1 --allow-incomplete-coverage test/*.js",
Expand All @@ -39,6 +39,7 @@
"url": "https://github.com/EmilianoBruni/minionjs-backend-mongoose/issues"
},
"type": "module",
"types": "lib/types/mongoose-backend.d.ts",
"files": [
"lib/"
],
Expand Down Expand Up @@ -66,6 +67,7 @@
"@minionjs/core": "^0.3.13",
"@mojojs/core": "^1.26.4",
"dayjs": "^1.11.10",
"mongoose": "^8.2.0"
"mongoose": "^8.2.0",
"rimraf": "^5.0.5"
}
}

0 comments on commit 184be18

Please sign in to comment.