Skip to content

Commit

Permalink
🔧 Adding package check + publish hook
Browse files Browse the repository at this point in the history
  • Loading branch information
amoutonbrady committed Jan 2, 2021
1 parent 47a32a1 commit 0103ec6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 49 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
},
"types": "dist/types/index.d.ts",
"scripts": {
"build": "rollup -c && tsc --emitDeclarationOnly"
"build": "rollup -c && tsc --emitDeclarationOnly",
"prepublishOnly": "pnpm build",
"check": "package-check"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -50,6 +52,7 @@
"@types/node": "^14.14.9",
"rollup": "^2.35.1",
"rollup-plugin-cleaner": "^1.0.0",
"typescript": "^4.1.2"
"typescript": "^4.1.2",
"@skypack/package-check": "^0.2.2"
}
}
69 changes: 22 additions & 47 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0103ec6

Please sign in to comment.