@antv/g-gesture
Advanced tools
Comparing version 1.0.1 to 2.1.0-beta.1
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
105298
2
11
787
2
2
+ Added@antv/g-lite@1.1.0-beta.1
+ Addedeventemitter3@^5.0.1
+ Addedtslib@^2.5.3
+ Added@antv/g-lite@1.1.0-beta.1(transitive)
+ Added@antv/g-math@1.8.0-beta.1(transitive)
+ Added@antv/util@3.3.7(transitive)
+ Addedeventemitter3@5.0.1(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedquickselect@2.0.0(transitive)
+ Addedrbush@3.0.1(transitive)
- Removed@antv/event-emitter@~0.1.2
- Removedd3-ease@^1.0.5
- Removed@antv/event-emitter@0.1.3(transitive)
- Removed@antv/g-base@0.4.7(transitive)
- Removed@antv/g-math@0.1.9(transitive)
- Removed@antv/matrix-util@3.0.43.1.0-beta.3(transitive)
- Removed@antv/path-util@2.0.15(transitive)
- Removed@antv/util@2.0.17(transitive)
- Removed@types/d3-timer@1.0.12(transitive)
- Removedcsstype@3.1.3(transitive)
- Removedd3-ease@1.0.7(transitive)
- Removedd3-interpolate@1.4.0(transitive)
- Removedd3-timer@1.0.10(transitive)
- Removeddetect-browser@5.3.0(transitive)