Skip to content

Commit

Permalink
chore: update package.json
Browse files Browse the repository at this point in the history
- add git hook
- add commitlint
- add eslint
  • Loading branch information
mukundshah committed Aug 21, 2023
1 parent c349914 commit ffb7e1d
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,36 @@
{
"name": "radix-vue",
"private": true,
"packageManager": "[email protected]",
"license": "MIT",
"repository": "radix-vue/radix-vue",
"workspaces": [
"packages/*"
],
"scripts": {
"story:dev": "pnpm --filter histoire story:dev",
"build": "pnpm run -r --filter=!docs build",
"start": "cd packages/radix-vue && pnpm i && pnpm run build && cd ../../playground/vue3 && pnpm i && pnpm i ../../packages/radix-vue && pnpm run dev"
"start": "cd packages/radix-vue && pnpm i && pnpm run build && cd ../../playground/vue3 && pnpm i && pnpm i ../../packages/radix-vue && pnpm run dev",
"prepare": "pnpm simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "^0.39.7",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"eslint": "^8.43.0",
"lint-staged": "^14.0.0",
"simple-git-hooks": "^2.9.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "pnpm commitlint --edit ${1}"
},
"lint-staged": {
"*": "eslint --fix"
}
}

0 comments on commit ffb7e1d

Please sign in to comment.