iw4x-client/deps/rapidjson/doc/npm.md
2024-03-07 05:13:50 -05:00

363 B

NPM

package.json

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

binding.gyp

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