{ "version": "0.10.7", "name": "organism-react-graph", "repository": { "type": "git", "url": "https://github.com/react-atomic/react-atomic-organism", "directory": "packages/organism-react-graph" }, "homepage": "https://github.com/react-atomic/react-atomic-organism/tree/main/packages/organism-react-graph", "description": "React Graph", "keywords": [ "react", "graph", "d3" ], "author": "Hill ", "license": "MIT", "dependencies": { "call-func": "*", "colorlib": "*", "d3-lib": "*", "get-object-value": "*", "getoffset": "*", "react-atomic-molecule": "*", "reshow-constant": "*", "reshow-hooks": "*", "to-percent-js": "*", "win-doc": "*" }, "devDependencies": { "@babel/cli": "^8.0.6", "@babel/core": "^8.0.9", "@types/react": "^19.x", "@types/react-dom": "^19.x", "react": "^19.x", "react-dom": "^19.x", "reshow-unit": "*", "typescript": "^7.0.2" }, "exports": { "types": "./types/index.d.ts", "require": "./build/cjs/src/index.js", "import": "./build/es/src/index.mjs" }, "main": "./build/cjs/src/index.js", "module": "./build/es/src/index.mjs", "scripts": { "clean": "find ./build -name '*.*' | xargs rm -rf", "build:cjs": "BABEL_ENV=cjs babel src -d build/cjs/src --ignore /**/__tests__ --root-mode upward", "build:es": "BABEL_ENV=es babel src -d build/es/src --out-file-extension .mjs --root-mode upward", "build:type": "tsc src/index.js src/*.js $(find src -name \"*.jsx\" -not -path \"*/__tests__/*\") --jsx react-jsx --declaration --allowJs --emitDeclarationOnly --skipLibCheck --declarationDir types --resolvePackageJsonExports false --strict false", "build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:type", "mochaFor": "STRICT_MODE=on mocha", "mocha": "npm run mochaFor -- 'build/es/**/__tests__/*.mjs'", "test:report": "npm run build && npm run mochaFor -- --reporter mocha-junit-reporter --reporter-options mochaFile=./test_output/mocha.xml 'build/es/**/__tests__/*.mjs'", "test": "npm run build && npm run mocha", "prepublishOnly": "npm run test" }, "types": "./types/index.d.ts", "files": [ "types", "build", "package.json", "README.md" ] }