package.package.json Maven / Gradle / Ivy
{
"name": "@carbon/charts",
"version": "1.22.0",
"description": "Carbon Charts component library",
"type": "module",
"module": "./dist/index.mjs",
"main": "./dist/umd/bundle.umd.cjs",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
"./styles.min.css": "./dist/styles.min.css",
"./styles.css": "./dist/styles.css",
"./styles/styles.scss": "./scss/index.scss",
"./scss/index.scss": "./scss/index.scss",
"./scss": "./scss/index.scss",
".": {
"types": "./dist/index.d.ts",
"browser": {
"import": "./dist/index.mjs",
"require": "./dist/umd/bundle.umd.cjs"
},
"node": {
"import": "./dist/index.mjs",
"require": "./dist/umd/bundle.umd.cjs"
}
},
"./components": {
"types": "./dist/components/index.d.ts",
"import": "./dist/components/index.mjs"
},
"./interfaces": {
"types": "./dist/interfaces/index.d.ts",
"import": "./dist/interfaces/index.mjs"
},
"./model": {
"types": "./dist/model/index.d.ts",
"import": "./dist/model/index.mjs"
},
"./services": {
"types": "./dist/services/index.d.ts",
"import": "./dist/services/index.mjs"
}
},
"style": "./scss/index.scss",
"files": [
"dist",
"scss",
"styles.css",
"styles.min.css",
"CHANGELOG.md",
"telemetry.yml"
],
"scripts": {
"postinstall": "ibmtelemetry --config=telemetry.yml",
"file:css:charts": "sass scss/index.scss dist/styles.css --load-path=./node_modules --load-path=../../node_modules",
"file:css:min:charts": "sass scss/index.scss dist/styles.min.css --style=compressed --load-path=./node_modules --load-path=../../node_modules",
"file:downlevel:dts": "downlevel-dts dist dist",
"postbundle": "concurrently \"yarn:file:*\"",
"build": "vite build && vite build -c ./vite.umd.config.ts && cp dist/umd/bundle.umd.cjs dist/umd/bundle.umd.js && yarn postbundle && cp dist/styles*.css* ./ && publint",
"build:test": "vite build --config vite.test.config.ts --emptyOutDir",
"dev": "vite --port 3000",
"test": "vitest",
"test:dom": "playwright test",
"test:dom:rebase": "playwright test --update-snapshots",
"test:coverage": "vitest run --coverage",
"lint": "eslint",
"format": "prettier . --write --ignore-path ../../.prettierignore"
},
"homepage": "https://github.com/carbon-design-system/carbon-charts#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/carbon-design-system/carbon-charts.git",
"directory": "packages/core"
},
"dependencies": {
"@carbon/colors": "^11.26.0",
"@carbon/utils-position": "^1.3.0",
"@ibm/telemetry-js": "^1.6.1",
"@types/d3": "^7.4.3",
"@types/topojson": "^3.2.6",
"carbon-components": "^10.58.15",
"d3": "^7.9.0",
"d3-cloud": "^1.2.7",
"d3-sankey": "^0.12.3",
"date-fns": "^3.6.0",
"dompurify": "^3.1.6",
"html-to-image": "^1.11.11",
"lodash-es": "^4.17.21",
"topojson-client": "^3.1.0",
"tslib": "^2.7.0"
},
"devDependencies": {
"@carbon/layout": "^11.26.0",
"@carbon/styles": "^1.65.0",
"@carbon/themes": "^11.40.0",
"@playwright/test": "^1.47.1",
"@rollup/plugin-replace": "^5.0.7",
"@types/dompurify": "^3.0.5",
"@types/lodash-es": "^4.17.12",
"@types/node": "^22.5.5",
"concurrently": "^9.0.1",
"downlevel-dts": "^0.11.0",
"eslint": "^9.10.0",
"jsdom": "^25.0.0",
"prettier": "^3.3.3",
"publint": "^0.2.10",
"resize-observer-polyfill": "^1.5.1",
"sass": "^1.78.0",
"typescript": "^5.6.2",
"vite": "^5.4.5",
"vite-plugin-dts": "^4.2.1",
"vitest": "^2.1.1"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"charts",
"graphs",
"radar",
"gauge",
"donut",
"pie",
"sparkline",
"tree",
"treemap",
"heatmap",
"wordcloud",
"histogram",
"alluvial",
"geo",
"bar",
"bullet",
"scatter",
"meter",
"line",
"javascript",
"component",
"carbon",
"ibm",
"svg",
"data",
"typescript"
],
"author": "IBM",
"license": "Apache-2.0",
"maintainers": [
{
"name": "Eliad Moosavi",
"email": "[email protected]",
"url": "https://github.com/theiliad"
}
],
"contributors": [
{
"name": "Eliad Moosavi",
"email": "[email protected]",
"url": "https://github.com/theiliad"
}
],
"gitHead": "efb75e2cc4e5ac2b67e928cf0fc425e1a7999b0e"
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy