forked from antvis/G2Plot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.81 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.81 KB
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
{
"name": "@antv/g2plot",
"version": "0.1.0-beta.0",
"description": "G2 Plot, a market of plots built with the Grammar of Graphics'",
"author": "https://github.com/orgs/antvis/people",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"files": [
"lib",
"esm",
"dist",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git@github.com:antvis/g2plot.git"
},
"scripts": {
"build": "run-s clean lib dist",
"clean": "rimraf lib esm dist",
"lib": "run-p lib:*",
"lib:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
"lib:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
"dist": "webpack --config webpack.config.js --mode production",
"lint": "lint-staged",
"lint-check": "tslint -c tslint.json 'src/**/*.ts'",
"lint-fix": "run-s lint-fix:*",
"lint-fix:prettier": "prettier --write 'src/**/*.ts'",
"lint-fix:tslint": "tslint -c tslint.json --fix 'src/**/*.ts'",
"coverage": "exit 0",
"test": "torch -t 5000 --compile --renderer --recursive ./__tests__/unit",
"test-live": "torch --compile --interactive ./__tests__/unit",
"ci": "run-s lint-check build test",
"demos-web": "node ./demos/app.js --web --port 2046",
"dev": "npm run watch & npm run demos-web",
"watch": "webpack --config webpack-dev.config.js"
},
"husky": {
"hooks": {
"pre-commit": "run-s lint build test"
}
},
"dependencies": {
"@antv/component": "~0.4.0-beta.2",
"@antv/coord": "0.2.1",
"@antv/dom-util": "~2.0.1",
"@antv/g": "~3.5.0-beta.1",
"@antv/g-gesture": "~0.1.0-beta.2",
"@antv/g2": "~3.6.0-beta.2",
"@antv/gui": "~0.1.0-beta.1",
"@antv/matrix-util": "~2.0.2",
"@antv/scale": "^0.2.1",
"@antv/util": "~2.0.4",
"moment": "^2.24.0",
"resize-observer-polyfill": "^1.5.1"
},
"devDependencies": {
"@antv/torch": "~1.0.5",
"@types/lodash": "^4.14.123",
"@types/mocha": "^5.2.7",
"@types/moment": "^2.13.0",
"chai": "^4.2.0",
"connect": "~3.6.6",
"event-simulate": "^1.0.0",
"get-port": "^5.0.0",
"husky": "^3.0.4",
"lint-staged": "^9.2.3",
"npm-run-all": "^4.1.5",
"nunjucks": "~3.0.1",
"open": "~0.0.5",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"ts-loader": "^6.0.4",
"tslint": "^5.19.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.3",
"webpack": "^4.39.2",
"webpack-bundle-analyzer": "^3.4.1",
"webpack-cli": "^3.3.7",
"webpack-merge": "^4.2.1"
},
"lint-staged": {
"*.{js,css,json,md}": [
"prettier --write",
"git add"
],
"*.{ts}": [
"tslint -c tslint.json --fix",
"prettier --write",
"git add"
]
},
"keywords": [
"g2",
"plot"
],
"license": "MIT"
}