Socket
Socket
Sign inDemoInstall

@antv/g-gesture

Package Overview
Dependencies
3
Maintainers
64
Versions
148
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 2.1.0-beta.1

dist/gesture.d.ts

113

package.json
{
"name": "@antv/g-gesture",
"version": "1.0.1",
"description": "Gesture module for @antv/g.",
"main": "lib/index.js",
"module": "esm/index.js",
"types": "lib/index.d.ts",
"version": "2.1.0-beta.1",
"description": "G Gesture",
"keywords": [
"antv",
"g",
"gesture"
],
"homepage": "https://github.com/antvis/g#readme",
"bugs": {
"url": "https://github.com/antvis/g/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/antvis/g.git"
},
"license": "MIT",
"author": "https://github.com/orgs/antvis/people",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",
"default": "./dist/index.js"
},
"main": "dist/index.js",
"unpkg": "dist/index.umd.min.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"lib",
"esm",
"README.md",
"LICENSE"
"package.json",
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"clean": "rimraf lib esm",
"lint": "lint-staged",
"test": "torch --renderer --compile --recursive ./__tests__/",
"test-live": "torch --compile --interactive --watch --recursive ./__tests__/",
"coverage": "exit 0",
"lib:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
"lib:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
"lib": "run-p lib:*",
"build": "run-s clean lib",
"ci": "run-s build test"
},
"dependencies": {
"@antv/event-emitter": "~0.1.2",
"d3-ease": "^1.0.5"
"eventemitter3": "^5.0.1",
"tslib": "^2.5.3",
"@antv/g-lite": "1.1.0-beta.1"
},
"peerDependencies": {
"@antv/g-base": "~0.4.4"
},
"devDependencies": {
"@antv/torch": "~1.0.5",
"@antv/g-base": "~0.4.4",
"@antv/g-canvas": "~0.4.9",
"chai": "~4.1.2",
"husky": "^3.0.4",
"lint-staged": "^9.2.3",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.3"
"@antv/g-mobile-canvas": "0.9.0-beta.1",
"@antv/g-mobile-canvas-element": "0.7.0-beta.1"
},
"husky": {
"hooks": {
"pre-commit": "run-s lint build test"
}
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{js,css,json,md}": [
"prettier --write",
"git add"
],
"*.{ts}": [
"tslint -c tslint.json --fix",
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git@github.com:antvis/g-gesture.git"
},
"bugs": {
"url": "https://github.com/antvis/g-gesture/issues"
},
"keywords": [
"antv",
"g-gesture",
"g2",
"f2"
],
"author": "https://github.com/orgs/antvis/people",
"license": "MIT"
}
"scripts": {
"build": "npm run clean && rollup -c",
"clean": "rimraf dist",
"sync": "tnpm sync",
"watch": "rollup -c -w"
}
}

@@ -1,9 +0,1 @@

# g-gesture
> 移动端手势库,针对 G 事件和 Element。
## Usage
```js
import { Wheel, GM } from '@antv/g-gestrue';
```
# g-gesture 手势库

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc