Skip to content

Commit

Permalink
transform package.json to module, fix versions of vite and vitest, se…
Browse files Browse the repository at this point in the history
…ctions reordering
  • Loading branch information
zheksoon committed Apr 2, 2024
1 parent 24ddf5c commit fc5dbbb
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 29 deletions.
79 changes: 63 additions & 16 deletions package-lock.json

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

31 changes: 18 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"name": "dioma",
"version": "0.3.3",
"version": "0.3.4",
"description": "Elegant dependency injection container for vanilla JavaScript and TypeScript",
"license": "MIT",
"repository": {
"type": "git",
"url": "[email protected]:zheksoon/dioma.git"
},
"keywords": [
"di",
"dependency injection",
Expand All @@ -16,6 +21,16 @@
"awilix",
"tsyringe"
],
"type": "module",
"main": "dist/dioma.cjs",
"module": "dist/dioma.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/dioma.js",
"require": "./dist/dioma.cjs"
}
},
"files": [
"src",
"dist",
Expand All @@ -30,18 +45,8 @@
},
"devDependencies": {
"@vitest/coverage-v8": "^1.4.0",
"@vitest/ui": "latest",
"vite": "latest",
"vitest": "latest",
"vite": "^5.2.7",
"vitest": "^1.4.0",
"vite-plugin-dts": "^3.8.1"
},
"types": "dist/index.d.ts",
"module": "dist/dioma.mjs",
"main": "dist/dioma.js",
"umd:main": "dist/dioma.umd.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "[email protected]:zheksoon/dioma.git"
}
}

0 comments on commit fc5dbbb

Please sign in to comment.