UNPKG

@dolthub/react-contexts

Version:

A collection of React contexts for common tasks

82 lines (81 loc) 2.44 kB
{ "name": "@dolthub/react-contexts", "author": "DoltHub", "description": "A collection of React contexts for common tasks", "version": "0.1.0", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "keywords": [ "react", "contexts", "react-contexts", "state", "frontend" ], "packageManager": "yarn@4.0.2", "scripts": { "compile": "tsc -b", "build": "rollup -c --bundleConfigAsCjs", "dbuild": "yarn compile && yarn build", "lint": "eslint --cache --ext .ts,.js,.tsx,.jsx src", "prettier": "prettier --check 'src/**/*.{js,ts,tsx}'", "prettier-fix": "prettier --write 'src/**/*.{js,ts,tsx}'", "npm:publish": "yarn dbuild && npm publish", "test": "jest --env=jest-environment-jsdom", "yalc:publish": "yarn dbuild && yalc publish", "yalc:push": "yarn dbuild && yalc push" }, "peerDependencies": { "react": "^18.2.0", "react-dom": "^18.2.0" }, "dependencies": { "@dolthub/react-hooks": "^0.1.6" }, "devDependencies": { "@babel/core": "^7.23.7", "@babel/preset-env": "^7.23.8", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-typescript": "^11.1.5", "@testing-library/jest-dom": "^6.2.0", "@testing-library/react": "^14.1.2", "@testing-library/react-hooks": "^8.0.1", "@types/babel__core": "^7", "@types/babel__preset-env": "^7", "@types/eslint": "^8", "@types/jest": "^29.5.11", "@types/react": "^18", "@types/react-dom": "^18", "@types/rollup-plugin-peer-deps-external": "^2", "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "babel-jest": "^29.7.0", "eslint": "^8.56.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "prettier": "^3.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rollup": "^4.9.4", "rollup-plugin-dts": "^6.1.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-terser": "^7.0.2", "tslib": "^2.6.2", "typescript": "^5.3.3", "yalc": "^1.0.0-pre.53" }, "repository": { "type": "git", "url": "git+https://github.com/dolthub/react-library.git" }, "bugs": { "url": "https://github.com/dolthub/react-library/issues" } }