Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

use-contacts

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-contacts - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

lib/index.d.ts

68

package.json
{
"name": "use-contacts",
"version": "0.0.1",
"description": "",
"main": "index.js",
"version": "0.1.0",
"description": "Typesafe Contact Picker API wrapper for React",
"main": "lib/index.js",
"module": "lib/index.mjs",
"sideEffects": false,
"src": "src/index.tsx",
"types": "lib/index.d.ts",
"files": [
"index.js",
"lib",
"LICENSE",
"package.json",
"README.md"
],
"keywords": [],
"author": "",
"repository": "https://github.com/woofers/use-contacts",
"keywords": [
"react",
"reactjs",
"contact"
],
"author": "Jaxson Van Doorn <jaxson.vandoorn@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/woofers/use-contacts/issues"
},
"homepage": "https://jaxs.onl/use-contacts/",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
}
"lint": "eslint \"src/**/*.{jsx,js,tsx,ts}\"",
"typecheck": "tsc ./src/index.ts --noEmit",
"types": "cp ./src/types.ts lib/types.d.ts",
"build": "~/.bun/bin/bun lint && ~/.bun/bin/bun build:nolint",
"build:nolint": "~/.bun/bin/bun typecheck && ~/.bun/bin/bun clean && ~/.bun/bin/bun types && ~/.bun/bin/bun build:module && ~/.bun/bin/bun build:dev:module && ~/.bun/bin/bun run build:legacy && ~/.bun/bin/bun build:dev:legacy",
"build:module": "~/.bun/bin/bun build ./src/index.ts --outdir ./lib --external react --minify --define __isDev__=false --entry-naming=use-contacts.mjs",
"build:dev:module": "~/.bun/bin/bun build ./src/index.ts --outdir ./lib --external react --minify --define __isDev__=true --entry-naming=use-contacts.dev.mjs",
"build:dev:legacy": "esbuild ./lib/use-contacts.dev.mjs --outfile=./lib/use-contacts.dev.js --format=cjs --minify",
"build:legacy": "esbuild ./lib/use-contacts.mjs --outfile=./lib/use-contacts.js --format=cjs --minify",
"clean": "rimraf lib/use-contacts.dev.js lib/use-contacts.js lib/use-contacts.dev.mjs lib/use-contacts.mjs",
"format": "prettier --write \"{src,tests}/**/*.{jsx,js,tsx,ts}\""
},
"peerDependencies": {
"react": "^0.13.0 || ^0.14.0 || >=15"
},
"dependencies": {},
"devDependencies": {
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"bun-types": "latest",
"esbuild": "^0.19.2",
"eslint": "^8.49.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"microbundle": "^0.15.1",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.1",
"typescript": "^5.2.2"
},
"browserslist": [
"defaults",
"not IE 11"
]
}
index.js
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc