|
1 | 1 | { |
2 | 2 | "name": "@putdotio/pas-js", |
3 | 3 | "version": "2.9.0", |
4 | | - "description": "Client-side JS client for Putio Analytics System", |
| 4 | + "description": "Browser analytics client for the put.io Analytics System.", |
5 | 5 | "keywords": [ |
6 | | - "putio", |
| 6 | + "analytics", |
| 7 | + "pas", |
7 | 8 | "put.io", |
8 | | - "Putio Analytics System" |
| 9 | + "putio" |
9 | 10 | ], |
10 | | - "main": "dist/index.js", |
11 | | - "module": "dist/pas-js.esm.js", |
12 | | - "typings": "dist/index.d.ts", |
13 | | - "files": [ |
14 | | - "dist", |
15 | | - "src" |
16 | | - ], |
17 | | - "scripts": { |
18 | | - "start": "tsdx watch", |
19 | | - "build": "tsdx build", |
20 | | - "test": "tsdx test", |
21 | | - "lint": "tsdx lint", |
22 | | - "prepare": "tsdx build", |
23 | | - "coveralls": "tsdx test --coverage && cat ./coverage/lcov.info | coveralls" |
24 | | - }, |
25 | | - "husky": { |
26 | | - "hooks": { |
27 | | - "pre-commit": "tsdx lint" |
28 | | - } |
| 11 | + "homepage": "https://github.com/putdotio/pas-js", |
| 12 | + "bugs": { |
| 13 | + "url": "https://github.com/putdotio/pas-js/issues" |
29 | 14 | }, |
30 | | - "author": "Put.io <devs@put.io>", |
31 | 15 | "license": "MIT", |
32 | | - "homepage": "https://github.com/putdotio/pas-js", |
| 16 | + "author": "put.io <ui@put.io>", |
33 | 17 | "repository": { |
34 | 18 | "type": "git", |
35 | 19 | "url": "https://github.com/putdotio/pas-js.git" |
36 | 20 | }, |
37 | | - "bugs": { |
38 | | - "url": "https://github.com/putdotio/pas-js/issues" |
| 21 | + "files": [ |
| 22 | + "dist" |
| 23 | + ], |
| 24 | + "type": "module", |
| 25 | + "sideEffects": false, |
| 26 | + "main": "./dist/index.cjs", |
| 27 | + "module": "./dist/index.js", |
| 28 | + "types": "./dist/index.d.ts", |
| 29 | + "exports": { |
| 30 | + ".": { |
| 31 | + "types": "./dist/index.d.ts", |
| 32 | + "import": "./dist/index.js", |
| 33 | + "require": "./dist/index.cjs", |
| 34 | + "default": "./dist/index.js" |
| 35 | + } |
| 36 | + }, |
| 37 | + "publishConfig": { |
| 38 | + "access": "public" |
| 39 | + }, |
| 40 | + "scripts": { |
| 41 | + "build": "vp pack", |
| 42 | + "check": "vp check .", |
| 43 | + "clean": "rm -rf coverage dist", |
| 44 | + "coverage": "vp test --coverage", |
| 45 | + "dev": "vp pack --watch", |
| 46 | + "prepack": "vp pack", |
| 47 | + "test": "vp test", |
| 48 | + "verify": "vp check . && vp pack && vp test && vp test --coverage" |
39 | 49 | }, |
40 | | - "prettier": "@putdotio/prettier-config", |
41 | 50 | "dependencies": { |
42 | 51 | "js-cookie": "^2.2.1", |
43 | 52 | "query-string": "^5.1.1", |
|
47 | 56 | "devDependencies": { |
48 | 57 | "@putdotio/prettier-config": "^1.0.0", |
49 | 58 | "@types/js-cookie": "^2.2.4", |
| 59 | + "@types/node": "^24.0.0", |
50 | 60 | "@types/query-string": "^5", |
51 | 61 | "@types/uuid": "^8.3.0", |
52 | | - "coveralls": "^3.1.0", |
53 | | - "husky": "^4.2.5", |
54 | | - "jest-mock-extended": "^1.0.10", |
55 | | - "tsdx": "^0.13.2", |
56 | | - "tslib": "^2.0.1", |
57 | | - "typescript": "^4.0.2", |
| 62 | + "@vitest/coverage-v8": "4.1.0", |
| 63 | + "jsdom": "^26.1.0", |
| 64 | + "typescript": "^5.9.3", |
| 65 | + "vite-plus": "^0.1.12", |
| 66 | + "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.12", |
58 | 67 | "xhr-mock": "^2.5.1" |
59 | 68 | }, |
60 | | - "publishConfig": { |
61 | | - "access": "public" |
| 69 | + "prettier": "@putdotio/prettier-config", |
| 70 | + "engines": { |
| 71 | + "node": ">=24.14.0 <25" |
| 72 | + }, |
| 73 | + "packageManager": "pnpm@10.32.1", |
| 74 | + "pnpm": { |
| 75 | + "overrides": { |
| 76 | + "vite": "npm:@voidzero-dev/vite-plus-core@0.1.12", |
| 77 | + "vitest": "npm:@voidzero-dev/vite-plus-test@0.1.12" |
| 78 | + } |
62 | 79 | } |
63 | 80 | } |
0 commit comments