兼容数组的配置
Showing
... | @@ -3,14 +3,17 @@ | ... | @@ -3,14 +3,17 @@ |
"version": "1.0.0", | "version": "1.0.0", | ||
"main": "dist/index.js", | "main": "dist/index.js", | ||
"module": "dist/index.es.js", | "module": "dist/index.es.js", | ||
"types": "types.d.ts", | |||
"license": "MIT", | "license": "MIT", | ||
"scripts": { | "scripts": { | ||
"dev": "rollup -c -w", | "dev": "rollup -c -w", | ||
"build": "rollup -c" | "build": "rollup -c", | ||
"dts": "dts-bundle-generator -o types.d.ts src/index.ts" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"dts-bundle-generator": "^5.4.0", | |||
"rollup-plugin-typescript": "^1.0.1", | "rollup-plugin-typescript": "^1.0.1", | ||
"tslib": "^1.11.1", | "tslib": "^2.0.1", | ||
"typescript": "^3.8.3" | "typescript": "^4.0.3" | ||
} | } | ||
} | } |
src/index.js
deleted
100644 → 0
tsconfig.json
0 → 100644
types.d.ts
0 → 100644
Please register or sign in to comment