|
@@ -1,13 +1,15 @@
|
|
|
{
|
|
|
"name": "china-division",
|
|
|
- "version": "2.0.0",
|
|
|
- "description": "中华人民共和国行政区划:省份、城市、区县、乡镇(街道)",
|
|
|
+ "version": "2.1.0",
|
|
|
+ "description": "中华人民共和国行政区划:省份、城市、区县、乡镇(街道)、村(居)委会",
|
|
|
"main": "lib/export.js",
|
|
|
"scripts": {
|
|
|
"test": "eslint . && mocha -t 5000",
|
|
|
- "fetch": "node lib/fetch.js && npm test",
|
|
|
+ "fetch": "node lib/fetch.js",
|
|
|
"csv": "./export_csv.sh",
|
|
|
"json": "./export_json.sh",
|
|
|
+ "format": "node lib/build.js",
|
|
|
+ "build": "npm run csv && npm run json && npm run format",
|
|
|
"precommit": "npm test"
|
|
|
},
|
|
|
"repository": {
|
|
@@ -24,7 +26,9 @@
|
|
|
"城市",
|
|
|
"区县",
|
|
|
"乡镇",
|
|
|
- "街道"
|
|
|
+ "街道",
|
|
|
+ "村委会",
|
|
|
+ "居委会"
|
|
|
],
|
|
|
"Author": {
|
|
|
"name": "modood",
|