trendsearch 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,103 @@
1
+ {
2
+ "name": "trendsearch",
3
+ "version": "0.0.1",
4
+ "description": "Google Trends API fetching library for Node.js and Bun.",
5
+ "keywords": [
6
+ "api",
7
+ "fetch",
8
+ "google",
9
+ "trends",
10
+ "typescript"
11
+ ],
12
+ "homepage": "https://github.com/DobroslavRadosavljevic/trendsearch#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/DobroslavRadosavljevic/trendsearch/issues"
15
+ },
16
+ "license": "MIT",
17
+ "author": "Dobroslav Radosavljevic",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/DobroslavRadosavljevic/trendsearch.git"
21
+ },
22
+ "bin": {
23
+ "trendsearch": "./bin/trendsearch.mjs"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "bin"
28
+ ],
29
+ "type": "module",
30
+ "sideEffects": false,
31
+ "main": "./dist/index.mjs",
32
+ "types": "./dist/index.d.mts",
33
+ "exports": {
34
+ ".": {
35
+ "types": "./dist/index.d.mts",
36
+ "import": "./dist/index.mjs",
37
+ "require": null,
38
+ "default": "./dist/index.mjs"
39
+ },
40
+ "./package.json": "./package.json"
41
+ },
42
+ "scripts": {
43
+ "build": "tsdown",
44
+ "dev": "tsdown --watch",
45
+ "cli": "bun run ./src/cli/main.ts",
46
+ "test": "bun run test:all",
47
+ "test:unit": "bun test ./tests/unit",
48
+ "test:cli": "bun test ./tests/cli",
49
+ "test:contracts": "bun test ./tests/contracts",
50
+ "test:live": "TRENDSEARCH_LIVE=1 bun test ./tests/live",
51
+ "test:all": "bun run test:unit && bun run test:cli && bun run test:contracts",
52
+ "fixtures:record": "bun ./scripts/record-fixtures.ts",
53
+ "lint": "bun ultracite check",
54
+ "format": "bun ultracite fix",
55
+ "typecheck": "tsc --project tsconfig.typecheck.json",
56
+ "check:pack": "npm pack --dry-run",
57
+ "check:package": "bunx --bun publint && bunx --bun @arethetypeswrong/cli --pack --profile esm-only .",
58
+ "test:consumer": "bun ./scripts/consumer-smoke.ts",
59
+ "check:all": "bun run lint && bun run typecheck && bun run test:all && bun run build && bun run check:pack && bun run check:package && bun run test:consumer",
60
+ "changeset": "changeset",
61
+ "release:status": "changeset status --verbose",
62
+ "version-packages": "changeset version",
63
+ "release": "changeset publish",
64
+ "release:ci": "if [ \"${NPM_PUBLISH_ENABLED:-false}\" = \"true\" ]; then bun run release; else echo \"Publish skipped: set GitHub repository variable NPM_PUBLISH_ENABLED=true to enable npm publishing.\"; fi",
65
+ "prepare": "husky",
66
+ "prepublishOnly": "bun run check:all"
67
+ },
68
+ "dependencies": {
69
+ "@clack/prompts": "^1.0.1",
70
+ "commander": "^14.0.3",
71
+ "conf": "^15.1.0",
72
+ "p-queue": "^9.1.0",
73
+ "p-retry": "^7.1.1",
74
+ "zod": "^4.1.5"
75
+ },
76
+ "devDependencies": {
77
+ "@arethetypeswrong/cli": "^0.18.2",
78
+ "@changesets/cli": "^2.29.7",
79
+ "@commitlint/cli": "^20.4.1",
80
+ "@commitlint/config-conventional": "^20.4.1",
81
+ "@types/bun": "1.3.9",
82
+ "husky": "^9.1.7",
83
+ "lint-staged": "^16.2.7",
84
+ "oxfmt": "^0.28.0",
85
+ "oxlint": "^1.43.0",
86
+ "publint": "^0.3.15",
87
+ "tsdown": "^0.20.3",
88
+ "typescript": "^5.9.3",
89
+ "ultracite": "7.1.5"
90
+ },
91
+ "lint-staged": {
92
+ "*.{ts,tsx,js,jsx,mjs,cjs}": [
93
+ "bun ultracite fix"
94
+ ],
95
+ "*.{json,md,yml,yaml}": [
96
+ "bun ultracite fix"
97
+ ]
98
+ },
99
+ "engines": {
100
+ "node": ">=20"
101
+ },
102
+ "packageManager": "bun@1.3.9"
103
+ }