package.json 3.23 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",
Tyler Wanek's avatar
Tyler Wanek committed
4
  "version": "0.20.3",
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": {
John Haley's avatar
John Haley committed
34
    "node": ">= 4"
35
  },
36
  "dependencies": {
Maximiliano Korp's avatar
Maximiliano Korp committed
37
    "fs-extra": "~0.26.2",
38 39
    "lodash": "^4.13.1",
    "nan": "^2.2.0",
Tim Branyen's avatar
Tim Branyen committed
40 41
    "node-gyp": "^3.5.0",
    "node-pre-gyp": "~0.6.32",
42
    "promisify-node": "~0.3.0"
43
  },
44
  "devDependencies": {
45
    "aws-sdk": "^2.3.19",
46 47
    "babel-cli": "^6.7.7",
    "babel-preset-es2015": "^6.6.0",
Maximiliano Korp's avatar
Maximiliano Korp committed
48 49 50 51 52 53 54
    "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",
55 56
    "mocha": "~2.3.4",
    "walk": "^2.3.9"
57
  },
Maximiliano Korp's avatar
Maximiliano Korp committed
58
  "vendorDependencies": {
Maximiliano Korp's avatar
Maximiliano Korp committed
59
    "libssh2": "1.7.0",
Maximiliano Korp's avatar
Maximiliano Korp committed
60 61
    "http_parser": "2.5.0"
  },
62 63 64
  "binary": {
    "module_name": "nodegit",
    "module_path": "./build/Release/",
65
    "host": "https://nodegit.s3.amazonaws.com/nodegit/nodegit/"
66
  },
67
  "scripts": {
68
    "babel": "babel --presets es2015 -d ./dist ./lib",
Chris Bargren's avatar
Chris Bargren committed
69
    "cov": "npm run cppcov && npm run filtercov && npm run mergecov",
70
    "coveralls": "cat ./test/coverage/merged.lcov | coveralls",
71
    "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
72
    "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",
73 74
    "generateJson": "node generate/scripts/generateJson",
    "generateMissingTests": "node generate/scripts/generateMissingTests",
Chris Bargren's avatar
Chris Bargren committed
75
    "generateNativeCode": "node generate/scripts/generateNativeCode",
76
    "install": "node lifecycleScripts/preinstall && node lifecycleScripts/install",
Maximiliano Korp's avatar
Maximiliano Korp committed
77
    "installDebug": "BUILD_DEBUG=true npm install",
Chris Bargren's avatar
Chris Bargren committed
78 79 80 81
    "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",
82 83
    "postinstall": "node lifecycleScripts/postinstall",
    "prepublish": "npm run babel",
84 85
    "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
86 87 88 89
    "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
90
  }
91
}