Skip to content

Commit

Permalink
move postinstall script in src
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreyaschorge committed Nov 18, 2024
1 parent b6accc0 commit 9db58bf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
node-version: "20"

- name: Install dependencies
run: npm install
run: npm install --ignore-scripts

- name: Build
run: npm run build
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"main": "./build/index.js",
"types": "./build/index.d.ts",
"files": [
"build/**/*",
"postinstall.js"
"build/**/*"
],
"scripts": {
"clean": "del-cli ./build/*",
Expand Down
File renamed without changes.

0 comments on commit 9db58bf

Please sign in to comment.