Skip to content

Commit

Permalink
chore: vitest ci
Browse files Browse the repository at this point in the history
  • Loading branch information
baozouai committed Apr 21, 2023
1 parent 3adc3c5 commit 7d978aa
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 29 deletions.
62 changes: 33 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"name": "babel-plugin-enum-to-object",
"version": "0.1.0",
"author": "baozouai <baozouai@gmail.com>",
"packageManager": "pnpm@8.3.1",
"description": "transform enum to object for better tree shaking",
"author": "baozouai <baozouai@gmail.com>",
"license": "MIT",
"homepage": "https://github.com/baozouai/babel-plugin-enum-to-object",
"main": "dist/babel-plugin-enum-to-object.js",
"types": "dist/babel-plugin-enum-to-object.d.ts",
"files": [
"dist/"
],
"repository": {
"type": "git",
"url": "https://github.com/baozouai/babel-plugin-enum-to-object.git"
},
"bugs": {
"url": "https://github.com/baozouai/babel-plugin-enum-to-object/issues"
},
"keywords": [
"webpack",
"plugin",
Expand All @@ -17,6 +21,14 @@
"node",
"reduce enum"
],
"main": "dist/babel-plugin-enum-to-object.js",
"types": "dist/babel-plugin-enum-to-object.d.ts",
"files": [
"dist/"
],
"engines": {
"node": ">=16.14.0"
},
"scripts": {
"clean": "rm -rf dist",
"lint": "eslint --cache --fix",
Expand All @@ -25,25 +37,10 @@
"release": "npm run clean && npm run build && npm publish",
"prepare": "husky install"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./src/**/*.{ts,js}": [
"npm run lint"
]
},
"repository": {
"type": "git",
"url": "https://github.com/baozouai/babel-plugin-enum-to-object.git"
},
"bugs": {
"url": "https://github.com/baozouai/babel-plugin-enum-to-object/issues"
"dependencies": {
"@babel/helper-plugin-utils": "^7.20.2",
"@babel/plugin-syntax-typescript": "^7.21.4"
},
"license": "MIT",
"devDependencies": {
"@antfu/eslint-config": "^0.36.0",
"@babel/core": "^7.21.4",
Expand All @@ -59,9 +56,17 @@
"eslint": "^8.35.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
"pnpm": "^8.3.1",
"simple-git-hooks": "^2.8.1",
"typescript": "^4.9.5",
"vitest": "^0.30.1"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
Expand All @@ -71,11 +76,10 @@
"path": "node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@babel/helper-plugin-utils": "^7.20.2",
"@babel/plugin-syntax-typescript": "^7.21.4"
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"engines": {
"node": ">=16.14.0"
"lint-staged": {
"*": "eslint --fix"
}
}
16 changes: 16 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7d978aa

Please sign in to comment.