UNPKG

@freik/recoil-tools

Version:

Kevin Frei's Web utilities for Recoil

83 lines (82 loc) 2.65 kB
{ "name": "@freik/recoil-tools", "version": "0.3.4", "description": "Kevin Frei's Web utilities for Recoil", "author": "Kevin Frei (kevinfrei@hotmail.com)", "license": "Unlicense", "repository": { "type": "git", "url": "git+https://github.com/kevinfrei/packages.git" }, "homepage": "https://github.com/kevinfrei/packages#readme", "bugs": { "url": "https://github.com/kevinfrei/packages/issues" }, "keywords": [ "js-utils", "react", "recoil", "recoiljs" ], "files": [ "lib/**/*" ], "types": "lib/index.d.ts", "module": "lib/index.js", "exports": { ".": { "import": "./lib/index.js" } }, "scripts": { "justtest": "bun test", "watch": "bun test --watch", "clean": "rm -rf lib", "release": "bun run build", "buildesm": "bun build --entrypoints src/index.ts --minify --external '@freik/*' --external 'react*' --external recoil --outdir ./lib --target browser --format esm", "buildtypes": "tsc --project tsconfig.esm.json --emitDeclarationOnly --outdir ./lib", "build": "bun run clean && bun run buildesm && bun run buildtypes", "dbgbuild": "bun run clean && tools make-module --map --esm src/*.ts", "cleanbuild": "bun run clean && bun run build", "prepublishOnly": "bun run test", "prepare": "bun run release", "lint": "eslint --fix src", "preversion": "bun run lint", "typechk": "tsc --noEmit --project tsconfig.cjs.json && tsc --noEmit --project tsconfig.esm.json", "test": "bun run lint && bun run typechk && bun run justtest", "doc": "typedoc ./src/index.ts --readme none --tsconfig tsconfig.esm.json" }, "dependencies": { "@freik/logger": "0.4.4", "@freik/react-tools": "0.3.4", "@freik/typechk": "0.8.4" }, "peerDependencies": { "react": ">=17.0.0", "react-dom": ">=17.0.0", "recoil": ">=0.5.0" }, "devDependencies": { "@happy-dom/global-registrator": "^17.4.4", "@types/bun": "^1.2.5", "@types/debug": "^4.1.12", "@types/react": "^18.3.0", "@types/react-dom": "^18.3.0", "@types/react-test-renderer": "^18.3.0", "@typescript-eslint/eslint-plugin": "^8.26.1", "@typescript-eslint/parser": "^8.26.1", "eslint": "^9.22.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-prettier": "^5.2.3", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-hooks": "^5.2.0", "happy-dom": "^17.4.4", "react": "^18.3.1", "react-dom": "^18.3.1", "react-scripts": "^5.0.1", "recoil": "^0.7.7", "typescript": "^5.8.2" } }