raviger
Version:
React routing with hooks
111 lines (110 loc) • 3.29 kB
JSON
{
"name": "raviger",
"version": "4.2.1",
"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": ">=12"
},
"scripts": {
"style": "prettier --config package.json --write \"{src,test}/**/*.{ts,tsx}\"",
"style:ci": "prettier --config package.json --check \"{src,test}/**/*.{ts,tsx}\"",
"lint": "eslint \"{src,test}/**/*.{ts,tsx}\" --ext .js,.ts,.tsx --ignore-pattern node_modules/",
"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"
},
"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": {
"@size-limit/preset-small-lib": "^5.0.2",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"eslint": "^8.10.0",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-react": "^7.29.3",
"eslint-plugin-react-hooks": "^4.3.0",
"jest": "^27.2.4",
"jest-junit": "^12.2.0",
"jest-watch-typeahead": "^1.0.0",
"mkdirp": "^1.0.4",
"np": "^7.6.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.5.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.56.1",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.36.0",
"size-limit": "7.x",
"ts-jest": "^27.1.4",
"tslib": "^2.8.1",
"typescript": "^4.3.5"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}