react-router-chart
Version:
Static route mapping for React Router
151 lines (150 loc) • 4.51 kB
JSON
{
"name": "react-router-chart",
"version": "1.0.0",
"description": "Static route mapping for React Router",
"author": "iamogbz",
"license": "Unlicense",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"homepage": "https://github.com/iamogbz/react-router-chart#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/iamogbz/react-router-chart.git"
},
"bugs": {
"url": "https://github.com/iamogbz/react-router-chart/issues"
},
"keywords": [
"react",
"router",
"react-router",
"javascript",
"es6",
"nodejs",
"chart",
"graph",
"cartographer"
],
"scripts": {
"commit": "git-cz",
"lint": "eslint --ignore-path .gitignore --ext .js,.ts,.jsx,.tsx .",
"test": "jest",
"test-watch": "jest --watch",
"build": "rm -rf lib && tsc --project tsconfig.prod.json --emitDeclarationOnly --declaration && webpack --mode=production",
"build-watch": "webpack --mode=development --watch",
"release": "semantic-release"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"@semantic-release/npm"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"lint-staged": {
"*.{js,ts}": [
"eslint",
"jest --bail --findRelatedTests"
]
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"moduleDirectories": [
"./src",
"./tests",
"./node_modules"
],
"testPathIgnorePatterns": [
"./artifacts/",
"./node_modules/"
],
"coveragePathIgnorePatterns": [
".mock.tsx?"
],
"setupFilesAfterEnv": [
"./config/setupTests.ts"
],
"coverageDirectory": "./artifacts/coverage"
},
"peerDependencies": {
"react-router-dom": ">=6.0.0"
},
"devDependencies": {
"@babel/cli": "^7.22.10",
"@babel/core": "^7.22.10",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@babel/runtime": "^7.22.10",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.4",
"@types/node": "^20.5.3",
"@types/react": "^18.2.21",
"@types/webpack": "^5.28.2",
"@types/webpack-node-externals": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"acorn": "^8.10.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^9.1.3",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"jest": "^29.6.3",
"jest-environment-jsdom": "^29.6.3",
"lint-staged": "^14.0.1",
"prettier": "^3.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router": "^6.15.0",
"react-router-dom": "^6.15.0",
"rxjs": "^7.8.1",
"semantic-release": "^21.0.9",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
}
}