|
3 | 3 | "description": "Swetrix Tracking integration for Vue v3", |
4 | 4 | "author": "Le Minh Tri <[email protected]>", |
5 | 5 | "license": "MIT", |
6 | | - "version": "1.1.0-rc.1", |
| 6 | + "version": "1.1.0", |
7 | 7 | "type": "module", |
8 | 8 | "packageManager": "[email protected]", |
9 | 9 | "homepage": "https://github.com/ansidev/swetrix-vue", |
|
39 | 39 | ], |
40 | 40 | "exports": { |
41 | 41 | ".": { |
42 | | - "require": "./dist/index.js", |
43 | | - "import": "./dist/index.mjs" |
| 42 | + "types": "./dist/index.d.ts", |
| 43 | + "require": "./dist/index.cjs", |
| 44 | + "import": "./dist/index.js" |
44 | 45 | } |
45 | 46 | }, |
46 | | - "main": "./dist/index.js", |
47 | | - "module": "./dist/index.mjs", |
| 47 | + "main": "./dist/index.cjs", |
| 48 | + "module": "./dist/index.js", |
48 | 49 | "types": "./dist/index.d.ts", |
49 | 50 | "files": [ |
50 | | - "dist/**/*" |
| 51 | + "dist" |
51 | 52 | ], |
52 | 53 | "scripts": { |
53 | 54 | "prepare": "husky install", |
54 | 55 | "lint": "eslint . --ext .ts --ignore-path .gitignore src", |
55 | 56 | "lint:fix": "eslint --ext .ts --ignore-path .gitignore --fix src", |
56 | | - "build": "tsup lib/index.ts --dts --format cjs,esm", |
| 57 | + "build": "tsup lib/index.ts --dts --format cjs,esm --clean", |
57 | 58 | "build:example": "pnpm run build && vue-tsc --noEmit && vite build", |
58 | 59 | "dev": "pnpm run build -- --watch && vite", |
59 | 60 | "preview": "vite preview", |
|
0 commit comments