/
package.json
126 lines (126 loc) 路 3.47 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@antv/f2",
"version": "3.6.4-beta.2",
"description": "Charts for mobile visualization.",
"keywords": [
"f2",
"charts",
"mobile",
"visualization",
"data visualization",
"canvas",
"2d draw",
"mobile visualization",
"interactive"
],
"main": "lib/index.js",
"module": "lib/index.js",
"browser": "build/f2.js",
"homepage": "https://github.com/antvis/f2",
"author": "https://github.com/orgs/antvis/people",
"repository": {
"type": "git",
"url": "https://github.com/antvis/f2"
},
"bugs": {
"url": "https://github.com/antvis/f2/issues"
},
"files": [
"src",
"lib",
"build",
"dist",
"bundler"
],
"devDependencies": {
"@antv/data-set": "^0.10.2",
"@antv/gatsby-theme-antv": "^0.10.17",
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.0.0",
"@rollup/plugin-alias": "^3.1.0",
"@rollup/plugin-babel": "^5.0.0",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"babel-eslint": "~10.1.0",
"babel-loader": "^8.0.0",
"babel-plugin-transform-remove-strict-mode": "~0.0.2",
"babel-preset-gatsby": "^0.4.0",
"body-parser": "^1.18.2",
"chai": "~4.2.0",
"commander": "~2.9.0",
"connect": "~3.7.0",
"d3-queue": "~3.0.7",
"debug": "~4.1.1",
"electron": "^7.1.9",
"eslint": "^6.7.2",
"eslint-config-egg": "~4.2.0",
"gatsby": "^2.17.7",
"get-port": "~3.1.0",
"gh-pages": "^2.1.1",
"jest": "^24.9.0",
"jest-electron": "^0.1.11",
"jquery": "^3.3.1",
"jszip": "^3.1.5",
"nightmare": "~2.10.0",
"nunjucks": "~3.2.1",
"open": "~7.0.0",
"parseurl": "~1.3.1",
"pre-commit": "~1.2.2",
"react-i18next": "^11.0.1",
"rollup": "^2.9.1",
"rollup-plugin-terser": "^5.3.0",
"serve-static": "~1.12.4",
"shelljs": "~0.7.8",
"uglify-js": "~3.0.15",
"webpack": "~3.4.1"
},
"scripts": {
"start": "npm run site:develop",
"site:develop": "gatsby develop --open",
"site:build": "npm run site:clean && gatsby build --prefix-paths",
"site:clean": "gatsby clean",
"site:deploy": "npm run site:build && gh-pages -d public",
"build": "rm -rf build && rm -rf dist && rollup --config",
"build-lib": "rm -rf lib && babel src --out-dir lib",
"ci": "npm run lint && npm run test",
"coverage": "jest --coverage",
"demos": "electron ./demos/app.js",
"demos-web": "node ./demos/app.js --web --port 2048",
"dev": "npm run watch & DEBUG=app:* npm run demos-web",
"lint": "eslint ./",
"lint-fix": "eslint --fix ./",
"prepublishOnly": "npm run build-lib && npm run build",
"screenshot": "DEBUG=app:* ./bin/screenshot.js",
"test": "jest",
"test-unit": "jest test/unit",
"test-bug": "jest test/bug",
"test-live": "DEBUG_MODE=1 jest --watch",
"watch": "webpack --config webpack-dev.config.js"
},
"pre-commit": {
"run": [
"lint",
"test"
],
"silent": false
},
"jest": {
"runner": "jest-electron/runner",
"testEnvironment": "jest-electron/environment",
"testRegex": "/test/.*-spec\\.js?$",
"verbose": false,
"moduleNameMapper": {
"^@util$": "<rootDir>/src/util/common.js",
"@src/(.*)": "<rootDir>/src/$1"
}
},
"dependencies": {
"@antv/adjust": "~0.1.1",
"@antv/scale": "0.1.3",
"@antv/util": "~2.0.6",
"@babel/runtime": "^7.7.7",
"hammerjs": "^2.0.8"
}
}