ui-library-yunye123 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "ui-library-yunye123",
3
+ "version": "1.0.0",
4
+ "description": "自定义UI组件库",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "keywords": [],
8
+ "author": "yunye123",
9
+ "license": "ISC",
10
+ "devDependencies": {
11
+ "typescript": "^6.0.3"
12
+ },
13
+ "scripts": {
14
+ "build": "tsc"
15
+ }
16
+ }
package/src/index.ts ADDED
@@ -0,0 +1,5 @@
1
+ // 这里是自定义UI库的入口文件
2
+
3
+ export const yunyeButton = () => {
4
+ return '<button>按钮</button>';
5
+ };
package/tsconfig.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2018",
4
+ "module": "CommonJS",
5
+ "declaration": true,
6
+ "outDir": "dist",
7
+ "rootDir": "src",
8
+ "strict": true,
9
+ "esModuleInterop": true,
10
+ "skipLibCheck": true
11
+ },
12
+ "include": ["src/**/*"]
13
+ }