fix(license): correct JavaScript package license and metadata
- Change license from ISC to Apache-2.0 OR MIT - Add files, engines, and exports fields - Ensure LICENSE.md is included in npm package
This commit is contained in:
parent
8f444c240f
commit
6223563845
|
|
@ -31,11 +31,29 @@
|
||||||
"ipv6-search"
|
"ipv6-search"
|
||||||
],
|
],
|
||||||
"author": "lionsoul2014",
|
"author": "lionsoul2014",
|
||||||
"license": "ISC",
|
"license": "Apache-2.0 OR MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/lionsoul2014/ip2region/issues"
|
"url": "https://github.com/lionsoul2014/ip2region/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/lionsoul2014/ip2region#readme",
|
"homepage": "https://github.com/lionsoul2014/ip2region#readme",
|
||||||
|
"files": [
|
||||||
|
"index.js",
|
||||||
|
"index.d.ts",
|
||||||
|
"searcher.js",
|
||||||
|
"util.js",
|
||||||
|
"README.md",
|
||||||
|
"README_zh.md",
|
||||||
|
"LICENSE.md"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14.0.0"
|
||||||
|
},
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"types": "./index.d.ts",
|
||||||
|
"default": "./index.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^30.0.0",
|
"@types/jest": "^30.0.0",
|
||||||
"argparse": "^2.0.1",
|
"argparse": "^2.0.1",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue