suyu/externals/discord-rpc/thirdparty/rapidjson-1.1.0/doc/npm.md
2024-03-05 16:42:40 +08:00

363 B
Executable file

NPM

package.json

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

binding.gyp

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