UNPKG

@designerstrust/remix-utils

Version:

This package contains simple utility functions to use with [Remix.run](https://remix.run).

96 lines 2.8 kB
{ "name": "@designerstrust/remix-utils", "version": "5.2.0", "license": "MIT", "private": false, "engines": { "node": ">=14" }, "browser": "./browser/index.js", "main": "./build/index.js", "sideEffects": false, "scripts": { "build": "npm run build:browser && npm run build:main", "build:browser": "tsc --project tsconfig.json --module ESNext --outDir ./browser", "build:main": "tsc --project tsconfig.json --module CommonJS --outDir ./build", "typecheck": "tsc --project tsconfig.json --noEmit", "lint": "eslint --ext .ts,.tsx src/", "test": "jest --config=config/jest.config.ts --passWithNoTests" }, "author": { "name": "Sergio Xalambrí", "url": "https://sergiodxa.com", "email": "hello@sergiodxa.com" }, "repository": { "type": "git", "url": "https://github.com/sergiodxa/remix-utils" }, "keywords": [ "remix", "remix.run", "react", "utils", "request", "response", "csrf", "redirect-back", "outlet", "client-only", "hydrated", "body parser" ], "peerDependencies": { "@remix-run/react": "^1.9.0", "@remix-run/server-runtime": "^1.9.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "zod": "^3.19.1" }, "devDependencies": { "@babel/core": "^7.16.0", "@babel/preset-env": "^7.16.0", "@babel/preset-react": "^7.16.0", "@babel/preset-typescript": "^7.16.0", "@jest/types": "^27.2.5", "@remix-run/node": "^1.9.0", "@remix-run/react": "^1.9.0", "@remix-run/server-runtime": "^1.9.0", "@testing-library/jest-dom": "^5.15.0", "@testing-library/react": "^12.1.2", "@types/react": "^17.0.14", "@types/uuid": "^8.3.3", "@typescript-eslint/eslint-plugin": "^5.3.0", "@typescript-eslint/parser": "^5.3.0", "babel-jest": "^27.3.1", "eslint": "^8.12.0", "eslint-config-prettier": "^8.3.0", "eslint-import-resolver-typescript": "^2.5.0", "eslint-plugin-cypress": "^2.11.3", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jest": "^26.1.3", "eslint-plugin-jest-dom": "^4.0.1", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-react": "^7.26.1", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-testing-library": "^5.1.0", "eslint-plugin-unicorn": "^41.0.1", "jest": "^27.3.1", "jest-fetch-mock": "^3.0.3", "prettier": "^2.5.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-router-dom": "6.3.0", "ts-node": "^10.4.0", "typescript": "^4.2.4", "zod": "^3.19.1" }, "dependencies": { "intl-parse-accept-language": "^1.0.0", "is-ip": "^3.1.0", "schema-dts": "^1.1.0", "type-fest": "^2.5.2", "uuid": "^8.3.2" } }