package.json 2.5 KB
Newer Older
L
lang 已提交
1
{
L
lang 已提交
2
  "name": "echarts",
S
SHUANG SU 已提交
3
  "version": "4.5.0",
L
lang 已提交
4
  "description": "A powerful charting and visualization library for browser",
C
Clement Ho 已提交
5
  "license": "Apache-2.0",
L
lang 已提交
6 7 8 9
  "keywords": [
    "visualization",
    "canvas"
  ],
S
sushuang 已提交
10
  "homepage": "http://echarts.apache.org",
L
lang 已提交
11 12
  "repository": {
    "type": "git",
S
sushuang 已提交
13
    "url": "https://github.com/apache/incubator-echarts.git"
L
lang 已提交
14
  },
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
  "jest": {
    "testEnvironment": "node",
    "setupFiles": [
      "jest-canvas-mock",
      "<rootDir>/test/ut/core/setup.js"
    ],
    "testMatch": [
      "**/spec/api/*.test.js",
      "**/spec/component/**/*.test.js",
      "**/spec/data/*.test.js",
      "**/spec/model/*.test.js",
      "**/spec/scale/*.test.js",
      "**/spec/util/*.test.js",
      "!**/spec/api/containPixel.test.js",
      "!**/spec/component/graphic/setOption.test.js",
      "!**/spec/model/Component.test.js"
    ]
  },
L
lang 已提交
33
  "scripts": {
34
    "release": "node build/build.js --release",
35
    "build": "node build/build.js",
36 37
    "watch": "node build/build.js -w",
    "help": "node build/build.js --help",
羡辙 已提交
38
    "prepublish": "node build/build.js --prepublish",
39
    "test:visual": "node test/runTest/server.js",
40
    "test:visual:report": "node test/runTest/genReport.js",
41
    "test": "node build/build.js --prepublish && jest --coverage",
42
    "mktest": "node test/build/mktest.js",
43
    "mktest:help": "node test/build/mktest.js -h",
44 45
    "lint": "./node_modules/.bin/eslint src extension-src",
    "lint:dist": "echo 'It might take a while. Please wait ...' && ./node_modules/.bin/jshint --config .jshintrc-dist dist/echarts.js"
L
lang 已提交
46 47
  },
  "dependencies": {
S
SHUANG SU 已提交
48
    "zrender": "4.1.2"
L
lang 已提交
49 50
  },
  "devDependencies": {
S
sushuang 已提交
51
    "@babel/core": "7.3.4",
S
sushuang 已提交
52 53 54 55 56
    "@babel/helper-module-transforms": "7.0.0-beta.31",
    "@babel/helper-simple-access": "7.0.0-beta.31",
    "@babel/template": "7.0.0-beta.31",
    "@babel/types": "7.0.0-beta.31",
    "assert": "1.4.1",
57
    "canvas": "^2.6.0",
S
sushuang 已提交
58 59 60
    "commander": "2.11.0",
    "coordtransform": "2.0.2",
    "escodegen": "1.8.0",
61
    "eslint": "6.3.0",
S
sushuang 已提交
62 63
    "esprima": "2.7.2",
    "estraverse": "4.1.1",
P
pissang 已提交
64
    "fs-extra": "0.26.7",
S
sushuang 已提交
65
    "glob": "7.0.0",
66 67 68 69
    "jest": "^24.9.0",
    "jest-canvas-mock": "^2.2.0",
    "jsdom": "^15.2.1",
    "jshint": "2.10.2",
70 71 72
    "open": "6.4.0",
    "pixelmatch": "5.0.2",
    "pngjs": "3.4.0",
S
sushuang 已提交
73
    "rollup": "0.50.0",
74
    "rollup-plugin-commonjs": "8.4.1",
S
sushuang 已提交
75
    "rollup-plugin-node-resolve": "3.0.0",
76
    "rollup-plugin-uglify": "2.0.1",
77 78 79 80
    "seedrandom": "3.0.3",
    "semver": "6.3.0",
    "serve-handler": "6.1.1",
    "slugify": "1.3.4",
81
    "socket.io": "2.2.0"
L
lang 已提交
82 83
  }
}