1 | {
|
2 | "name": "canvas",
|
3 | "description": "Canvas graphics API backed by Cairo",
|
4 | "version": "2.6.1",
|
5 | "author": "TJ Holowaychuk <tj@learnboost.com>",
|
6 | "main": "index.js",
|
7 | "browser": "browser.js",
|
8 | "contributors": [
|
9 | "Nathan Rajlich <nathan@tootallnate.net>",
|
10 | "Rod Vagg <r@va.gg>",
|
11 | "Juriy Zaytsev <kangax@gmail.com>"
|
12 | ],
|
13 | "keywords": [
|
14 | "canvas",
|
15 | "graphic",
|
16 | "graphics",
|
17 | "pixman",
|
18 | "cairo",
|
19 | "image",
|
20 | "images",
|
21 | "pdf"
|
22 | ],
|
23 | "homepage": "https://github.com/Automattic/node-canvas",
|
24 | "repository": "git://github.com/Automattic/node-canvas.git",
|
25 | "scripts": {
|
26 | "prebenchmark": "node-gyp build",
|
27 | "benchmark": "node benchmarks/run.js",
|
28 | "pretest": "standard examples/*.js test/server.js test/public/*.js benchmarks/run.js lib/context2d.js util/has_lib.js browser.js index.js && node-gyp build",
|
29 | "test": "mocha test/*.test.js",
|
30 | "pretest-server": "node-gyp build",
|
31 | "test-server": "node test/server.js",
|
32 | "install": "node-pre-gyp install --fallback-to-build",
|
33 | "dtslint": "dtslint types"
|
34 | },
|
35 | "binary": {
|
36 | "module_name": "canvas",
|
37 | "module_path": "build/Release",
|
38 | "host": "https://github.com/node-gfx/node-canvas-prebuilt/releases/download/",
|
39 | "remote_path": "v{version}",
|
40 | "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{libc}-{arch}.tar.gz"
|
41 | },
|
42 | "files": [
|
43 | "binding.gyp",
|
44 | "lib/",
|
45 | "src/",
|
46 | "util/",
|
47 | "types/index.d.ts"
|
48 | ],
|
49 | "types": "types/index.d.ts",
|
50 | "dependencies": {
|
51 | "nan": "^2.14.0",
|
52 | "node-pre-gyp": "^0.11.0",
|
53 | "simple-get": "^3.0.3"
|
54 | },
|
55 | "devDependencies": {
|
56 | "@types/node": "^10.12.18",
|
57 | "assert-rejects": "^1.0.0",
|
58 | "dtslint": "^0.5.3",
|
59 | "express": "^4.16.3",
|
60 | "mocha": "^5.2.0",
|
61 | "pixelmatch": "^4.0.2",
|
62 | "standard": "^12.0.1"
|
63 | },
|
64 | "engines": {
|
65 | "node": ">=6"
|
66 | },
|
67 | "license": "MIT"
|
68 | }
|