{ "name": "@antv/f2", "version": "3.8.9", "description": "Charts for mobile visualization.", "keywords": [ "f2", "charts", "mobile", "visualization", "data visualization", "canvas", "2d draw", "mobile visualization", "interactive" ], "main": "lib/index.js", "module": "es/index.js", "browser": "dist/f2.js", "types": "types/index.d.ts", "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", "es", "dist", "bundler", "types" ], "devDependencies": { "@antv/data-set": "^0.10.2", "@antv/gatsby-theme-antv": "^1.0.0-beta.11", "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/plugin-proposal-class-properties": "^7.8.3", "@babel/plugin-transform-arrow-functions": "^7.10.4", "@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", "f2-svg-engine": "^0.0.2", "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", "prettier": "~2.0.5", "react-i18next": "^11.0.1", "rollup": "^2.9.1", "rollup-plugin-terser": "^5.3.0", "serve-static": "~1.12.4", "shelljs": "~0.7.8", "typescript": "~3.9.5", "uglify-js": "~3.0.15" }, "scripts": { "start": "npm run site:develop", "site:develop": "BABEL_ENV=site gatsby develop --open", "site:build": "npm run site:clean && BABEL_ENV=site gatsby build --prefix-paths", "site:clean": "BABEL_ENV=site gatsby clean", "site:deploy": "npm run site:build && gh-pages -d public", "build": "npm run build-lib && npm run build-es && npm run build-umd && npm run build-types", "build-lib": "rm -rf lib && babel src --out-dir lib", "build-es": "rm -rf es && BABEL_ENV=esm babel src --out-dir es", "build-umd": "rm -rf dist && rollup --config", "build-types": "node ./scripts/patch-types.js", "ci": "npm run lint && npm run test && npm run test-types", "compress": "sh ./bin/compress.sh", "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", "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", "test-types": "tsc --noEmit", "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 }, "dependencies": { "@antv/adjust": "~0.1.1", "@antv/scale": "~0.3.3", "@antv/util": "~2.0.6", "@babel/runtime": "^7.7.7", "@types/hammerjs": "^2.0.36", "hammerjs": "^2.0.8", "type-fest": "^0.15.1" } }