Skip to content

Commit

Permalink
🔧 chore(package.json): add new scripts for build, linting, and testing
Browse files Browse the repository at this point in the history
Added new scripts for build, linting, and testing to improve the development workflow. The `prepack` script was also added to run the build and clean-pkg-json scripts before packaging.
  • Loading branch information
nyxb committed May 21, 2023
1 parent e22f0fa commit 79faf01
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@
"default": "./dist/index.mjs"
}
},
"scripts": {
"prepack": "nyxr build && clean-pkg-json",
"build": "buildkarium",
"test:dts": "tsd",
"type-check": "tsc --noEmit",
"lint": "eslint --ext .ts,.js .",
"lint:fix": "eslint --ext .ts,.js . --fix",
"release": "nyxr test && nyxlx changelogen --release && pnpm publish && git push --follow-tags",
"test": "nyxr lint && vitest run --coverage"
},
"files": [
"dist"
],
Expand All @@ -43,4 +53,4 @@
"typed",
"typescript"
]
}
}

0 comments on commit 79faf01

Please sign in to comment.