Files
ddmt-tool/package.json
ddmt 22d3931665 feat(module): Improve module exports and compatibility
- Add explicit ES Module and CommonJS exports in index.js
- Update package.json to support both import and require
- Ensure consistent function exports across module systems
2025-02-21 10:50:04 +08:00

29 lines
709 B
JSON

{
"name": "ddmt-tool",
"version": "0.0.3",
"description": "A utility library that provides commonly used functions to simplify everyday development tasks. Whether it's string manipulation, array operations, or other frequent functionalities, `ddmt-tool` helps you work more efficiently.",
"main": "index.js",
"type": "module",
"exports": {
".": {
"import": "./index.js",
"require": "./index.js"
}
},
"types": "types/index.d.ts",
"scripts": {
"dev": "node index.js"
},
"repository": {
"type": "git",
"url": "https://git.ddmt.top/ddmt/ddmt-tool.git"
},
"keywords": [
"ddmt",
"tool",
"animate"
],
"author": "ddmt",
"license": "MIT"
}