-
-
Notifications
You must be signed in to change notification settings - Fork 117
/
package.json
85 lines (85 loc) · 2.46 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "truecallerjs",
"version": "2.2.0",
"description": "TruecallerJS: A library for effortless retrieval of phone number details using the Truecaller API in Node.js, JavaScript, and TypeScript projects.",
"main": "dist/cjs/index.js",
"module": "dist/index.js",
"type": "module",
"exports": {
".": {
"types": "./typings/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/cjs/index.js"
},
"./package.json": "./package.json"
},
"types": "./typings/index.d.ts",
"bin": {
"truecallerjs": "./dist/cli.js"
},
"scripts": {
"build": "rm -rf ./dist && tsc",
"build:cjs": "tsc && npm run echo:type-cjs",
"echo:type-cjs": "echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"cli": "NODE_OPTIONS='--es-module-specifier-resolution=node' node dist/cli.js login",
"eslint": "npx eslint .",
"prettier": "npx prettier --write .",
"start": "NODE_OPTIONS='--es-module-specifier-resolution=node' node dist/cli.js -s 9912345678",
"test": "export TEST_PHONE_NUMBER=&(echo -e '+91$((RANDOM%9000000000+1000000000))') && export TEST_INSTALLATION_ID=$(truecallerjs -i -r) && jest"
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sumithemmadi/truecallerjs.git"
},
"keywords": [
"truecallerjs",
"truecaller",
"phone",
"number",
"caller",
"details",
"name",
"email",
"search",
"lookup",
"Information",
"gathering",
"address"
],
"author": "Sumith Emmadi (sumithemmadi)",
"license": "MIT",
"bugs": {
"url": "https://github.com/sumithemmadi/truecallerjs/issues"
},
"homepage": "https://github.com/sumithemmadi/truecallerjs#readme",
"dependencies": {
"awesome-phonenumber": "^5.10.0",
"axios": "^1.4.0",
"chalk": "^5.3.0",
"inquirer": "^9.2.9",
"json-colorizer": "^2.2.2",
"json-to-plain-text": "^1.1.2",
"json-to-pretty-yaml": "^1.2.2",
"ts-node": "^10.9.1",
"xml2js": "^0.6.2",
"yargs": "^17.7.2",
"yargs-parser": "^21.1.1"
},
"devDependencies": {
"@babel/preset-env": "^7.22.9",
"@types/inquirer": "^9.0.3",
"@types/node": "^20.4.5",
"@types/xml2js": "^0.4.11",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"babel-jest": "^29.6.2",
"eslint": "^8.46.0",
"install": "^0.13.0",
"jest": "^29.6.2",
"typescript": "^5.1.6"
}
}