Socket
Socket
Sign inDemoInstall

usehooks-ts

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

usehooks-ts - npm Package Compare versions

Comparing version 2.9.2 to 2.9.3

LICENSE

37

package.json
{
"name": "usehooks-ts",
"private": false,
"version": "2.9.2",
"version": "2.9.3",
"description": "React hook library, ready to use, written in Typescript.",

@@ -17,20 +17,2 @@ "author": "Julien CARON <juliencaron@protonmail.com>",

"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js"
}
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"dev": "pnpm test:watch",
"build": "pnpm build:cjs && pnpm build:esm",
"build:cjs": "tsc -p tsconfig.build.json --module commonjs --outDir dist/cjs --target es5",
"build:esm": "tsc -p tsconfig.build.json --module esNext --outDir dist/esm --target es6",
"test": "jest",
"test:watch": "pnpm test -- --watch --silent",
"clean": "rimraf -rf ./dist .turbo",
"lint": "eslint './src/**/*.{js,jsx,ts,tsx}'",
"types-check": "tsc --noEmit"
},
"devDependencies": {

@@ -47,3 +29,2 @@ "@testing-library/react": "^12.1.2",

"eslint": "^8.9.0",
"eslint-config-custom": "workspace:*",
"eslint-plugin-tree-shaking": "^1.10.0",

@@ -57,3 +38,4 @@ "jest": "^29.0.3",

"ts-node": "^10.2.1",
"typescript": "^4.8.3"
"typescript": "^4.8.3",
"eslint-config-custom": "1.0.0"
},

@@ -76,3 +58,14 @@ "peerDependencies": {

"url": "https://github.com/juliencrn/usehooks-ts/issues"
},
"scripts": {
"dev": "pnpm test:watch",
"build": "pnpm build:cjs && pnpm build:esm",
"build:cjs": "tsc -p tsconfig.build.json --module commonjs --outDir dist/cjs --target es5",
"build:esm": "tsc -p tsconfig.build.json --module esNext --outDir dist/esm --target es6",
"test": "jest",
"test:watch": "pnpm test -- --watch --silent",
"clean": "rimraf -rf ./dist .turbo",
"lint": "eslint './src/**/*.{js,jsx,ts,tsx}'",
"types-check": "tsc --noEmit"
}
}
}
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