aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/package.json.template
blob: ed4dca50e28039c2dc4e8a7b92499ce27f9f6513 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
%YAML 1.2
--- |
  {
    "name": "grpc",
    "version": "0.12.0",
    "author": "Google Inc.",
    "description": "gRPC Library for Node",
    "homepage": "http://www.grpc.io/",
    "repository": {
      "type": "git",
      "url": "https://github.com/grpc/grpc.git"
    },
    "bugs": "https://github.com/grpc/grpc/issues",
    "contributors": [
      {
        "name": "Michael Lumish",
        "email": "mlumish@google.com"
      }
    ],
    "directories": {
      "lib": "src/node/src"
    },
    "scripts": {
      "lint": "node ./node_modules/jshint/bin/jshint src/node/src src/node/test src/node/interop src/node/index.js",
      "test": "./node_modules/.bin/mocha src/node/test && npm run-script lint",
      "gen_docs": "./node_modules/.bin/jsdoc -c src/node/jsdoc_conf.json",
      "coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha src/node/test",
      "preinstall": "npm install node-pre-gyp",
      "install": "./node_modules/.bin/node-pre-gyp install --fallback-to-build"
    },
    "dependencies": {
      "lodash": "^3.9.3",
      "nan": "^2.0.0",
      "node-pre-gyp": "^0.6.19",
      "protobufjs": "^4.0.0"
    },
    "devDependencies": {
      "async": "^1.5.0",
      "google-auth-library": "^0.9.2",
      "istanbul": "^0.3.21",
      "jsdoc": "^3.3.2",
      "jshint": "^2.5.0",
      "minimist": "^1.1.0",
      "mocha": "^2.3.4",
      "mocha-jenkins-reporter": "^0.1.9",
      "mustache": "^2.0.0",
      "poisson-process": "^0.2.1"
    },
    "engines": {
      "node": ">=0.10.13"
    },
    "binary": {
      "module_name": "grpc_node",
      "module_path": "./build/Release/",
      "host": "https://storage.googleapis.com/",
      "remote_path": "grpc-precompiled-binaries/node/{name}/v{version}",
      "package_name": "{node_abi}-{platform}-{arch}.tar.gz",
      "module_path": "src/node/extension_binary"
    },
    "files": [
      "LICENSE",
      "src/node/README.md",
      "src/node/health_check",
      "src/proto",
      "etc",
      % for module in node_modules:
      % for file in module.headers + module.src + module.js:
      "${file}",
      % endfor
      % for dep in module.transitive_deps:
      % for lib in libs:
      % if lib.name == dep:
      % for file in lib.get('public_headers', []) + lib.headers + lib.src:
      "${file}",
      % endfor
      % endif
      % endfor
      % endfor
      % endfor
      "binding.gyp"
    ],
    "main": "src/node/index.js",
    "license": "BSD-3-Clause"
  }