@pluralsight/react-utils
Advanced tools
Comparing version 0.0.0-alpha-103a15 to 0.0.0-alpha-146018
@@ -1,2 +0,2 @@ | ||
declare function helloWorld(): void; | ||
export { helloWorld }; | ||
export { useEscToClose } from './hooks/useEscToClose'; | ||
export { useFocusTrap } from './hooks/useFocusTrap'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.helloWorld = void 0; | ||
function helloWorld() { | ||
console.log('Welcome to @pluralsight/react-utils! The official library is coming soon.'); | ||
} | ||
exports.helloWorld = helloWorld; | ||
exports.useFocusTrap = exports.useEscToClose = void 0; | ||
var useEscToClose_1 = require("./hooks/useEscToClose"); | ||
Object.defineProperty(exports, "useEscToClose", { enumerable: true, get: function () { return useEscToClose_1.useEscToClose; } }); | ||
var useFocusTrap_1 = require("./hooks/useFocusTrap"); | ||
Object.defineProperty(exports, "useFocusTrap", { enumerable: true, get: function () { return useFocusTrap_1.useFocusTrap; } }); |
@@ -1,7 +0,2 @@ | ||
function helloWorld() { | ||
console.log( | ||
'Welcome to @pluralsight/react-utils! The official library is coming soon.' | ||
) | ||
} | ||
export { helloWorld } | ||
export { useEscToClose } from './hooks/useEscToClose' | ||
export { useFocusTrap } from './hooks/useFocusTrap' |
{ | ||
"name": "@pluralsight/react-utils", | ||
"version": "0.0.0-alpha-103a15", | ||
"version": "0.0.0-alpha-146018", | ||
"description": "A set of React custom hooks for Pluralsight.", | ||
@@ -10,6 +10,5 @@ "main": "build/index.js", | ||
".": { | ||
"import": "build/wrapper.js", | ||
"require": "build/index.js" | ||
}, | ||
"./types": "build/types.d.ts" | ||
"import": "./build/wrapper.js", | ||
"require": "./build/index.js" | ||
} | ||
}, | ||
@@ -30,2 +29,3 @@ "files": [ | ||
"rename:wrapper": "renamer --path-element ext src/wrapper.ts --find '.ts' --replace '.js'", | ||
"lint:ts": "tsc --project tsconfig.json --noEmit", | ||
"test": "echo \"'yarn test' should be run from root directory.\" && exit 1" | ||
@@ -37,8 +37,15 @@ }, | ||
"devDependencies": { | ||
"@testing-library/dom": "^8.16.0", | ||
"@testing-library/jest-dom": "^5.16.4", | ||
"@testing-library/react": "^13.3.0", | ||
"@testing-library/user-event": "^14.3.0", | ||
"@types/copyfiles": "^2", | ||
"@types/jest": "^27.4.1", | ||
"@types/jest": "^28.1.6", | ||
"@types/react": "^17.0.40", | ||
"@types/react-dom": "^18", | ||
"@types/testing-library__jest-dom": "^5", | ||
"copyfiles": "^2.4.1", | ||
"identity-obj-proxy": "^3.0.0", | ||
"react": "latest", | ||
"react-dom": "latest", | ||
"renamer": "^4.0.0", | ||
@@ -45,0 +52,0 @@ "typescript": "4.4.4" |
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
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
6633
9
95
15