@visactor/vchart
Version:
charts lib based @visactor/VGrammar
134 lines • 4.87 kB
JSON
{
"name": "@visactor/vchart",
"version": "2.0.0",
"description": "charts lib based @visactor/VGrammar",
"main": "cjs/index.js",
"module": "esm/index.js",
"browser": "esm/index.js",
"types": "esm/index.d.ts",
"unpkg": "build/index.min.js",
"sideEffects": [
"./*/index-lark.js",
"./*/index-wx-simple.js",
"./*/index-wx.js",
"./*/vchart-all.js",
"./*/vchart-simple.js"
],
"files": [
"esm",
"cjs",
"build"
],
"keywords": [
"charts",
"visualization",
"VChart",
"animation",
"storytelling",
"VisActor",
"graphics",
"interaction"
],
"homepage": "https://www.visactor.io/vchart",
"bugs": "https://github.com/VisActor/VChart/issues",
"repository": {
"type": "git",
"url": "https://github.com/VisActor/VChart.git",
"directory": "packages/vchart"
},
"author": {
"name": "VisActor",
"url": "https://www.visactor.io/"
},
"license": "MIT",
"devDependencies": {
"@rushstack/eslint-patch": "~1.1.4",
"@types/jest": "^26.0.0",
"@types/node": "*",
"@types/offscreencanvas": "2019.6.4",
"eslint": "~8.18.0",
"husky": "7.0.4",
"jest": "^26.0.0",
"jest-electron": "^0.1.12",
"lint-staged": "12.3.7",
"magic-string": "^0.25.7",
"prettier": "2.6.1",
"react-device-detect": "^2.2.2",
"ts-jest": "^26.0.0",
"ts-loader": "8.0.2",
"ts-node": "10.9.0",
"tslib": "2.3.1",
"tslint": "5.12.1",
"typescript": "4.9.5",
"d3-dsv": "^3.0.1",
"d3-array": "^1.2.4",
"d3-geo": "^1.12.1",
"d3-hexbin": "^0.2.2",
"d3-hierarchy": "^3.1.1",
"vite": "3.2.6",
"@esbuild-plugins/node-globals-polyfill": "0.1.1",
"@esbuild-plugins/node-modules-polyfill": "0.1.4",
"rollup-plugin-node-polyfills": "0.2.1",
"rollup-plugin-visualizer": "5.9.2",
"rollup-plugin-gzip": "3.1.0",
"rollup-plugin-bundle-size": "1.0.3",
"rollup-plugin-sizes": "1.0.5",
"rollup": "3.20.5",
"node-fetch": "2.6.7",
"form-data": "~4.0.0",
"canvas": "2.11.2",
"size-limit": "9.0.0",
"@size-limit/file": "9.0.0",
"rimraf": "3.0.2",
"cross-env": "^7.0.3",
"@internal/typescript-json-schema": "0.0.1",
"@internal/bundler": "0.0.1",
"@internal/eslint-config": "0.0.1",
"@internal/ts-config": "0.0.1"
},
"dependencies": {
"@visactor/vutils": "~1.0.6",
"@visactor/vdataset": "~1.0.6",
"@visactor/vscale": "~1.0.6",
"@visactor/vlayouts": "~1.0.6",
"@visactor/vrender-core": "1.0.3",
"@visactor/vrender-kits": "1.0.3",
"@visactor/vrender-components": "1.0.3",
"@visactor/vrender-animate": "1.0.3",
"@visactor/vutils-extension": "2.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"build": "cross-env DEBUG='Bundler*' bundle --clean && npm run build:schema && npm run build:types && npm run build:es5",
"build:es5": "rimraf lib && rollup -c --bundleConfigAsCjs",
"build:schema": "schema src/typings/spec/chart.ts ISpec --useTypeOfKeyword --ignoreErrors --required > ../vchart-schema/vchart.json",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir ../vchart-types/types",
"build:spec-types": "rimraf ./spec-types && tsc -p ./tsconfig.spec.json --declaration --emitDeclarationOnly --outDir ./spec-types",
"build:umd": "cross-env DEBUG='Bundler*' IGNORE_ENTRIES='true' bundle -f umd",
"build:cjs": "cross-env DEBUG='Bundler*' IGNORE_ENTRIES='true' bundle --clean -f cjs --ignorePostTasks --ignoreUmdEntries",
"build:es": "cross-env DEBUG='Bundler*' IGNORE_ENTRIES='true' bundle --clean -f es --ignorePostTasks",
"analyze": "npm run analyze-full && npm run analyze-line && npm run analyze-simple",
"analyze-full": "cross-env BUNDLE_ANALYZE='full' DEBUG='Bundler*' bundle -f umd ",
"analyze-simple": "cross-env BUNDLE_ANALYZE='simple' DEBUG='Bundler*' bundle -f umd",
"analyze-pie": "cross-env BUNDLE_ANALYZE='pie' DEBUG='Bundler*' bundle -f umd",
"analyze-empty": "cross-env BUNDLE_ANALYZE='empty' DEBUG='Bundler*' bundle -f umd",
"dev": "cross-env DEBUG='Bundler*' bundle --clean -f es -w",
"compile": "tsc --noEmit",
"start": "ts-node __tests__/runtime/browser/scripts/initVite.ts && vite serve __tests__/runtime/browser",
"clear": "rimraf build && rimraf esm && rimraf cjs",
"prettier": "prettier --write --ignore-unknown .",
"prettier:check": "prettier --check .",
"eslint": "eslint --debug --fix src/",
"eslint:check": "eslint .",
"eslint:err": "eslint . --quiet",
"test": "jest",
"test-cov": "jest -w 16 --coverage",
"test-live": "npm run test-watch __tests__/unit",
"test-watch": "cross-env DEBUG_MODE=1 jest --watch",
"ci": "ts-node --transpileOnly --skipProject ./scripts/trigger-test.ts",
"size": "size-limit"
}
}