|
1 | 1 | { |
2 | 2 | "name": "vue-split-input", |
3 | | - "version": "1.0.4", |
| 3 | + "version": "1.1.0", |
4 | 4 | "description": "Vue Split input for otp verification etc", |
5 | | - "main": "index.ts", |
6 | | - "module": "index.ts", |
7 | | - "types": "index.d.ts", |
8 | 5 | "files": [ |
9 | | - "index.ts", |
10 | 6 | "dist", |
11 | | - "components/**/*.vue", |
12 | | - "index.d.ts" |
| 7 | + "src/types.ts", |
| 8 | + "src/index.d.ts" |
13 | 9 | ], |
| 10 | + "main": "./dist/index.es.js", |
| 11 | + "module": "./dist/index.es.js", |
| 12 | + "types": "./src/index.d.ts", |
| 13 | + "exports": { |
| 14 | + ".": { |
| 15 | + "import": "./dist/index.es.js", |
| 16 | + "require": "./dist/index.umd.js" |
| 17 | + } |
| 18 | + }, |
14 | 19 | "scripts": { |
15 | 20 | "test": "echo \"Error: no test specified\" && exit 1", |
16 | | - "build": "tsc -b", |
17 | 21 | "typecheck": "tsc --noEmit", |
18 | 22 | "dev": "pnpm -r --filter {examples/split-input-example} run dev", |
19 | | - "release": "bumpp package.json examples/*/package.json --commit --push --tag && pnpm -r publish --access public" |
| 23 | + "build": "pnpm clean && pnpm typecheck && vite build", |
| 24 | + "release": "bumpp package.json examples/*/package.json --commit --push --tag && pnpm -r publish --access public", |
| 25 | + "clean": "rm -rf dist", |
| 26 | + "prepublishOnly": "pnpm run build" |
20 | 27 | }, |
21 | 28 | "repository": { |
22 | 29 | "type": "git", |
23 | 30 | "url": "git+https://github.com/dammy001/vue-split-input.git" |
24 | 31 | }, |
25 | 32 | "keywords": [ |
26 | 33 | "vue", |
27 | | - "2", |
28 | | - "vue", |
29 | | - "3", |
| 34 | + "vue 2", |
| 35 | + "vue 3", |
30 | 36 | "vuejs", |
31 | 37 | "component", |
32 | 38 | "input", |
|
42 | 48 | "url": "https://github.com/dammy001/vue-split-input/issues" |
43 | 49 | }, |
44 | 50 | "homepage": "https://github.com/dammy001/vue-split-input#readme", |
| 51 | + "dependencies": { |
| 52 | + "vue": "3.2.31" |
| 53 | + }, |
| 54 | + "peerDependencies": { |
| 55 | + "vue": "^3.2.*" |
| 56 | + }, |
45 | 57 | "devDependencies": { |
| 58 | + "@damilaredev/tsconfig": "^1.1.0", |
| 59 | + "@vitejs/plugin-vue": "^2.2.2", |
46 | 60 | "@types/node": "16.11.25", |
47 | 61 | "bumpp": "7.1.1", |
| 62 | + "microbundle": "^0.14.2", |
48 | 63 | "typescript": "4.5.5", |
49 | | - "vue": "3.2.31" |
| 64 | + "vite": "^2.8.4" |
50 | 65 | } |
51 | 66 | } |
0 commit comments