package.json 3.33 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",
John Haley's avatar
John Haley committed
4
  "version": "0.13.2",
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": "dist/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": {
Maximiliano Korp's avatar
Maximiliano Korp committed
40 41
    "fs-extra": "~0.26.2",
    "node-pre-gyp": "~0.6.15",
42
    "promisify-node": "~0.3.0"
43
  },
44
  "devDependencies": {
45 46
    "babel-cli": "^6.7.7",
    "babel-preset-es2015": "^6.6.0",
Maximiliano Korp's avatar
Maximiliano Korp committed
47 48 49 50 51 52 53 54 55
    "clean-for-publish": "~1.0.2",
    "combyne": "~0.8.1",
    "coveralls": "~2.11.4",
    "istanbul": "~0.3.20",
    "js-beautify": "~1.5.10",
    "jshint": "~2.8.0",
    "lcov-result-merger": "~1.0.2",
    "lodash": "~3.10.1",
    "mocha": "~2.3.4",
John Haley's avatar
John Haley committed
56
    "nan": "^2.2.0",
Maximiliano Korp's avatar
Maximiliano Korp committed
57 58
    "node-gyp": "~3.0.3",
    "nw-gyp": "~0.12.4"
59
  },
Maximiliano Korp's avatar
Maximiliano Korp committed
60 61
  "vendorDependencies": {
    "libgit2": {
62
      "sha": "e8feafe32007ebd16a61820c70abd221655d053c"
Maximiliano Korp's avatar
Maximiliano Korp committed
63
    },
Tim Branyen's avatar
Tim Branyen committed
64
    "libssh2": "1.6.0",
Maximiliano Korp's avatar
Maximiliano Korp committed
65 66
    "http_parser": "2.5.0"
  },
67 68 69
  "binary": {
    "module_name": "nodegit",
    "module_path": "./build/Release/",
70
    "host": "https://nodegit.s3.amazonaws.com/nodegit/nodegit/"
71
  },
72
  "scripts": {
73
    "babel": "babel --presets es2015 -d ./dist ./lib",
Chris Bargren's avatar
Chris Bargren committed
74
    "cov": "npm run cppcov && npm run filtercov && npm run mergecov",
75
    "coveralls": "cat ./test/coverage/merged.lcov | coveralls",
76
    "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",
Chris Bargren's avatar
Chris Bargren committed
77
    "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",
78 79
    "generateJson": "node generate/scripts/generateJson",
    "generateMissingTests": "node generate/scripts/generateMissingTests",
Chris Bargren's avatar
Chris Bargren committed
80
    "generateNativeCode": "node generate/scripts/generateNativeCode",
81
    "install": "node lifecycleScripts/install",
Maximiliano Korp's avatar
Maximiliano Korp committed
82
    "installDebug": "BUILD_DEBUG=true npm install",
Chris Bargren's avatar
Chris Bargren committed
83 84 85 86 87
    "lint": "jshint lib test/tests test/utils examples lifecycleScripts",
    "mergecov": "lcov-result-merger 'test/**/*.info' 'test/coverage/merged.lcov' && ./lcov-1.10/bin/genhtml test/coverage/merged.lcov --output-directory test/coverage/report",
    "mocha": "mocha test/runner test/tests --timeout 15000",
    "mochaDebug": "mocha --debug-brk test/runner test/tests --timeout 15000",
    "postinstall": "node postinstall.js",
88 89 90
    "prepublish": "node lifecycleScripts/prepareForBuild.js && npm run babel",
    "rebuild": "node generate && npm run babel && node-gyp configure build",
    "rebuildDebug": "node generate && npm run babel && node-gyp configure --debug build",
Chris Bargren's avatar
Chris Bargren committed
91 92 93 94
    "recompile": "node-gyp configure build",
    "recompileDebug": "node-gyp configure --debug build",
    "test": "npm run lint && node --expose-gc test",
    "xcodeDebug": "node-gyp configure -- -f xcode"
Timothy J Fontaine's avatar
Timothy J Fontaine committed
95
  }
96
}