@shaivpidadi/trends-js
Version:
Google Trends API for Node.js
50 lines (49 loc) • 1.31 kB
JSON
{
"name": "@shaivpidadi/trends-js",
"version": "1.0.3",
"description": "Google Trends API for Node.js",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"files": [
"dist"
],
"scripts": {
"build": "npm run build:esm && npm run build:cjs && npm run build:pkg",
"build:esm": "tsc -p tsconfig.json --outDir dist/esm",
"build:cjs": "tsc -p tsconfig.json --outDir dist/cjs --module commonjs --moduleResolution node",
"build:pkg": "echo '{\"type\":\"module\"}' > dist/esm/package.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"test": "jest",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Shaivpidadi/trends-js.git"
},
"keywords": [
"google-trends",
"api",
"typescript"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^20.0.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.0",
"typescript": "^5.0.0"
}
}