commit
6f5e83db04
@ -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
|
||||
|
||||
|
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")\')'
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
~~~~~~~~~~
|
BIN
package.json
BIN
package.json
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user