sl-nic-utils
Version:
Sri Lanka NIC Utilities - An adaptable npm package designed to validate NIC numbers, determine the NIC format, convert between OLD and NEW formats, and extract detailed information from Sri Lanka National Identity Card (NIC) numbers.
70 lines (69 loc) • 2.09 kB
JSON
{
"name": "sl-nic-utils",
"version": "2.1.0",
"description": "Sri Lanka NIC Utilities - An adaptable npm package designed to validate NIC numbers, determine the NIC format, convert between OLD and NEW formats, and extract detailed information from Sri Lanka National Identity Card (NIC) numbers.",
"main": "dist/index.cjs.js",
"types": "dist/index.d.ts",
"exports": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
},
"scripts": {
"start": "node dist/index.cjs.js",
"build": "rollup --bundleConfigAsCjs -c",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"format": "prettier --write src tests",
"test": "jest",
"prepare": "husky install",
"release": "semantic-release --no-ci"
},
"repository": {
"type": "git",
"url": "https://github.com/pwshehan/sl-nic-utils.git"
},
"keywords": [
"Sri Lanka",
"NIC",
"Identity card information",
"nic details"
],
"author": "Shehan Wijethunga",
"license": "MIT",
"bugs": {
"url": "https://github.com/pwshehan/sl-nic-utils/issues"
},
"homepage": "https://github.com/pwshehan/sl-nic-utils#readme",
"release": {
"branches": [
"main"
]
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^12.0.1",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"rollup": "^4.36.0",
"rollup-plugin-typescript2": "^0.36.0",
"semantic-release": "^24.2.3",
"ts-jest": "^29.1.2",
"tslib": "^2.8.1",
"typescript": "^5.3.3"
},
"husky": {
"hooks": {
"pre-commit": "eslint src --fix"
}
}
}