UNPKG

rift-router

Version:

Blazing Fast and Lightweight router for React Based on state first.

77 lines (76 loc) 1.89 kB
{ "name": "rift-router", "version": "1.5.0", "description": "Blazing Fast and Lightweight router for React Based on state first.", "main": "lib/index.js", "types": "lib/types/index.d.ts", "author": "Cervantes007", "keywords": [ "router", "react", "rift", "rift-router", "lightweight", "fast", "typescript" ], "repository": { "type": "git", "url": "https://github.com/Cervantes007/rift-router.git" }, "license": "MIT", "scripts": { "build": "rm -rf ./lib && tsc", "format": "prettier --write './src/**/*.{ts,tsx}'", "test": "jest", "lint": "eslint --fix './src/**/*.{ts,tsx}'", "precommit": "pretty-quick --staged" }, "peerDependencies": { "react": "^17.0.2" }, "devDependencies": { "@types/jest": "^24.0.0", "@types/react": "^17.0.14", "@types/react-dom": "^17.0.9", "@typescript-eslint/eslint-plugin": "^4.28.4", "@typescript-eslint/parser": "^4.28.4", "eslint": "^7.31.0", "eslint-config-airbnb": "18.2.1", "eslint-config-airbnb-typescript": "^12.3.1", "eslint-config-prettier": "8.3.0", "eslint-plugin-import": "^2.23.4", "eslint-plugin-jest": "^24.4.0", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "3.4.0", "eslint-plugin-react": "^7.24.0", "eslint-plugin-react-hooks": "^4.2.0", "husky": "^0.14.3", "jest": "^24.1.0", "prettier": "2.3.2", "pretty-quick": "^1.4.1", "react-dom": "^17.0.2", "ts-jest": "^23.10.5", "typescript": "^4.3.5" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "jest": { "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ] } }