UNPKG

remix-typedjson

Version:

This package is a replacement for superjson to use in your Remix app. It handles a subset of types that `superjson` supports, but is faster and smaller.

70 lines (69 loc) 2.16 kB
{ "name": "remix-typedjson", "version": "0.4.1", "description": "This package is a replacement for superjson to use in your Remix app. It handles a subset of types that `superjson` supports, but is faster and smaller.", "browser": "/dist/esm/index.js", "main": "./dist/index.js", "sideEffects": false, "author": "Michael J. Carter <kiliman@gmail.com> (https://kiliman.dev/)", "keywords": [ "remix", "json", "typescript" ], "repository": "kiliman/remix-typedjson", "license": "MIT", "files": [ "dist/**/*.js", "dist/**/*.d.ts", "README.md", "LICENSE.md", "CHANGELOG.md" ], "scripts": { "clean": "rimraf dist", "build": "npm run build:esm && npm run build:cjs", "build:esm": "tsc --project tsconfig.build.json --module ESNext --outDir ./dist/esm", "build:cjs": "tsc --project tsconfig.build.json --module CommonJS --outDir ./dist", "typecheck": "tsc --project tsconfig.json --noEmit", "lint": "eslint --ext .ts,.tsx src/", "test": "jest", "contributors:add": "all-contributors add", "contributors:generate": "all-contributors generate", "prepare": "npm run build", "prestart": "npm run build", "start": "node dist/cli.js" }, "devDependencies": { "@babel/core": "^7.23.3", "@babel/preset-env": "^7.23.3", "@babel/preset-typescript": "^7.23.3", "@remix-run/react": "^2.2.0", "@remix-run/server-runtime": "^2.2.0", "@types/jest": "^29.5.8", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.15", "all-contributors-cli": "^6.26.1", "babel-jest": "^29.7.0", "decimal.js": "^10.4.3", "esbuild": "^0.19.5", "esbuild-register": "^3.5.0", "jest": "^29.7.0", "prettier": "^3.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.5", "ts-jest": "^29.1.1", "ts-node": "^10.4.0", "typescript": "^5.1.6" }, "jest": { "preset": "ts-jest/presets/default-esm", "testEnvironment": "jsdom" }, "peerDependencies": { "@remix-run/react": "^1.16.0 || ^2.0", "@remix-run/server-runtime": "^1.16.0 || ^2.0", "react": "^17.0.2 || ^18.0.0" } }