UNPKG

raviger

Version:

React routing with hooks

114 lines (113 loc) 3.27 kB
{ "name": "raviger", "version": "5.0.0", "description": "React routing with hooks", "keywords": [ "react", "hooks", "router", "routing", "route", "navigation", "navigator" ], "repository": "git@github.com:kyeotic/raviger.git", "author": "Tim Kye <tyrsius@gmail.com>", "license": "MIT", "private": false, "main": "dist/main.js", "module": "dist/module.js", "typings": "dist/main.d.ts", "files": [ "dist" ], "engines": { "node": ">=20" }, "scripts": { "style": "prettier --config package.json --write \"{src,test}/**/*.{ts,tsx}\"", "style:ci": "prettier --config package.json --check \"{src,test}/**/*.{ts,tsx}\"", "lint": "eslint", "check": "npm run style && npm run lint", "check:ci": "npm run style:ci && npm run lint", "build:clean": "rimraf dist && mkdirp dist", "build:compile": "rollup -c", "build:tsc": "tsc", "build": "run-s build:clean build:compile", "build:watch": "rollup -c --watch", "example": "npm run start --prefix example", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:coverage:open": "run-s test:coverage coverage:report", "test:unit:ci": "jest --ci --coverage --reporters=default --reporters=jest-junit", "coverage:report": "open coverage/lcov-report/index.html", "test:ci": "run-s check:ci test:unit:ci", "size": "run-s build size:check", "size:check": "size-limit", "prepublishOnly": "run-s test:ci", "release": "np", "analyze": "size-limit --why" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "prettier": { "tabWidth": 2, "semi": false, "singleQuote": true, "printWidth": 100 }, "size-limit": [ { "name": "CommonJS", "path": "dist/main.js", "limit": "2.9kb" }, { "name": "ESM", "webpack": false, "path": "dist/module.js", "limit": "3.5kb" } ], "np": { "yarn": true }, "devDependencies": { "@eslint/js": "^9.22.0", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.2", "@size-limit/preset-small-lib": "9.x", "@size-limit/webpack": "9.x", "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "15.x", "@types/react": "18", "@types/react-dom": "18", "eslint": "^9.22.0", "eslint-plugin-import": "^2.24.0", "eslint-plugin-jest": "^28.11.0", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-hooks": "^5.2.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jest-junit": "^16.0.0", "jest-watch-typeahead": "^2.2.2", "mkdirp": "^3.0.1", "np": "^10.2.0", "npm-run-all": "^4.1.5", "prettier": "^3.5.3", "react": "18", "react-dom": "18", "rimraf": "^6.0.1", "rollup": "^4.35.0", "size-limit": "9.x", "ts-jest": "^29.2.6", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typescript": "^5.8.2", "typescript-eslint": "^8.26.1" }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" }