1 | {
|
2 | "name": "@antv/g2-brush",
|
3 | "version": "0.0.2",
|
4 | "description": "Select a one-, two-dimensional or irregular region using the mouse.",
|
5 | "main": "build/g2-brush.js",
|
6 | "browser": "build/g2-brush.js",
|
7 | "module": "index.js",
|
8 | "repository": {
|
9 | "type": "git",
|
10 | "url": "git@github.com:antvis/g2-brush.git"
|
11 | },
|
12 | "keywords": [
|
13 | "antv",
|
14 | "g2-brush",
|
15 | "g2"
|
16 | ],
|
17 | "author": "sima.zhang1990@gmail.com",
|
18 | "license": "MIT",
|
19 | "devDependencies": {
|
20 | "@lite-js/torch": "~0.2.6",
|
21 | "babel-core": "~6.25.0",
|
22 | "babel-eslint": "~7.2.3",
|
23 | "babel-loader": "~7.1.1",
|
24 | "babel-plugin-transform-remove-strict-mode": "~0.0.2",
|
25 | "babel-preset-es2015": "~6.24.1",
|
26 | "babel-preset-stage-0": "~6.24.1",
|
27 | "chai": "~4.0.1",
|
28 | "commander": "~2.9.0",
|
29 | "connect": "~3.6.3",
|
30 | "d3-queue": "~3.0.7",
|
31 | "debug": "~3.1.0",
|
32 | "electron": "~1.6.11",
|
33 | "eslint": "^3.19.0",
|
34 | "eslint-config-airbnb": "~15.0.1",
|
35 | "eslint-config-egg": "~4.2.0",
|
36 | "eslint-plugin-html": "~3.1.1",
|
37 | "get-port": "~3.1.0",
|
38 | "gh-pages": "~1.1.0",
|
39 | "nightmare": "~2.10.0",
|
40 | "nunjucks": "~3.0.1",
|
41 | "open": "~0.0.5",
|
42 | "parseurl": "~1.3.1",
|
43 | "pre-commit": "~1.2.2",
|
44 | "serve-static": "~1.12.4",
|
45 | "shelljs": "~0.7.8",
|
46 | "uglify-js": "~3.0.15",
|
47 | "webpack": "~3.3.0"
|
48 | },
|
49 | "scripts": {
|
50 | "build": "webpack",
|
51 | "ci": "npm run lint && npm run test",
|
52 | "compress": "uglifyjs -c -m -o dist/g2-brush.min.js -- build/g2-brush.js",
|
53 | "coverage": "npm run coverage-generator && npm run coverage-viewer",
|
54 | "coverage-generator": "torch --compile --coverage --renderer --recursive test/unit",
|
55 | "coverage-viewer": "torch-coverage",
|
56 | "demos": "electron ./demos/app.js",
|
57 | "demos-web": "node ./demos/app.js --web --port 2046",
|
58 | "dev": "npm run watch & npm run demos-web",
|
59 | "dist": "npm run mkdir-dist && npm run build && npm run compress",
|
60 | "lint": "eslint --ext .html,.js ./",
|
61 | "lint-fix": "eslint --ext .html,.js --fix ./",
|
62 | "mkdir-dist": "node ./bin/mkdir-dist.js",
|
63 | "prepublishOnly": "npm run dist",
|
64 | "screenshot": "node ./bin/screenshot.js",
|
65 | "test": "torch --compile --renderer --recursive ./test/unit",
|
66 | "test-live": "torch --compile --interactive --watch --recursive ./test/unit",
|
67 | "watch": "webpack --config webpack-dev.config.js",
|
68 | "win-dev": "node ./bin/win-dev.js"
|
69 | },
|
70 | "pre-commit": {
|
71 | "run": [
|
72 | "lint",
|
73 | "build",
|
74 | "test"
|
75 | ],
|
76 | "silent": false
|
77 | }
|
78 | }
|