Skip to content

Commit

Permalink
chore: update dependencies and repo
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Feb 10, 2023
1 parent 9e0af09 commit 57a6e2b
Show file tree
Hide file tree
Showing 6 changed files with 902 additions and 1,455 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
@@ -1,5 +1,8 @@
{
"extends": [
"eslint-config-unjs"
]
],
"rules": {
"unicorn/no-abusive-eslint-disable": 0
}
}
Empty file added .prettierrc
Empty file.
20 changes: 10 additions & 10 deletions package.json
Expand Up @@ -7,17 +7,17 @@
"sideEffects": false,
"exports": {
".": {
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
"require": "./dist/index.cjs"
},
"./transform": {
"import": "./dist/transform.mjs",
"types": "./dist/transform.d.ts"
"types": "./dist/transform.d.ts",
"import": "./dist/transform.mjs"
},
"./plugin": {
"import": "./dist/plugin.mjs",
"types": "./dist/plugin.d.ts"
"types": "./dist/plugin.d.ts",
"import": "./dist/plugin.mjs"
}
},
"main": "./dist/index.cjs",
Expand All @@ -37,9 +37,9 @@
"scripts": {
"build": "unbuild",
"dev": "vitest",
"lint": "eslint --ext .ts,.js .",
"lint": "eslint --ext .ts,.js . || prettier -w src test",
"prepack": "unbuild",
"release": "pnpm test && standard-version && git push --follow-tags && pnpm publish",
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
"test": "pnpm lint && vitest run --coverage"
},
"dependencies": {
Expand All @@ -50,13 +50,13 @@
},
"devDependencies": {
"@types/estree": "^1.0.0",
"@types/jest": "^29.4.0",
"@types/node": "^18.13.0",
"@vitest/coverage-c8": "^0.28.4",
"changelogen": "^0.4.1",
"eslint": "^8.33.0",
"eslint-config-unjs": "^0.1.0",
"jiti": "^1.17.0",
"standard-version": "^9.5.0",
"prettier": "^2.8.4",
"typescript": "^4.9.5",
"unbuild": "^1.1.1",
"vitest": "^0.28.4"
Expand Down

0 comments on commit 57a6e2b

Please sign in to comment.