{ "version": "0.8.2", "name": "d3-lib", "repository": { "type": "git", "url": "https://github.com/react-atomic/react-atomic-organism", "directory": "packages/lib/d3-lib" }, "homepage": "https://github.com/react-atomic/react-atomic-organism/tree/main/packages/lib/d3-lib", "description": "D3 Library for data computing.", "keywords": [], "author": "Hill ", "license": "MIT", "dependencies": { "array.min.max": "*", "call-func": "*", "create-el": "*", "d3": "^6.x", "d3-scale-chromatic": "*", "get-object-value": "*", "memoize-one": "*", "reshow-constant": "*", "reshow-hooks": "*", "reshow-runtime": "*", "win-doc": "*" }, "devDependencies": { "@babel/cli": "^8.0.6", "@babel/core": "^8.0.9", "@types/d3": "^6.x", "reshow-unit-dom": "*", "typescript": "^7.0.2" }, "exports": { "types": "./types/index.d.ts", "require": "./build/cjs/src/index.js", "import": "./build/es/src/index.mjs" }, "types": "./types/index.d.ts", "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/*.js --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": "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" }, "files": [ "types", "build", "package.json", "README.md" ] }