UNPKG

@lucianojd/recoil-sync-next

Version:

recoil-sync stores for Next.js

98 lines (97 loc) 3.45 kB
{ "name": "@lucianojd/recoil-sync-next", "version": "0.0.3", "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.19", "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", "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.2.1", "@recoiljs/refine": "0.1.1", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "13.4.0", "@types/jest": "29.2.0", "@types/node": "18.11.7", "@types/react": "18.0.24", "@types/react-dom": "18.0.8", "@types/transit-js": "0.8.0", "@typescript-eslint/eslint-plugin": "5.41.0", "@typescript-eslint/parser": "5.41.0", "eslint": "8.26.0", "eslint-config-next": "13.0.0", "eslint-config-prettier": "8.5.0", "eslint-plugin-import": "2.26.0", "eslint-plugin-react": "7.31.10", "eslint-plugin-react-hooks": "4.6.0", "jest": "29.2.2", "jest-environment-jsdom": "29.2.2", "next": "13.0.0", "next-router-mock": "0.7.4", "npm-run-all": "4.1.5", "prettier": "2.7.1", "react": "18.2.0", "react-dom": "18.2.0", "recoil": "0.7.6", "recoil-sync": "0.2.0", "simple-git-hooks": "2.8.1", "transit-js": "0.8.874", "ts-jest": "29.0.3", "ts-node": "10.9.1", "typescript": "4.8.4" } }