|
2 | 2 | "name": "@offlegacy/event-tracker", |
3 | 3 | "version": "1.0.3", |
4 | 4 | "description": "The best solution for event tracking in React applications.", |
| 5 | + "keywords": [ |
| 6 | + "react", |
| 7 | + "analytics", |
| 8 | + "google-analytics", |
| 9 | + "amplitude", |
| 10 | + "logger", |
| 11 | + "event tracking", |
| 12 | + "tracker", |
| 13 | + "tracking" |
| 14 | + ], |
| 15 | + "homepage": "https://event-tracker.offlegacy.org", |
| 16 | + "bugs": "https://github.com/offlegacy/event-tracker/issues", |
| 17 | + "repository": { |
| 18 | + "type": "git", |
| 19 | + "url": "git+https://github.com/offlegacy/event-tracker.git" |
| 20 | + }, |
| 21 | + "license": "MIT", |
| 22 | + "author": "@stakbucks <Hwang Taehwan>", |
| 23 | + "exports": { |
| 24 | + ".": { |
| 25 | + "import": { |
| 26 | + "types": "./dist/index.d.ts", |
| 27 | + "default": "./dist/index.js" |
| 28 | + }, |
| 29 | + "require": { |
| 30 | + "types": "./dist/index.d.cts", |
| 31 | + "default": "./dist/index.cjs" |
| 32 | + } |
| 33 | + }, |
| 34 | + "./package.json": "./package.json" |
| 35 | + }, |
| 36 | + "sideEffects": false, |
| 37 | + "type": "module", |
5 | 38 | "scripts": { |
6 | | - "clean": "rimraf dist", |
7 | | - "build": "pnpm clean && pnpm build:js && pnpm build:ts", |
8 | | - "build:js": "node scripts/build.js", |
9 | | - "build:ts": "pnpm tsc --emitDeclarationOnly", |
| 39 | + "dev": "tsup --watch", |
| 40 | + "build": "tsup", |
10 | 41 | "dev:docs": "cd docs && pnpm dev", |
11 | 42 | "test": "vitest --run", |
12 | 43 | "test:watch": "vitest", |
|
15 | 46 | "prepare": "husky", |
16 | 47 | "release": "pnpm build && npm publish" |
17 | 48 | }, |
18 | | - "types": "./dist/types/index.d.ts", |
19 | | - "main": "./dist/cjs/index.js", |
20 | | - "module": "./dist/esm/index.js", |
21 | | - "exports": { |
22 | | - ".": { |
23 | | - "types": "./dist/types/index.d.ts", |
24 | | - "require": "./dist/cjs/index.js", |
25 | | - "import": "./dist/esm/index.js" |
26 | | - } |
27 | | - }, |
| 49 | + "main": "dist/index.cjs", |
| 50 | + "module": "dist/index.js", |
| 51 | + "types": "dist/index.d.ts", |
28 | 52 | "files": [ |
29 | 53 | "dist" |
30 | 54 | ], |
31 | | - "type": "module", |
32 | | - "packageManager": "pnpm@9.14.2", |
33 | 55 | "devDependencies": { |
34 | 56 | "@cspell/eslint-plugin": "^8.17.1", |
35 | 57 | "@eslint-react/eslint-plugin": "^1.22.1", |
|
40 | 62 | "@types/react": "^19.0.2", |
41 | 63 | "@typescript-eslint/eslint-plugin": "^8.18.2", |
42 | 64 | "@typescript-eslint/parser": "^8.18.2", |
43 | | - "esbuild": "^0.24.2", |
44 | 65 | "eslint": "^9.17.0", |
45 | 66 | "eslint-import-resolver-typescript": "^3.7.0", |
46 | 67 | "eslint-plugin-import": "^2.31.0", |
|
51 | 72 | "prettier": "^3.4.2", |
52 | 73 | "react": "^18.3.1", |
53 | 74 | "react-dom": "^18.3.1", |
54 | | - "rimraf": "^6.0.1", |
| 75 | + "tsup": "^8.3.5", |
55 | 76 | "typescript": "^5.7.2", |
56 | 77 | "typescript-eslint": "^8.18.2", |
57 | 78 | "vitest": "^2.1.8" |
|
60 | 81 | "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", |
61 | 82 | "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" |
62 | 83 | }, |
63 | | - "repository": { |
64 | | - "type": "git", |
65 | | - "url": "git+https://github.com/offlegacy/event-tracker.git" |
66 | | - }, |
67 | | - "author": "@stakbucks <Hwang Taehwan>", |
68 | | - "license": "MIT", |
69 | | - "bugs": { |
70 | | - "url": "https://github.com/offlegacy/event-tracker/issues" |
| 84 | + "publishConfig": { |
| 85 | + "access": "public" |
71 | 86 | }, |
72 | | - "homepage": "https://github.com/offlegacy/event-tracker#readme", |
73 | | - "keywords": [ |
74 | | - "react", |
75 | | - "analytics", |
76 | | - "google-analytics", |
77 | | - "amplitude", |
78 | | - "logger", |
79 | | - "event tracking", |
80 | | - "tracker", |
81 | | - "tracking" |
82 | | - ] |
| 87 | + "packageManager": "pnpm@9.14.2" |
83 | 88 | } |
0 commit comments