package.json 3.25 KB
Newer Older
Timothy J Fontaine's avatar
Timothy J Fontaine committed
1
{
Tim Branyen's avatar
Tim Branyen committed
2
  "name": "nodegit",
3
  "description": "Node.js libgit2 asynchronous native bindings",
Tim Branyen's avatar
Tim Branyen committed
4
  "version": "0.5.0",
John Haley's avatar
John Haley committed
5
  "homepage": "http://nodegit.org",
Michael Robinson's avatar
Michael Robinson committed
6 7 8 9 10 11
  "keywords": [
    "libgit2",
    "git2",
    "git",
    "native"
  ],
Tim Branyen's avatar
Tim Branyen committed
12
  "license": "MIT",
13
  "author": "Tim Branyen (@tbranyen)",
Michael Robinson's avatar
Michael Robinson committed
14
  "contributors": [
John Haley's avatar
John Haley committed
15 16
    {
      "name": "John Haley",
17
      "email": "john@haley.io"
John Haley's avatar
John Haley committed
18 19
    },
    {
20 21
      "name": "Max Korp",
      "email": "maxkorp@8bytealchemy.com"
Michael Robinson's avatar
Michael Robinson committed
22 23
    }
  ],
24
  "main": "lib/nodegit.js",
25 26
  "repository": {
    "type": "git",
John Haley's avatar
John Haley committed
27
    "url": "git://github.com/nodegit/nodegit.git"
Timothy J Fontaine's avatar
Timothy J Fontaine committed
28
  },
tim's avatar
tim committed
29 30 31 32
  "directories": {
    "build": "./build",
    "lib": "./lib"
  },
33
  "engines": {
Maximiliano Korp's avatar
Maximiliano Korp committed
34
    "node": ">= 0.12"
35
  },
36 37 38
  "bundledDependencies": [
    "node-pre-gyp"
  ],
39
  "dependencies": {
Tim Branyen's avatar
Tim Branyen committed
40
    "fs-extra": "^0.24.0",
joshaber's avatar
joshaber committed
41
    "node-pre-gyp": "^0.6.15",
42
    "nodegit-promise": "^4.0.0",
Tim Branyen's avatar
Tim Branyen committed
43
    "npm": "^3.3.3",
44
    "promisify-node": "^0.3.0",
Tim Branyen's avatar
Tim Branyen committed
45
    "which-native-nodish": "^1.1.3"
46
  },
47
  "devDependencies": {
48
    "clean-for-publish": "^1.0.2",
Tim Branyen's avatar
Tim Branyen committed
49 50 51 52 53
    "combyne": "^0.8.1",
    "coveralls": "^2.11.4",
    "istanbul": "^0.3.20",
    "js-beautify": "^1.5.10",
    "jshint": "^2.8.0",
54
    "lcov-result-merger": "^1.0.2",
Tim Branyen's avatar
Tim Branyen committed
55 56
    "lodash": "^3.10.1",
    "mocha": "^2.3.3",
Tim Branyen's avatar
Tim Branyen committed
57
    "nan": "^2.0.9",
Tim Branyen's avatar
Tim Branyen committed
58
    "node-gyp": "^3.0.3",
59
    "nw-gyp": "^0.12.4",
Tim Branyen's avatar
Tim Branyen committed
60 61
    "request": "^2.63.0",
    "tar": "^2.2.1"
62
  },
Maximiliano Korp's avatar
Maximiliano Korp committed
63 64
  "vendorDependencies": {
    "libgit2": {
John Haley's avatar
John Haley committed
65 66
      "sha": "e8feafe32007ebd16a61820c70abd221655d053c",
      "version": "0.23.4"
Maximiliano Korp's avatar
Maximiliano Korp committed
67
    },
Tim Branyen's avatar
Tim Branyen committed
68
    "libssh2": "1.6.0",
Maximiliano Korp's avatar
Maximiliano Korp committed
69 70
    "http_parser": "2.5.0"
  },
71 72 73
  "binary": {
    "module_name": "nodegit",
    "module_path": "./build/Release/",
74
    "host": "https://nodegit.s3.amazonaws.com/nodegit/nodegit/"
75
  },
76
  "scripts": {
77
    "lint": "jshint lib test/tests test/utils examples lifecycleScripts",
78
    "coveralls": "cat ./test/coverage/merged.lcov | coveralls",
79 80 81
    "filtercov": "./lcov-1.10/bin/lcov --extract test/coverage/cpp/lcov_full.info $(pwd)/src/* $(pwd)/src/**/* $(pwd)/include/* $(pwd)/include/**/* --output-file test/coverage/cpp/lcov.info && rm test/coverage/cpp/lcov_full.info",
    "cppcov": "mkdir -p test/coverage/cpp && ./lcov-1.10/bin/lcov --gcov-tool /usr/bin/gcov-4.9 --capture --directory build/Release/obj.target/nodegit/src --output-file test/coverage/cpp/lcov_full.info",
    "mergecov": "lcov-result-merger 'test/**/*.info' 'test/coverage/merged.lcov' && ./lcov-1.10/bin/genhtml test/coverage/merged.lcov --output-directory test/coverage/report",
Tim's avatar
Tim committed
82
    "cov": "npm run cppcov && npm run filtercov && npm run mergecov",
Tim Branyen's avatar
Tim Branyen committed
83
    "mocha": "mocha test/runner test/tests",
84
    "mochaDebug": "mocha --debug-brk test/runner test/tests",
Tim Branyen's avatar
Tim Branyen committed
85
    "test": "npm run lint && node --expose-gc test",
86 87 88
    "generateJson": "node generate/scripts/generateJson",
    "generateNativeCode": "node generate/scripts/generateNativeCode",
    "generateMissingTests": "node generate/scripts/generateMissingTests",
Maximiliano Korp's avatar
Maximiliano Korp committed
89
    "prepublish": "node lifecycleScripts/prepareForBuild.js",
90
    "install": "node lifecycleScripts/install",
Maximiliano Korp's avatar
Maximiliano Korp committed
91
    "installDebug": "BUILD_DEBUG=true npm install",
Tim Branyen's avatar
Tim Branyen committed
92 93 94
    "recompile": "node-gyp configure build",
    "rebuild": "node generate && node-gyp configure build",
    "recompileDebug": "node-gyp configure --debug build",
95 96
    "rebuildDebug": "node generate && node-gyp configure --debug build",
    "xcodeDebug": "node-gyp configure -- -f xcode"
Timothy J Fontaine's avatar
Timothy J Fontaine committed
97
  }
98
}