UNPKG

1.95 kBJSONView Raw
1{
2 "name": "@antv/g-canvas",
3 "version": "0.5.6",
4 "description": "A canvas library which providing 2d",
5 "main": "lib/index.js",
6 "module": "esm/index.js",
7 "unpkg": "dist/g.min.js",
8 "types": "lib/index.d.ts",
9 "files": [
10 "src",
11 "package.json",
12 "esm",
13 "lib",
14 "dist",
15 "LICENSE",
16 "README.md"
17 ],
18 "scripts": {
19 "build": "npm run clean && run-p build:*",
20 "build:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm",
21 "build:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib",
22 "build:umd": "webpack --config webpack.config.js --mode production",
23 "clean": "rm -rf esm lib dist",
24 "coverage": "npm run coverage-generator && npm run coverage-viewer",
25 "coverage-generator": "torch --coverage --compile --source-pattern src/*.js,src/**/*.js --opts tests/mocha.opts",
26 "coverage-viewer": "torch-coverage",
27 "test": "torch --renderer --compile --opts tests/mocha.opts",
28 "test-live": "torch --compile --interactive tests/unit",
29 "tsc": "tsc --noEmit",
30 "typecheck": "tsc --noEmit",
31 "dist": "webpack --config webpack.config.js --mode production"
32 },
33 "repository": {
34 "type": "git",
35 "url": "git+https://github.com/antvis/g.git"
36 },
37 "keywords": [
38 "util",
39 "antv",
40 "g"
41 ],
42 "publishConfig": {
43 "access": "public"
44 },
45 "author": "https://github.com/orgs/antvis/people",
46 "license": "ISC",
47 "bugs": {
48 "url": "https://github.com/antvis/g/issues"
49 },
50 "devDependencies": {
51 "@antv/torch": "^1.0.0",
52 "less": "^3.9.0",
53 "npm-run-all": "^4.1.5",
54 "webpack": "^4.26.1",
55 "webpack-cli": "^3.1.2"
56 },
57 "homepage": "https://github.com/antvis/g#readme",
58 "dependencies": {
59 "@antv/g-base": "^0.5.3",
60 "@antv/g-math": "^0.1.6",
61 "@antv/matrix-util": "^3.1.0-beta.1",
62 "@antv/path-util": "~2.0.5",
63 "@antv/util": "~2.0.0",
64 "gl-matrix": "^3.0.0",
65 "tslib": "^2.0.3"
66 }
67}