UNPKG

jswhat

Version:

Identify anything from email addresses and IPs to crypto wallets. Works in Node, the browser and the command line

89 lines (88 loc) 2.6 kB
{ "name": "jswhat", "version": "2.0.1", "license": "MIT", "description": "Identify anything from email addresses and IPs to crypto wallets. Works in Node, the browser and the command line", "homepage": "https://github.com/apteryxxyz/jswhat", "author": { "name": "ApteryxXYZ", "url": "https://apteryx.xyz/" }, "main": "./dist/index.js", "exports": { "require": "./dist/index.js", "import": "./dist/index.mjs" }, "files": [ "dist" ], "bin": { "what": "./dist/what.js" }, "packageManager": "yarn@3.2.1", "scripts": { "lint": "eslint {src,bin} --fix", "format": "prettier src bin --write", "test": "node test/identify.test", "build:compile": "tsc && webpack", "build:copy": "cp temp/bin/what.js dist/what.js && node scripts/replaceBinPaths", "build:module": "gen-esm-wrapper . ./dist/index.mjs", "build:clean": "rm -rf temp", "build": "yarn build:compile && yarn build:copy && yarn build:module && yarn build:clean" }, "repository": { "type": "git", "url": "https://github.com/apteryxxyz/jswhat" }, "bugs": { "url": "https://github.com/apteryxxyz/jswhat/issues" }, "keywords": [ "what", "jswhat", "pywhat", "cli", "node", "browser", "identify", "regex" ], "devDependencies": { "@babel/core": "^7.18.5", "@babel/preset-env": "^7.18.2", "@types/axios": "^0.14.0", "@types/node": "^17.0.34", "@types/web": "^0.0.67", "@typescript-eslint/eslint-plugin": "^5.38.0", "@typescript-eslint/parser": "^5.38.0", "apteryx-prettier-config": "^1.1.0", "babel-loader": "^8.2.5", "bundle-declarations-webpack-plugin": "^3.1.0", "eslint": "^8.23.1", "eslint-config-apteryx": "^1.0.4", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "gen-esm-wrapper": "^1.1.3", "prettier": "^2.7.1", "tslib": "^2.4.0", "webpack": "^5.73.0", "webpack-cli": "^4.10.0" }, "prettier": "apteryx-prettier-config", "eslintConfig": { "plugins": [ "prettier" ], "extends": [ "plugin:prettier/recommended", "apteryx", "apteryx/typescript" ], "ignorePatterns": [ "test/*", "examples/*", "scripts/*", "dist/*" ] } }