nextjs-paths
Version:
Generate path helpers for Next.js App Router
84 lines (83 loc) • 2.08 kB
JSON
{
"name": "nextjs-paths",
"version": "1.0.8",
"description": "Generate path helpers for Next.js App Router",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"nextjs-paths": "./dist/cli.js"
},
"scripts": {
"build": "tsc && chmod +x dist/cli.js",
"prebuild": "yarn run clean && yarn run generate:test",
"pretest": "yarn build",
"test": "jest",
"prepare": "yarn build",
"generate": "tsx src/cli.js -h generate",
"clean": "rm -rf dist",
"prepublishOnly": "yarn clean && yarn build",
"generate:test": "tsx src/cli.ts generate --appDir tests/fixtures/app --outputDir tests/fixtures/app",
"help": "node dist/cli.js --options --help"
},
"keywords": [
"nextjs",
"typescript",
"app-router",
"paths",
"routing",
"next",
"next.js",
"app-directory"
],
"author": "luap2703",
"license": "MIT",
"dependencies": {
"commander": "^11.0.0",
"typescript": "^5.0.0"
},
"devDependencies": {
"@types/jest": "^29.0.0",
"@types/node": "^22.15.17",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.7.0",
"next": "^15.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^29.0.0",
"tsx": "^4.0.0"
},
"peerDependencies": {
"next": ">=14.0.0",
"react": ">=18.2.0",
"react-dom": ">=18.2.0"
},
"files": [
"dist/index.js",
"dist/index.d.ts",
"dist/cli.js",
"dist/cli.d.ts",
"dist/generatePaths.js",
"dist/generatePaths.d.ts",
"dist/paths.js",
"dist/paths.d.ts",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git+https://github.com/luap2703/nextjs-paths.git"
},
"bugs": {
"url": "https://github.com/luap2703/nextjs-paths/issues"
},
"homepage": "https://github.com/luap2703/nextjs-paths#readme",
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public"
},
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
}