UNPKG

bizcharts

Version:
173 lines (172 loc) 5.37 kB
{ "name": "bizcharts", "version": "4.1.23", "description": "bizcharts", "keywords": [ "bizcharts", "g2" ], "homepage": "https://bizcharts.net", "repository": { "type": "git", "url": "https://github.com/alibaba/BizCharts" }, "license": "MIT", "author": "leannechn", "main": "lib/index.js", "module": "es/index.js", "browser": "umd/BizCharts.js", "types": "lib/index.d.ts", "files": [ "lib", "src", "umd", "es", "manifest.json" ], "scripts": { "build": "run-s clean lib:* build:*", "build:umd": "cross-env NODE_ENV=development gulp", "build:min": "cross-env NODE_ENV=production gulp", "clean": "rimraf lib es umd", "lib:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib", "lib:es": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir es", "fix": "tslint 'src/**/*.ts?(x)' --project tsconfig.json", "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src", "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src", "prepublishOnly": "npm run build && np --no-cleanup --yolo --no-publish", "prettier": "prettier -c --write **/*", "start": "npm run storybook", "test": "jest", "test-live": "DEBUG_MODE=1 cross-env RTL_SKIP_AUTO_CLEANUP=true jest --watch", "storybook": "start-storybook -p 9004", "uitest:snapshot": "ice-chart-develop-cli test-multi-snapshot", "uitest": "ice-chart-develop-cli test-multi", "analyze": "webpack --profile --json > umd/stats.json && webpack-bundle-analyzer ./umd/stats.json" }, "jest": { "collectCoverage": false, "collectCoverageFrom": [ "src/**/*.{ts,js,tsx}", "!**/node_modules/**", "!**/vendor/**" ], "moduleFileExtensions": [ "ts", "tsx", "js", "json" ], "moduleNameMapper": { "^d3-(.*)$": "d3-$1/dist/d3-$1" }, "preset": "ts-jest", "runner": "bx-jest-electron/runner", "testEnvironment": "bx-jest-electron/environment", "testRegex": "/unittest/.*-spec\\.tsx?$", "transformIgnorePatterns": [ "/node_modules/(?!(d3-color)/)" ] }, "resolutions": { "d3-color": "^3.1.0" }, "dependencies": { "@antv/component": "0.8.35", "@antv/g2": "4.1.32", "@antv/g2plot": "2.3.39", "@antv/util": "2.0.17", "@babel/plugin-transform-modules-commonjs": "^7.12.1", "@babel/plugin-transform-runtime": "^7.12.10", "@juggle/resize-observer": "^3.3.1", "babel-plugin-transform-replace-object-assign": "^2.0.0", "d3-color": "^3.1.0", "react-error-boundary": "3.0.2", "react-reconciler": "^0.25.1", "warning": "^4.0.3" }, "devDependencies": { "@antv/data-set": "^0.11.4", "@babel/cli": "^7.7.7", "@babel/core": "^7.7.7", "@babel/plugin-transform-modules-commonjs": "^7.18.6", "@babel/preset-env": "^7.7.7", "@babel/preset-es2015": "^7.0.0-beta.53", "@babel/register": "^7.7.5", "@babel/runtime": "^7.7.7", "@storybook/addon-actions": "^5.1.11", "@storybook/addon-backgrounds": "^5.2.5", "@storybook/addon-docs": "^5.3.18", "@storybook/addon-info": "^5.2.5", "@storybook/addon-knobs": "^5.2.5", "@storybook/addon-links": "^5.1.11", "@storybook/addon-options": "^5.1.11", "@storybook/addons": "^5.1.11", "@storybook/react": "^5.1.11", "@storybook/theming": "^5.3.18", "@testing-library/react": "^11.2.2", "@types/jest": "^25.2.3", "@types/react-dom": "^17.0.0", "@umijs/fabric": "^2.0.0-beta.3", "@welldone-software/why-did-you-render": "^3.3.1", "airbnb-js-shims": "^2.2.0", "aphrodite": "^2.3.1", "babel-jest": "^26.6.3", "babel-loader": "^8.0.6", "babel-plugin-inline-react-svg": "^1.1.0", "babel-plugin-inline-svg": "^1.0.1", "babel-plugin-istanbul": "^5.2.0", "babel-preset-airbnb": "^4.0.1", "babel-preset-react": "^6.24.1", "babel-preset-umi": "^1.8.1", "babel-runtime": "^6.26.0", "bx-jest-electron": "^0.1.0", "clean-css": "^4.2.1", "coveralls": "^3.0.6", "cross-env": "^5.2.0", "d3-scale": "^3.2.3", "declaration-bundler-webpack-plugin": "^1.0.3", "eslint": "^6.2.1", "git-directory-deploy": "^1.5.1", "gulp": "^4.0.2", "gulp-typescript": "^6.0.0-alpha.1", "gulp-util": "^3.0.8", "imports-loader": "^0.8.0", "in-publish": "^2.0.0", "jest": "^26.0.1", "jest-extended": "^0.11.5", "js-beautify": "^1.10.2", "moment": "^2.24.0", "moment-jalaali": "^0.7.4", "node-sass": "^4.12.0", "np": "^5.1.3", "npm-run-all": "^4.1.5", "numeral": "^2.0.6", "nyc": "^14.1.1", "pre-commit": "^1.2.2", "prettier": "^1.19.1", "raw-loader": "^0.5.1", "react": "^16.9.0", "react-dom": "^16.9.0", "react-with-styles-interface-aphrodite": "^6.0.0", "react-with-styles-interface-css-compiler": "^2.2.0", "rimraf": "^3.0.2", "safe-publish-latest": "^1.1.3", "sass-loader": "^7.2.0", "snapshot-diff": "^0.8.1", "style-loader": "^0.20.3", "ts-jest": "^26.5.6", "ts-loader": "^8.0.17", "typescript": "^3.6.4", "webpack": "^4.41.2", "webpack-bundle-analyzer": "^3.6.0", "webpack-cli": "^3.3.11" }, "peerDependencies": {}, "greenkeeper": { "ignore": [ "mocha", "webpack" ] } }