Skip to content

Commit

Permalink
build(dev-deps): add vitest to devDependencies with config file (#27)
Browse files Browse the repository at this point in the history
Signed-off-by: Yokozuna59 <u.yokozuna@gmail.com>
  • Loading branch information
Yokozuna59 authored May 17, 2023
1 parent 9b139d4 commit d4da123
Show file tree
Hide file tree
Showing 4 changed files with 669 additions and 13 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
},
"type": "module",
"scripts": {
"prepare": "husky install"
"prepare": "husky install",
"test": "vitest"
},
"devDependencies": {
"@commitlint/cli": "^17.6.3",
Expand All @@ -31,7 +32,8 @@
"markdownlint-cli": "^0.34.0",
"prettier": "^2.8.8",
"prettier-plugin-multiline-arrays": "^1.1.3",
"rimraf": "^5.0.0"
"rimraf": "^5.0.0",
"vitest": "^0.31.0"
},
"keywords": [
"mermaid",
Expand Down
3 changes: 2 additions & 1 deletion packages/mermaid-parser/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
},
"include": [
"src/**/*.ts",
"tests/**/*.ts"
"tests/**/*.ts",
"tests/**/*.test.ts"
]
}
Loading

0 comments on commit d4da123

Please sign in to comment.