pankod/refine

View on GitHub
packages/devtools-server/package.json

Summary

Maintainability
Test Coverage
{
  "name": "@refinedev/devtools-server",
  "version": "1.1.31",
  "private": false,
  "description": "refine devtools offers a set of features from monitoring to quickly prototyping a UI.",
  "repository": {
    "type": "git",
    "url": "https://github.com/refinedev/refine.git",
    "directory": "packages/devtools"
  },
  "license": "MIT",
  "author": "refine",
  "sideEffects": false,
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    }
  },
  "main": "dist/index.cjs",
  "module": "dist/index.mjs",
  "typings": "dist/index.d.ts",
  "bin": {
    "refine-devtools": "./dist/cli.cjs"
  },
  "files": [
    "dist",
    "src"
  ],
  "scripts": {
    "attw": "attw --pack .",
    "build": "pnpm build:client && tsup && node ../shared/generate-declarations.js",
    "build:client": "NODE_ENV=production tsc && vite build --config src/client/vite.config.ts",
    "dev": "pnpm dev:client & tsup --watch",
    "dev:client": "vite build --watch --force --config src/client/vite.config.ts",
    "prepare": "pnpm -w build --scope @refinedev/devtools-server",
    "publint": "publint --strict=true --level=suggestion",
    "start:server": "node dist/cli.cjs",
    "test": "jest --passWithNoTests --runInBand",
    "types": "node ../shared/generate-declarations.js"
  },
  "dependencies": {
    "@ory/client": "^1.5.2",
    "@refinedev/devtools-shared": "1.1.9",
    "body-parser": "^1.20.2",
    "boxen": "^5.1.2",
    "chalk": "^4.1.2",
    "dedent": "^0.7.0",
    "error-stack-parser": "^2.1.4",
    "execa": "^5.1.1",
    "express": "^4.18.2",
    "fs-extra": "^10.1.0",
    "globby": "^11.1.0",
    "gray-matter": "^4.0.3",
    "http-proxy-middleware": "^2.0.6",
    "jscodeshift": "0.15.2",
    "lodash": "^4.17.21",
    "lodash-es": "^4.17.21",
    "marked": "^4.3.0",
    "node-fetch": "^2.6.7",
    "preferred-pm": "^3.1.3",
    "react": "^18.0.0",
    "react-dom": "^18.0.0",
    "sanitize-html": "^2.11.0",
    "ws": "^8.13.0"
  },
  "devDependencies": {
    "@esbuild-plugins/node-resolve": "^0.1.4",
    "@refinedev/devtools-ui": "1.1.24",
    "@testing-library/jest-dom": "^5.16.4",
    "@types/dedent": "^0.7.0",
    "@types/express": "^4.17.21",
    "@types/fs-extra": "^9.0.13",
    "@types/jest": "^29.2.4",
    "@types/jscodeshift": "^0.11.11",
    "@types/lodash": "^4.14.171",
    "@types/marked": "^5.0.1",
    "@types/node": "^18.16.2",
    "@types/node-fetch": "^2.6.11",
    "@types/sanitize-html": "^2.9.0",
    "@types/ws": "^8.5.5",
    "@vitejs/plugin-react": "^4.2.1",
    "esbuild-copy-static-files": "^0.1.0",
    "jest": "^29.3.1",
    "jest-environment-jsdom": "^29.3.1",
    "react-router-dom": "^6.8.1",
    "ts-jest": "^29.1.2",
    "tslib": "^2.6.2",
    "tsup": "^6.7.0",
    "typescript": "^5.4.2",
    "vite": "^5.1.6"
  },
  "peerDependencies": {
    "@types/react": "^17.0.0 || ^18.0.0",
    "@types/react-dom": "^17.0.0 || ^18.0.0",
    "react": "^17.0.0 || ^18.0.0",
    "react-dom": "^17.0.0 || ^18.0.0"
  },
  "engines": {
    "node": ">=10"
  },
  "publishConfig": {
    "access": "public"
  },
  "nx": {
    "targets": {
      "build": {
        "dependsOn": [
          "^build",
          "build:client"
        ],
        "cache": true
      },
      "build:client": {
        "dependsOn": [
          "^build"
        ],
        "outputs": [
          "{projectRoot}/dist"
        ],
        "cache": true
      }
    }
  }
}