chore: add license
This commit is contained in:
parent
894c7c962a
commit
7fc461aa28
3 changed files with 68 additions and 5 deletions
43
LICENSE
Normal file
43
LICENSE
Normal file
|
@ -0,0 +1,43 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2018 LongYinan
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018 GitHub
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
26
package.json
26
package.json
|
@ -1,8 +1,7 @@
|
|||
{
|
||||
"name": "napi-rs",
|
||||
"version": "0.1.0",
|
||||
"description":
|
||||
"A minimal library for building compiled Node add-ons in Rust.",
|
||||
"description": "A minimal library for building compiled Node add-ons in Rust.",
|
||||
"bin": {
|
||||
"napi": "scripts/napi.js"
|
||||
},
|
||||
|
@ -11,13 +10,20 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/atom/napi.git"
|
||||
"url": "git@github.com:Brooooooklyn/napi-rs.git"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "LongYinan",
|
||||
"email": "lynweklm@gmail.com",
|
||||
"homepage": "https://github.com/Brooooooklyn"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/atom/napi/issues"
|
||||
"url": "https://github.com/Brooooooklyn/napi-rs/issues"
|
||||
},
|
||||
"homepage": "https://github.com/atom/napi#readme",
|
||||
"homepage": "https://github.com/Brooooooklyn/napi-rs#readme",
|
||||
"dependencies": {
|
||||
"minimist": "^1.2.0"
|
||||
},
|
||||
|
@ -28,5 +34,15 @@
|
|||
"trailingComma": "all",
|
||||
"arrowParens": "always",
|
||||
"parser": "typescript"
|
||||
},
|
||||
"files": [
|
||||
"scripts/napi.js",
|
||||
"src/**",
|
||||
"build.rs",
|
||||
"Cargo.toml",
|
||||
"Cargo.lock"
|
||||
],
|
||||
"devDependencies": {
|
||||
"prettier": "^1.12.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,3 +5,7 @@
|
|||
minimist@^1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "http://registry.npm.taobao.org/minimist/download/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
|
||||
|
||||
prettier@^1.12.1:
|
||||
version "1.12.1"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.12.1.tgz#c1ad20e803e7749faf905a409d2367e06bbe7325"
|
||||
|
|
Loading…
Reference in a new issue