mirror of
https://github.com/hustcc/echarts-for-react.git
synced 2025-12-08 20:16:09 +00:00
122 lines
3.4 KiB
JSON
122 lines
3.4 KiB
JSON
{
|
|
"name": "echarts-for-react",
|
|
"version": "2.0.16",
|
|
"description": "baidu Echarts(v3.x & v4.x) components for react.",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"files": [
|
|
"src",
|
|
"lib"
|
|
],
|
|
"scripts": {
|
|
"start": "webpack-dev-server --watch",
|
|
"lint": "eslint src && eslint __tests__ && eslint demo/src",
|
|
"clean": "rimraf lib/core.js && rimraf lib/index.js",
|
|
"test": "npm run lint && npm run cover",
|
|
"demo": "webpack",
|
|
"dev": "webpack --watch",
|
|
"build": "npm run test && npm run clean && cross-env NODE_ENV=production babel src -d lib && npm run demo",
|
|
"cover": "jest --coverage",
|
|
"coveralls": "cat ./coverage/lcov.info | coveralls"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/hustcc/echarts-for-react.git"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"component",
|
|
"echarts-react",
|
|
"echarts",
|
|
"react-echarts",
|
|
"chart",
|
|
"charts",
|
|
"graph",
|
|
"react-component"
|
|
],
|
|
"author": "hustcc (http://github.com/hustcc)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/hustcc/echarts-for-react/issues"
|
|
},
|
|
"homepage": "https://github.com/hustcc/echarts-for-react",
|
|
"devDependencies": {
|
|
"76": "^0.0.4",
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.0",
|
|
"babel-eslint": "^8.0.3",
|
|
"babel-jest": "^22.4.1",
|
|
"babel-loader": "^7.1.2",
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
|
"babel-plugin-transform-es3-member-expression-literals": "^6.22.0",
|
|
"babel-plugin-transform-es3-property-literals": "^6.22.0",
|
|
"babel-plugin-transform-export-extensions": "^6.22.0",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"babel-polyfill": "^6.26.0",
|
|
"babel-preset-env": "^1.6.1",
|
|
"babel-preset-react": "^6.24.1",
|
|
"coveralls": "^3.0.0",
|
|
"cross-env": "^5.1.3",
|
|
"css-loader": "^0.28.7",
|
|
"echarts": "4.0.4",
|
|
"echarts-gl": "^1.1.0",
|
|
"enzyme": "^3.2.0",
|
|
"enzyme-adapter-react-15": "^1.0.5",
|
|
"eslint": "^4.13.1",
|
|
"eslint-config-airbnb": "^16.1.0",
|
|
"eslint-config-airbnb-base": "^12.1.0",
|
|
"eslint-plugin-babel": "^4.1.2",
|
|
"eslint-plugin-import": "^2.8.0",
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
"eslint-plugin-react": "^7.5.1",
|
|
"file-loader": "^1.1.6",
|
|
"jest": "^22.4.2",
|
|
"jest-canvas-mock": "^2.0.0-alpha.0",
|
|
"jest-electron": "^0.1.7",
|
|
"jsx-loader": "^0.13.2",
|
|
"lodash.clonedeep": "^4.5.0",
|
|
"react": "^15.5.0",
|
|
"react-adsense": "^0.0.3",
|
|
"react-dom": "^15.5.0",
|
|
"react-router": "^2.0.0",
|
|
"react-test-renderer": "^15.6.2",
|
|
"rimraf": "^2.6.2",
|
|
"style-loader": "^0.19.1",
|
|
"webpack": "^3.10.0",
|
|
"webpack-dev-server": "^2.9.7"
|
|
},
|
|
"dependencies": {
|
|
"fast-deep-equal": "^2.0.1",
|
|
"size-sensor": "^1.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=0.13.2 || ^0.14 || ^15.0.0 || >=16.0.0",
|
|
"prop-types": "^15.5.7",
|
|
"echarts": "^3.0.0 || ^4.0.0"
|
|
},
|
|
"jest": {
|
|
"testRegex": "(/__tests__/.*\\.spec)\\.(js|jsx)$",
|
|
"testURL": "https://atool.vip/",
|
|
"moduleFileExtensions": [
|
|
"js",
|
|
"jsx",
|
|
"json"
|
|
],
|
|
"setupFiles": [
|
|
"./__tests__/setup.js",
|
|
"jest-canvas-mock"
|
|
],
|
|
"transform": {
|
|
"^.+\\.js[x]?$": "babel-jest"
|
|
},
|
|
"moduleNameMapper": {},
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"src/*.{js,jsx}",
|
|
"!**/node_modules/**",
|
|
"!**/vendor/**"
|
|
]
|
|
}
|
|
}
|