|
2 | 2 | "name": "vue-stripe-js", |
3 | 3 | "version": "1.0.4", |
4 | 4 | "description": "Vue 3 components for Stripe.js: Elements & Checkout", |
5 | | - "main": "./dist/vue-stripe.umd.js", |
6 | | - "module": "./dist/vue-stripe.es.js", |
| 5 | + "type": "module", |
| 6 | + "main": "./dist/vue-stripe.js", |
7 | 7 | "exports": { |
8 | 8 | ".": { |
9 | | - "import": "./dist/vue-stripe.es.js", |
10 | | - "require": "./dist/vue-stripe.umd.js", |
11 | | - "types": "./types/vue-stripe.d.ts" |
| 9 | + "types": "./dist/vue-stripe.d.ts", |
| 10 | + "import": "./dist/vue-stripe.js", |
| 11 | + "browser": "./dist/vue-stripe.umd.cjs" |
12 | 12 | } |
13 | 13 | }, |
14 | | - "types": "./types/vue-stripe.d.ts", |
15 | | - "files": ["dist", "types"], |
| 14 | + "scripts": { |
| 15 | + "dev": "vite", |
| 16 | + "build": "vue-tsc -b && vite build", |
| 17 | + "check:types": "publint && attw --pack . --ignore-rules=cjs-resolves-to-esm", |
| 18 | + "ci": "pnpm run build && pnpm run check:types" |
| 19 | + }, |
| 20 | + "files": ["dist"], |
16 | 21 | "repository": { |
17 | 22 | "type": "git", |
18 | 23 | "url": "git+https://github.com/ectoflow/vue-stripe-js.git" |
19 | 24 | }, |
20 | | - "keywords": [ |
21 | | - "Vue", |
22 | | - "Stripe", |
23 | | - "Elements", |
24 | | - "Checkout", |
25 | | - "Payment", |
26 | | - "Components" |
27 | | - ], |
28 | | - "author": "Oleksandr Bystrikov", |
| 25 | + "keywords": ["Vue", "Stripe", "Elements", "Checkout", "Payments"], |
| 26 | + "author": "Oleksandr Bystrikov <https://github.com/softbeehive>", |
29 | 27 | "license": "MIT", |
30 | 28 | "homepage": "https://github.com/ectoflow/vue-stripe-js", |
31 | 29 | "bugs": { |
32 | 30 | "url": "https://github.com/ectoflow/vue-stripe-js/issues" |
33 | 31 | }, |
34 | | - "scripts": { |
35 | | - "dev": "vite", |
36 | | - "build": "vuedx-typecheck . && vite build", |
37 | | - "test": "jest" |
38 | | - }, |
39 | 32 | "devDependencies": { |
40 | | - "@babel/core": "^7.17.10", |
41 | | - "@babel/preset-env": "^7.16.0", |
42 | | - "@babel/preset-typescript": "^7.16.0", |
43 | | - "@stripe/stripe-js": "^1.21.1", |
44 | | - "@types/node": "^17.0.33", |
45 | | - "@types/stripe": "^8.0.417", |
46 | | - "@vitejs/plugin-vue": "^2.3.3", |
47 | | - "@vue/compiler-sfc": "^3.0.5", |
48 | | - "@vuedx/typecheck": "^0.7.4", |
49 | | - "@vuedx/typescript-plugin-vue": "^0.7.4", |
50 | | - "jest": "^27.3.1", |
51 | | - "typescript": "^4.1.3", |
52 | | - "vite": "^2.6.14", |
53 | | - "vue": "^3.2.21" |
| 33 | + "@arethetypeswrong/cli": "^0.17.2", |
| 34 | + "@biomejs/biome": "1.9.4", |
| 35 | + "@stripe/stripe-js": "^5.4.0", |
| 36 | + "@vitejs/plugin-vue": "^5.2.1", |
| 37 | + "@vue/tsconfig": "0.7.0", |
| 38 | + "publint": "^0.2.12", |
| 39 | + "typescript": "^5.7.2", |
| 40 | + "vite": "^6.0.7", |
| 41 | + "vite-plugin-dts": "^4.4.0", |
| 42 | + "vue": "^3.5.13", |
| 43 | + "vue-tsc": "^2.2.0" |
54 | 44 | } |
55 | 45 | } |
0 commit comments