Skip to content

Commit

Permalink
fix: don't execute postinstall scripts when installing the npm package
Browse files Browse the repository at this point in the history
fixes #1009
  • Loading branch information
Disane87 committed Oct 31, 2024
1 parent d2176c6 commit 4f06994
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
}
},
"scripts": {
"postinstall": "ts-node ./scripts/postinstall.ts",
"postinstall": "npx --yes ignore-dependency-scripts \"ts-node ./scripts/postinstall.ts\"",
"prestart": "npm run lint",
"start": "cd ./bin && dev scrape amazon",
"start:debug": "node --inspect=0.0.0.0:9229 ./bin/run scrape all",
Expand Down Expand Up @@ -144,4 +144,4 @@
"Documents scraper invoices"
],
"types": "dist/index.d.ts"
}
}

0 comments on commit 4f06994

Please sign in to comment.