|
@@ -3,19 +3,22 @@
|
|
|
"version": "1.0.0",
|
|
"version": "1.0.0",
|
|
|
"description": "Allin系统枚举常量包 - 提供类型安全的枚举常量定义",
|
|
"description": "Allin系统枚举常量包 - 提供类型安全的枚举常量定义",
|
|
|
"type": "module",
|
|
"type": "module",
|
|
|
- "main": "src/index.ts",
|
|
|
|
|
|
|
+ "main": "dist/index.js",
|
|
|
"types": "src/index.ts",
|
|
"types": "src/index.ts",
|
|
|
"exports": {
|
|
"exports": {
|
|
|
".": {
|
|
".": {
|
|
|
"types": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
|
- "import": "./src/index.ts",
|
|
|
|
|
- "require": "./src/index.ts"
|
|
|
|
|
|
|
+ "import": "./dist/index.js",
|
|
|
|
|
+ "require": "./dist/index.js"
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
"files": [
|
|
"files": [
|
|
|
|
|
+ "dist",
|
|
|
"src"
|
|
"src"
|
|
|
],
|
|
],
|
|
|
"scripts": {
|
|
"scripts": {
|
|
|
|
|
+ "build": "tsc",
|
|
|
|
|
+ "dev": "tsc --watch",
|
|
|
"test": "vitest run",
|
|
"test": "vitest run",
|
|
|
"test:watch": "vitest",
|
|
"test:watch": "vitest",
|
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:coverage": "vitest run --coverage",
|