UNPKG

react-use-wizard

Version:

React wizard (stepper) builder without the hassle, powered by hooks.

110 lines (109 loc) 2.74 kB
{ "name": "react-use-wizard", "author": "devrnt <me@jonasdevrient.be>", "description": "React wizard (stepper) builder without the hassle, powered by hooks.", "homepage": "https://github.com/devrnt/react-use-wizard#readme", "module": "dist/react-use-wizard.mjs", "version": "2.3.0", "license": "MIT", "main": "dist/index.js", "types": "dist/index.d.ts", "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/devrnt/react-use-wizard" }, "bugs": { "url": "https://github.com/devrnt/react-use-wizard/issues" }, "files": [ "dist", "src" ], "engines": { "node": ">=10" }, "exports": { ".": { "types": "./dist/index.d.ts", "browser": "./dist/react-use-wizard.mjs", "import": "./dist/react-use-wizard.mjs", "require": "./dist/index.js" } }, "keywords": [ "react", "reactjs", "wizard", "stepper", "react-stepper", "react-wizard", "react-use", "typescript", "react-hooks", "react-use-wizard", "react-use-stepper", "gastsby", "nextjs", "devrnt" ], "scripts": { "start": "tsdx watch", "build": "tsdx build", "build:playground": "yarn --cwd ./playground install && yarn --cwd ./playground build", "test": "tsdx test --passWithNoTests", "test:watch": "tsdx test --watch", "test:coverage": "tsdx test --coverage", "lint": "tsdx lint", "prepare": "tsdx build", "size": "tsdx build && size-limit", "analyze": "size-limit --why", "release": "np" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "husky": { "hooks": { "pre-commit": "tsdx lint" } }, "size-limit": [ { "path": "dist/react-use-wizard.cjs.production.min.js", "limit": "500 B" }, { "path": "dist/react-use-wizard.esm.js", "limit": "500 B" } ], "publishConfig": { "registry": "https://registry.npmjs.org" }, "devDependencies": { "@babel/core": "^7.15.8", "@babel/preset-env": "^7.15.8", "@size-limit/preset-small-lib": "^4.10.2", "@testing-library/jest-dom": "^5.14.1", "@testing-library/react": "^12.1.2", "@testing-library/react-hooks": "^7.0.2", "@types/react": "^17.0.29", "@types/react-dom": "^17.0.9", "babel-jest": "^27.2.5", "eslint-plugin-jsdoc": "^46.4.4", "eslint-plugin-promise": "^5.1.0", "eslint-plugin-simple-import-sort": "^7.0.0", "husky": "^7.0.2", "np": "^8.0.4", "react": "^17.0.2", "react-dom": "^17.0.2", "react-test-renderer": "^17.0.2", "size-limit": "^4.10.2", "tsdx": "^0.14.1", "tslib": "^2.3.1", "typescript": "^4.4.3" }, "dependencies": {} }