UNPKG

idcard-reader

Version:

通过二代身份证机具读取二代身份证信息

130 lines (129 loc) 3.78 kB
{ "name": "idcard-reader", "author": "waiting", "version": "5.0.0", "description": "通过二代身份证机具读取二代身份证信息", "keywords": [ "idcard", "idc-reader", "身份证", "二代身份证", "二代证机具" ], "bin": { "idc-reader": "./dist/bin/idc-reader.js" }, "browser": "", "es2015": "./dist/index.esm.js", "main": "./dist/index.cjs.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "bugs": { "url": "https://github.com/waitingsong/node-idcard-reader/issues" }, "homepage": "https://github.com/waitingsong/node-idcard-reader#readme", "repository": { "type": "git", "url": "git+https://github.com/waitingsong/node-idcard-reader.git" }, "license": "MIT", "dependencies": { "@types/ffi-napi": "*", "@waiting/idcard-reader-base": "^2.0.1", "@waiting/log": "^1.0.1", "@waiting/shared-core": "3", "@waiting/shared-types": "3", "ffi-napi": "^2.4.5", "rxjs": "^6.5.2", "win32-def": "7" }, "devDependencies": { "@types/mocha": "5", "@types/node": "12", "@types/power-assert": "1", "@types/rewire": "2", "@types/rimraf": "2", "@types/yargs": "13", "@waiting/eslint-config": "2", "coveralls": "3", "cross-env": "6", "eslint": "6", "espower-typescript": "9", "intelli-espower-loader": "1", "mocha": "6", "mocha-lcov-reporter": "1", "nyc": "14", "power-assert": "1", "rewire": "4", "rimraf": "3", "rollup": "1", "rollup-plugin-commonjs": "10", "rollup-plugin-node-resolve": "5", "rollup-plugin-terser": "5", "rxrunscript": "5", "ts-node": "8", "typescript": "3", "yargs": "15" }, "engines": { "node": ">=10.16.0" }, "files": [ "dist" ], "publishConfig": { "registry": "https://registry.npmjs.org/" }, "scripts": { "bp:add": "git remote add bp https://github.com/waitingsong/npm-base", "bp:sync": "git fetch --all -v && git merge bp/master -m \"Merge remote-tracking branch 'bp/master'\"", "build": "npm run lint && npm run tsc && npm run rp", "devbuild": "npm run clean && npm run tsc:dev && npm run rp", "clean": "rm -rf dist/* .vscode/.tsbuildinfo .vscode/.tsbuildinfo.* ", "cov": "cross-env TS_NODE_PROJECT=test/tsconfig.json nyc mocha", "cov:coveralls": "cross-env TS_NODE_PROJECT=test/tsconfig.json nyc mocha && nyc report --reporter=text-lcov | coveralls", "doc": "typedoc src/index.ts src/lib/index.ts src/lib/model.ts", "link_global": "npm link typescript", "lint": "eslint --fix --cache {src,test}/**/*.ts", "lint:nofix": "eslint --cache {src,test}/**/*.ts", "postpublish": "git push origin --follow-tags", "prepublishOnly": "npm run clean && npm run build", "release": "standard-version -r", "release:first": "standard-version --first-release", "repo:init": "sh .githooks/init-repo.sh", "rp": "rollup -c rollup.config.js", "rp:w": "npm run tsc:w | rollup -wc rollup.config.js", "test": "cross-env TS_NODE_PROJECT=test/tsconfig.json mocha --opts test/mocha.opts", "test:browser": "cd .config && npm run browser && cd ..", "browser:debug": "cd .config && npm run debug && cd ..", "tsc": "tsc -p tsconfig.json", "tsc:dev": "tsc -p tsconfig.dev.json", "tsc:w": "tsc -p tsconfig.json -w" }, "nyc": { "include": [ "src/**/*.ts" ], "exclude": [ ".githooks", "dist", "node_modules*", "src/bin", "src/domain.ts", "src/interface.ts", "test*", "**/node_modules*", "**/*.d.ts", "**/*.js" ], "extension": [ ".ts" ], "reporter": [ "text-summary", "json", "html" ], "all": true } }