use-contacts
Advanced tools
Comparing version 0.0.1 to 0.1.0
{ | ||
"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" | ||
] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
12313
11
89
0
6
0
1
16
4
3