UNPKG

recoil-sync-next

Version:

recoil-sync stores for Next.js

98 lines (97 loc) 3.45 kB
{ "name": "recoil-sync-next", "version": "0.0.6", "description": "recoil-sync stores for Next.js", "keywords": [ "react", "recoil", "recoil-sync", "next", "nextjs", "next.js" ], "main": "dist/cjs/index.js", "repository": "https://github.com/recruit-tech/recoil-sync-next.git", "license": "MIT", "packageManager": "yarn@1.22.22", "scripts": { "inst": "run-s -c inst:*", "inst:lib": "yarn install", "inst:ex": "CMD=inst run-s -c run-ex:*", "clean-inst": "run-s clean-nodemodules:ex inst:ex", "clean-nodemodules:ex": "CMD=clean-nodemodules run-s -c run-ex:*", "clean": "rm -Rf dist coverage", "clean-build": "run-s clean build", "build": "run-s -c build:*", "build:cjs": "tsc -p tsconfig.json", "build:esm": "tsc -p tsconfig.esm.json", "lint": "run-s -c lint:*", "lint:lib": "run-s -c lint:lib:*", "lint:lib:eslint": "eslint src", "lint:lib:tsc": "tsc --noEmit -p tsconfig.json", "lint:ex": "run-s -c lint:ex:*", "lint:ex:eslint": "CMD=lint:eslint run-s -c run-ex:*", "lint:ex:tsc": "CMD=lint:tsc run-s -c run-ex:*", "lint-fix": "run-s -c lint-fix:*", "lint-fix:lib": "run-s -c lint-fix:lib:*", "lint-fix:lib:eslint": "eslint src --fix", "lint-fix:lib:prettier": "prettier \"src/**/*.{ts,tsx}\" --write", "lint-fix:ex": "run-s -c lint-fix:ex:*", "lint-fix:ex:eslint": "CMD=lint-fix:eslint run-s -c run-ex:*", "lint-fix:ex:prettier": "CMD=lint-fix:prettier run-s -c run-ex:*", "local-copy": "CMD=local-copy run-s -c run-ex:*", "test": "jest", "prepare": "simple-git-hooks", "run-ex:history-sync-json": "yarn --cwd examples/history-sync-json run $CMD", "run-ex:history-sync-transit": "yarn --cwd examples/history-sync-transit run $CMD", "run-ex:url-sync-json": "yarn --cwd examples/url-sync-json run $CMD", "run-ex:url-sync-transit": "yarn --cwd examples/url-sync-transit run $CMD", "run-ex:react-hook-from": "yarn --cwd examples/react-hook-form run $CMD" }, "simple-git-hooks": { "pre-commit": "yarn run lint:lib:eslint && yarn run lint:ex:eslint && yarn run test" }, "peerDependencies": { "@recoiljs/refine": "^0.1.0", "next": "^12.2.0 || ^13.0.0 || ^14.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", "recoil": "^0.7.4", "recoil-sync": "^0.1.0 || ^0.2.0", "transit-js": "^0.8.874" }, "devDependencies": { "@jest/types": "29.6.3", "@recoiljs/refine": "0.1.1", "@testing-library/jest-dom": "6.4.2", "@testing-library/react": "15.0.2", "@types/jest": "29.5.12", "@types/node": "20.12.7", "@types/react": "18.2.79", "@types/react-dom": "18.2.25", "@types/transit-js": "0.8.3", "@typescript-eslint/eslint-plugin": "7.7.0", "@typescript-eslint/parser": "7.7.0", "eslint": "8.57.0", "eslint-config-next": "14.2.2", "eslint-config-prettier": "9.1.0", "eslint-plugin-import": "2.29.1", "eslint-plugin-react": "7.34.1", "eslint-plugin-react-hooks": "4.6.0", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", "next": "14.2.2", "next-router-mock": "0.9.13", "npm-run-all2": "6.1.2", "prettier": "3.2.5", "react": "18.2.0", "react-dom": "18.2.0", "recoil": "0.7.7", "recoil-sync": "0.2.0", "simple-git-hooks": "2.11.1", "transit-js": "0.8.874", "ts-jest": "29.1.2", "ts-node": "10.9.2", "typescript": "5.4.5" } }