UNPKG

lcn

Version:

中华人民共和国行政区划,省市区数据

88 lines (87 loc) 2.3 kB
{ "name": "lcn", "version": "7.1.0", "description": "中华人民共和国行政区划,省市区数据", "main": "dist/lcn.cjs.js", "module": "dist/lcn.esm.js", "types": "types/src/index.d.ts", "unpkg": "dist/lcn.min.js", "scripts": { "build": "rm -rf dist && rollup -c && npm run build:types", "build:types": "rm -rf types && tsc -p tsconfig.build.json -d --emitDeclarationOnly --outDir types", "generator": "rm -rf data && node scripts/index.js", "test": "jest --verbose", "commit": "cz", "prepublishOnly": "npm run build && npm test", "tsc": "tsc --noEmit", "prettier": "prettier -w **/*", "lint": "eslint .", "lint:fix": "eslint . --fix", "prepare": "husky" }, "lint-staged": { "**/*.{js,mjs,jsx,ts,tsx}": "eslint", "**/*.{js,jsx,ts,tsx,json,css,scss,md}": [ "prettier --write" ] }, "config": { "commitizen": { "path": "@commitlint/cz-commitlint" } }, "files": [ "data", "dist", "types" ], "repository": { "type": "git", "url": "git+https://github.com/caijf/lcn.git" }, "author": "caijf", "license": "MIT", "keywords": [ "lcn", "location-china", "china-location", "location-area", "china-area" ], "bugs": { "url": "https://github.com/caijf/lcn/issues" }, "homepage": "https://github.com/caijf/lcn#readme", "devDependencies": { "@commitlint/cli": "^19.8.1", "@commitlint/config-conventional": "^19.8.1", "@commitlint/cz-commitlint": "^19.8.1", "@eslint/js": "^9.32.0", "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.4", "@types/jest": "^30.0.0", "cheerio": "^1.1.2", "commitizen": "^4.3.1", "eslint": "^9.32.0", "globals": "^16.3.0", "husky": "^9.1.7", "iconv-lite": "^0.6.3", "jest": "^30.0.5", "lint-staged": "^15.5.2", "node-useful": "^0.0.1", "prettier": "^3.6.2", "rollup": "^4.46.0", "ts-jest": "^29.4.0", "typescript": "^5.8.3", "typescript-eslint": "^8.38.0" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "dependencies": { "tslib": "^2.8.1" } }