@neo4j-ndl/react-charts
Version:
React implementation of charts from Neo4j Design System
75 lines • 2.25 kB
JSON
{
"name": "@neo4j-ndl/react-charts",
"version": "0.0.155",
"sideEffects": false,
"description": "React implementation of charts from Neo4j Design System",
"keywords": [
"neo4j",
"react",
"design system",
"needle",
"ndl",
"chart",
"charts"
],
"author": "Neo4j Inc.",
"homepage": "https://www.neo4j.design",
"license": "GPL-3.0",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/types/index.d.ts",
"exports": {
"./icons": {
"import": "./lib/esm/icons/index.js",
"require": "./lib/cjs/icons/index.js",
"types": "./lib/types/icons/index.d.ts"
},
".": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js",
"types": "./lib/types/index.d.ts"
}
},
"directories": {
"lib": "lib"
},
"files": [
"lib",
"icons"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@axe-core/playwright": "4.9.0",
"@playwright/experimental-ct-react": "1.45.0",
"@playwright/test": "1.45.0",
"@types/react": "18.2.18",
"@types/react-dom": "18.2.7",
"react": "18.2.0",
"typescript": "5.5.4"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"@neo4j-ndl/base": "^3.7.23",
"@neo4j-ndl/react": "^3.9.6"
},
"dependencies": {
"classnames": "2.5.1",
"echarts": "5.6.0"
},
"scripts": {
"test": "pnpm run test:playwright",
"test:playwright": "pnpm exec playwright test -c playwright-component-testing.config.ts",
"build": "pnpm run build:esm && pnpm run build:cjs && pnpm run build:types",
"build:esm": "pnpm exec tsc -p tsconfig.esm.json",
"build:cjs": "pnpm exec tsc -p tsconfig.cjs.json",
"watch:esm": "pnpm exec tsc -p tsconfig.esm.json --watch",
"watch:cjs": "pnpm exec tsc -p tsconfig.cjs.json --watch",
"build:types": "pnpm exec tsc -p tsconfig.types.json",
"format": "pnpm exec prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
"lint": "pnpm exec eslint src",
"nuke:local": "../../scripts/cc.sh '{yellow ☢️} Nuking react-charts! {yellow ☢️}' && pnpm dlx rimraf@5.0.5 .tsbuildinfo node_modules lib playwright-report test-results playwright/.cache"
}
}