UNPKG

decycle

Version:

JSON decycle replaces circular references with JSON path references

87 lines (86 loc) 2.25 kB
{ "name": "decycle", "version": "1.0.0", "description": "JSON decycle replaces circular references with JSON path references", "author": "Mark <mark@remarkablemark.org> (https://remarkablemark.org)", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.mts", "default": "./dist/index.mjs" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } } }, "scripts": { "build": "vite build", "clean": "rm -rf coverage dist docs", "docs": "typedoc", "docs:watch": "npm run docs -- --watch", "lint": "eslint .", "lint:fix": "npm run lint -- --fix", "lint:package": "publint", "lint:tsc": "tsc", "prepare": "husky", "prepublishOnly": "npm run build && npm run lint && npm run lint:tsc && npm run test:ci", "test": "vitest run", "test:ci": "CI=true npm test -- --color", "test:watch": "vitest --coverage.enabled=false" }, "repository": { "type": "git", "url": "git+https://github.com/remarkablemark/decycle.git" }, "bugs": { "url": "https://github.com/remarkablemark/decycle/issues" }, "keywords": [ "JSON", "decycle", "circular", "references", "JSONPath" ], "devDependencies": { "@commitlint/cli": "20.4.1", "@commitlint/config-conventional": "20.4.1", "@eslint/compat": "2.0.2", "@eslint/eslintrc": "3.3.3", "@eslint/js": "9.39.2", "@types/node": "25.2.2", "@vitest/coverage-v8": "4.0.18", "eslint": "9.39.2", "eslint-plugin-prettier": "5.5.5", "eslint-plugin-simple-import-sort": "12.1.1", "eslint-plugin-tsdoc": "0.5.0", "globals": "17.3.0", "husky": "9.1.7", "lint-staged": "16.2.7", "prettier": "3.8.1", "publint": "0.3.17", "tslib": "2.8.1", "typedoc": "0.28.16", "typescript": "5.9.3", "typescript-eslint": "8.54.0", "vite": "7.3.1", "vite-plugin-dts": "4.5.4", "vitest": "4.0.18" }, "files": [ "dist/", "src/" ], "funding": [ { "type": "github", "url": "https://github.com/sponsors/remarkablemark" } ], "license": "MIT" }