2016-01-12 02:12:40 +08:00
|
|
|
{
|
2016-02-22 15:40:00 +08:00
|
|
|
"name": "echarts",
|
2022-09-13 18:20:15 +08:00
|
|
|
"version": "5.4.0",
|
2021-01-11 17:00:55 +08:00
|
|
|
"description": "Apache ECharts is a powerful, interactive charting and data visualization library for browser",
|
2019-01-22 14:58:33 -06:00
|
|
|
"license": "Apache-2.0",
|
2016-02-22 15:40:00 +08:00
|
|
|
"keywords": [
|
2020-12-23 09:17:49 +08:00
|
|
|
"echarts",
|
|
|
|
|
"data-visualization",
|
|
|
|
|
"charts",
|
|
|
|
|
"charting-library",
|
2016-02-22 15:40:00 +08:00
|
|
|
"visualization",
|
2020-12-23 09:17:49 +08:00
|
|
|
"apache",
|
|
|
|
|
"data-viz",
|
|
|
|
|
"canvas",
|
|
|
|
|
"svg"
|
2016-02-22 15:40:00 +08:00
|
|
|
],
|
2020-12-28 16:51:29 +08:00
|
|
|
"main": "dist/echarts.js",
|
2020-12-27 13:42:58 +08:00
|
|
|
"module": "index.js",
|
2020-07-28 16:03:19 +08:00
|
|
|
"jsdelivr": "dist/echarts.min.js",
|
2020-12-14 14:17:19 +08:00
|
|
|
"types": "index.d.ts",
|
2022-04-01 14:11:23 +08:00
|
|
|
"homepage": "https://echarts.apache.org",
|
2020-12-23 09:17:49 +08:00
|
|
|
"bugs": {
|
2021-01-18 23:50:06 +08:00
|
|
|
"url": "https://github.com/apache/echarts/issues",
|
2020-12-23 09:17:49 +08:00
|
|
|
"email": "dev@echarts.apache.org"
|
|
|
|
|
},
|
2016-02-22 15:40:00 +08:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
2021-01-18 23:50:06 +08:00
|
|
|
"url": "git+https://github.com/apache/echarts.git"
|
2016-02-22 15:40:00 +08:00
|
|
|
},
|
2020-12-03 18:33:56 +08:00
|
|
|
"sideEffects": [
|
2020-12-27 13:42:58 +08:00
|
|
|
"index.js",
|
|
|
|
|
"index.blank.js",
|
|
|
|
|
"index.common.js",
|
|
|
|
|
"index.simple.js",
|
2020-12-30 14:13:18 +08:00
|
|
|
"lib/echarts.js",
|
2020-12-28 16:51:29 +08:00
|
|
|
"lib/chart/*.js",
|
2020-12-30 15:43:31 +08:00
|
|
|
"lib/component/*.js",
|
2021-01-08 11:02:58 +08:00
|
|
|
"extension/**/*.js",
|
2020-12-28 16:51:29 +08:00
|
|
|
"theme/*.js",
|
|
|
|
|
"i18n/*.js"
|
2020-12-03 18:33:56 +08:00
|
|
|
],
|
2016-02-22 15:40:00 +08:00
|
|
|
"scripts": {
|
2021-01-05 16:57:26 +08:00
|
|
|
"build": "node build/build.js --type all,common,simple --min",
|
|
|
|
|
"build:esm": "node build/build.js --type all --min --format esm",
|
2020-07-30 09:28:14 +08:00
|
|
|
"build:i18n": "node build/build-i18n.js",
|
2021-01-05 16:57:26 +08:00
|
|
|
"build:lib": "node build/build.js --prepublish",
|
2021-01-05 17:20:33 +08:00
|
|
|
"build:extension": "node build/build.js --type extension",
|
2020-07-28 11:50:22 +08:00
|
|
|
"dev:fast": "node build/build-i18n.js && node build/dev-fast.js",
|
2021-01-05 16:57:26 +08:00
|
|
|
"dev": "npm run dev:fast",
|
|
|
|
|
"prepublish": "npm run build:lib",
|
2021-01-05 17:20:33 +08:00
|
|
|
"release": "npm run build:lib && npm run build:i18n && npm run build && npm run build:esm && npm run build:extension",
|
2019-09-12 23:16:10 +08:00
|
|
|
"help": "node build/build.js --help",
|
2019-09-01 16:42:31 +08:00
|
|
|
"test:visual": "node test/runTest/server.js",
|
2020-12-14 14:17:19 +08:00
|
|
|
"test": "npx jest --config test/ut/jest.config.js",
|
|
|
|
|
"test:single": "npx jest --config test/ut/jest.config.js --coverage=false -t",
|
2021-05-22 14:40:37 +08:00
|
|
|
"test:single:debug": "npx --node-arg=--inspect-brk jest --runInBand --config test/ut/jest.config.js --coverage=false -t",
|
2020-11-08 09:15:49 +08:00
|
|
|
"test:dts": "node build/testDts.js",
|
2019-09-18 01:25:06 +08:00
|
|
|
"mktest": "node test/build/mktest.js",
|
2019-09-18 02:23:24 +08:00
|
|
|
"mktest:help": "node test/build/mktest.js -h",
|
2021-05-06 14:10:21 +08:00
|
|
|
"checktype": "tsc --noEmit",
|
2021-05-06 15:45:44 +08:00
|
|
|
"lint": "npx eslint src/**/*.ts extension-src/**/*.ts",
|
|
|
|
|
"lint:fix": "npx eslint --fix src/**/*.ts extension-src/**/*.ts",
|
|
|
|
|
"lint:dist": "echo 'It might take a while. Please wait ...' && npx jshint --config .jshintrc-dist dist/echarts.js"
|
2016-02-22 15:40:00 +08:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2021-07-01 11:18:27 +08:00
|
|
|
"tslib": "2.3.0",
|
2022-09-13 18:20:15 +08:00
|
|
|
"zrender": "5.4.0"
|
2016-02-22 15:40:00 +08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2020-12-14 14:17:19 +08:00
|
|
|
"@babel/code-frame": "7.10.4",
|
2019-04-09 16:21:15 +08:00
|
|
|
"@babel/core": "7.3.4",
|
2020-12-14 14:17:19 +08:00
|
|
|
"@babel/types": "7.10.5",
|
|
|
|
|
"@definitelytyped/typescript-versions": "0.0.64",
|
|
|
|
|
"@definitelytyped/utils": "0.0.64",
|
|
|
|
|
"@lang/rollup-plugin-dts": "2.0.2",
|
2022-09-22 09:47:34 +00:00
|
|
|
"@microsoft/api-extractor": "7.31.2",
|
2020-12-28 11:46:05 +08:00
|
|
|
"@rollup/plugin-commonjs": "^17.0.0",
|
|
|
|
|
"@rollup/plugin-node-resolve": "^11.0.0",
|
2021-01-05 16:57:26 +08:00
|
|
|
"@rollup/plugin-replace": "^2.3.4",
|
2020-10-14 00:50:16 +08:00
|
|
|
"@types/jest": "^26.0.14",
|
2022-09-13 18:14:56 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
|
|
|
"@typescript-eslint/parser": "^4.33.0",
|
2020-02-15 11:23:08 +08:00
|
|
|
"chalk": "^3.0.0",
|
2017-11-10 13:00:14 +08:00
|
|
|
"commander": "2.11.0",
|
2021-04-08 21:21:53 +08:00
|
|
|
"cwebp-bin": "^6.1.1",
|
2020-11-08 09:15:49 +08:00
|
|
|
"dtslint": "^4.0.5",
|
2021-02-01 20:17:46 +08:00
|
|
|
"esbuild": "^0.8.39",
|
2020-12-14 14:17:19 +08:00
|
|
|
"eslint": "^7.15.0",
|
2021-05-10 16:40:54 +08:00
|
|
|
"fs-extra": "^10.0.0",
|
2017-11-10 13:00:14 +08:00
|
|
|
"glob": "7.0.0",
|
2020-02-15 11:23:08 +08:00
|
|
|
"globby": "11.0.0",
|
2020-10-14 00:50:16 +08:00
|
|
|
"husky": "^4.2.5",
|
2020-10-28 02:10:17 +08:00
|
|
|
"jest": "^26.6.1",
|
2019-11-26 00:03:06 +08:00
|
|
|
"jest-canvas-mock": "^2.2.0",
|
2022-09-22 09:47:14 +00:00
|
|
|
"jshint": "2.13.5",
|
2021-01-05 17:50:41 +08:00
|
|
|
"magic-string": "^0.25.7",
|
2019-09-11 20:16:04 +08:00
|
|
|
"open": "6.4.0",
|
|
|
|
|
"pixelmatch": "5.0.2",
|
|
|
|
|
"pngjs": "3.4.0",
|
2020-12-14 14:17:19 +08:00
|
|
|
"rollup": "2.34.2",
|
2021-01-05 16:57:26 +08:00
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2019-09-11 20:16:04 +08:00
|
|
|
"seedrandom": "3.0.3",
|
|
|
|
|
"semver": "6.3.0",
|
|
|
|
|
"serve-handler": "6.1.1",
|
|
|
|
|
"slugify": "1.3.4",
|
2022-08-22 06:24:40 +00:00
|
|
|
"socket.io": "2.5.0",
|
2020-10-28 13:35:55 +08:00
|
|
|
"terser": "^5.3.8",
|
2020-10-28 02:10:17 +08:00
|
|
|
"ts-jest": "^26.4.3",
|
2021-10-03 18:51:17 +08:00
|
|
|
"typescript": "4.4.3"
|
2016-02-22 15:40:00 +08:00
|
|
|
}
|
|
|
|
|
}
|