Commit 6f5e83db authored by Milo Yip's avatar Milo Yip Committed by GitHub

Merge pull request #639 from milkandsour/master

npm docs
parents ba54d028 f9810e54
......@@ -26,6 +26,7 @@
* Support optional relaxed syntax.
* Single line (`// ...`) and multiple line (`/* ... */`) comments (`kParseCommentsFlag`).
* Trailing commas at the end of objects and arrays (`kParseTrailingCommasFlag`).
* [NPM compliant](doc/npm.md).
## Unicode
......
## 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")\')'
]
}
]
}
~~~~~~~~~~
{
"name": "rapidjson",
"version": "1.0.3",
"version": "1.0.4",
"description": "![](doc/logo/rapidjson.png)",
"main": "index.js",
"main": "include_dirs.js",
"directories": {
"doc": "doc",
"example": "example",
......@@ -20,6 +20,5 @@
"bugs": {
"url": "https://github.com/miloyip/rapidjson/issues"
},
"homepage": "https://github.com/miloyip/rapidjson#readme",
"main": "include_dirs.js"
"homepage": "https://github.com/miloyip/rapidjson#readme"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment