ES-DE/external/rapidjson/doc/npm.md

363 B

NPM

package.json

{
  ...
  "dependencies": {
    ...
    "rapidjson": "git@github.com:Tencent/rapidjson.git"
  },
  ...
  "gypfile": true
}

binding.gyp

{
  ...
  'targets': [
    {
      ...
      'include_dirs': [
        '<!(node -e \'require("rapidjson")\')'
      ]
    }
  ]
}