|
2 | 2 | "name": "@gtm-support/vue-gtm", |
3 | 3 | "version": "2.0.0-beta.3", |
4 | 4 | "description": "Simple implementation of Google Tag Manager for Vue", |
5 | | - "main": "dist/index.js", |
| 5 | + "scripts": { |
| 6 | + "clean": "rimraf coverage dist pnpm-lock.yaml node_modules", |
| 7 | + "build": "tsc --noEmit && vite build", |
| 8 | + "format": "prettier --write .", |
| 9 | + "lint": "eslint .", |
| 10 | + "test": "vitest", |
| 11 | + "prepublishOnly": "pnpm run clean && pnpm install && pnpm run build" |
| 12 | + }, |
| 13 | + "type": "module", |
| 14 | + "files": [ |
| 15 | + "dist" |
| 16 | + ], |
| 17 | + "main": "dist/index.cjs", |
| 18 | + "module": "dist/index.js", |
| 19 | + "types": "dist/index.d.ts", |
| 20 | + "exports": { |
| 21 | + ".": { |
| 22 | + "import": "./dist/index.js", |
| 23 | + "require": "./dist/index.cjs" |
| 24 | + } |
| 25 | + }, |
6 | 26 | "author": { |
7 | 27 | "name": "Christopher Quadflieg", |
8 | 28 | "email": "chrissi92@hotmail.de", |
|
16 | 36 | ], |
17 | 37 | "license": "MIT", |
18 | 38 | "homepage": "https://github.com/gtm-support/vue-gtm", |
19 | | - "scripts": { |
20 | | - "clean": "rm -Rf dist pnpm-lock.yaml node_modules", |
21 | | - "build": "tsc", |
22 | | - "format": "prettier --write .", |
23 | | - "lint": "eslint .", |
24 | | - "test": "vitest", |
25 | | - "prepublishOnly": "pnpm run clean && pnpm install && pnpm run build" |
26 | | - }, |
27 | 39 | "repository": { |
28 | 40 | "type": "git", |
29 | 41 | "url": "https://github.com/gtm-support/vue-gtm.git" |
|
50 | 62 | "vue", |
51 | 63 | "google" |
52 | 64 | ], |
53 | | - "files": [ |
54 | | - "dist", |
55 | | - "src", |
56 | | - "tsconfig.json" |
57 | | - ], |
58 | 65 | "dependencies": { |
59 | | - "@gtm-support/core": "^1.4.2" |
| 66 | + "@gtm-support/core": "^2.0.0-beta.1" |
60 | 67 | }, |
61 | 68 | "devDependencies": { |
62 | 69 | "@typescript-eslint/eslint-plugin": "~5.39.0", |
|
71 | 78 | "jsdom": "~20.0.1", |
72 | 79 | "prettier": "2.7.1", |
73 | 80 | "prettier-plugin-organize-imports": "~3.1.1", |
| 81 | + "rimraf": "~3.0.2", |
74 | 82 | "typescript": "~4.8.4", |
| 83 | + "vite": "~3.1.6", |
| 84 | + "vite-plugin-dts": "~1.6.5", |
75 | 85 | "vitest": "~0.23.4", |
76 | 86 | "vue": "^3.2.40", |
77 | 87 | "vue-router": "^4.1.5" |
|
0 commit comments