yuzu/externals/discord-rpc/thirdparty/rapidjson-1.1.0/doc/npm.md

32 lines
363 B
Markdown
Raw Normal View History

2022-11-05 18:35:56 +04:00
## NPM
# package.json {#package}
~~~~~~~~~~js
{
...
"dependencies": {
...
"rapidjson": "git@github.com:miloyip/rapidjson.git"
},
...
"gypfile": true
}
~~~~~~~~~~
# binding.gyp {#binding}
~~~~~~~~~~js
{
...
'targets': [
{
...
'include_dirs': [
'<!(node -e \'require("rapidjson")\')'
]
}
]
}
~~~~~~~~~~