generated from nhcarrigan/template
chore(tools): lint and build before publishing
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
"private": false,
|
"private": false,
|
||||||
"main": "prod/index.js",
|
"main": "prod/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"prepublish": "pnpm run lint && pnpm run build",
|
||||||
"lint": "eslint src --max-warnings 0",
|
"lint": "eslint src --max-warnings 0",
|
||||||
"build": "rm -rf prod && tsc",
|
"build": "rm -rf prod && tsc",
|
||||||
"test": "echo \"Error: no test specified\" && exit 0"
|
"test": "echo \"Error: no test specified\" && exit 0"
|
||||||
|
|||||||
Reference in New Issue
Block a user