Skip to content

Commit

Permalink
feat: histoire
Browse files Browse the repository at this point in the history
  • Loading branch information
logustra committed Nov 23, 2022
1 parent cffa7fa commit 438e796
Show file tree
Hide file tree
Showing 5 changed files with 668 additions and 38 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.vitebook/.cache
.vitebook/.temp
coverage
dist
node_modules
Expand Down
6 changes: 6 additions & 0 deletions histoire.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { defineConfig } from 'histoire'
import { HstVue } from '@histoire/plugin-vue'

export default defineConfig({
plugins: [HstVue()],
})
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@
"serve": "vite preview",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "pnpm clean:coverage && vitest --coverage --mode test"
"test": "pnpm clean:coverage && vitest --coverage --mode test",
"story:dev": "histoire dev",
"story:build": "histoire build",
"story:preview": "histoire preview"
},
"config": {
"commitizen": {
Expand Down Expand Up @@ -81,6 +84,7 @@
"@antfu/eslint-config": "^0.31.0",
"@commitlint/cli": "^17.2.0",
"@commitlint/config-conventional": "^17.2.0",
"@histoire/plugin-vue": "^0.11.7",
"@types/node": "^18.11.9",
"@vitest/coverage-c8": "^0.25.2",
"chalk": "^4.1.2",
Expand All @@ -89,8 +93,8 @@
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.27.0",
"happy-dom": "^7.7.0",
"histoire": "^0.11.7",
"shelljs": "^0.8.5",
"svelte": "^3.53.1",
"vitest": "^0.25.2"
},
"volta": {
Expand Down

0 comments on commit 438e796

Please sign in to comment.