npm docs
This commit is contained in:
parent
2a3fbdaf5c
commit
7708961484
@ -26,6 +26,7 @@
|
|||||||
* Support optional relaxed syntax.
|
* Support optional relaxed syntax.
|
||||||
* Single line (`// ...`) and multiple line (`/* ... */`) comments (`kParseCommentsFlag`).
|
* Single line (`// ...`) and multiple line (`/* ... */`) comments (`kParseCommentsFlag`).
|
||||||
* Trailing commas at the end of objects and arrays (`kParseTrailingCommasFlag`).
|
* Trailing commas at the end of objects and arrays (`kParseTrailingCommasFlag`).
|
||||||
|
* [NPM compliant](doc/npm.md).
|
||||||
|
|
||||||
## Unicode
|
## Unicode
|
||||||
|
|
||||||
|
31
doc/npm.md
Normal file
31
doc/npm.md
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
## 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")\')'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
~~~~~~~~~~
|
Loading…
x
Reference in New Issue
Block a user