@nibble-codes/id-checksum
Version:
A comprehensive library for generating and validating various types of identification numbers
101 lines (100 loc) • 3.07 kB
JSON
{
"name": "@nibble-codes/id-checksum",
"version": "0.0.1",
"description": "A comprehensive library for generating and validating various types of identification numbers",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./validators": {
"import": "./dist/esm/validators/index.js",
"require": "./dist/cjs/validators/index.js",
"types": "./dist/types/validators/index.d.ts"
},
"./generators": {
"import": "./dist/esm/generators/index.js",
"require": "./dist/cjs/generators/index.js",
"types": "./dist/types/generators/index.d.ts"
},
"./utils": {
"import": "./dist/esm/utils/index.js",
"require": "./dist/cjs/utils/index.js",
"types": "./dist/types/utils/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"demo": "node src/examples/demo.js",
"lint": "eslint src/ test/",
"lint:fix": "eslint src/ test/ --fix",
"clean": "rimraf dist",
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:types",
"build:esm": "rollup -c rollup.config.esm.js",
"build:cjs": "rollup -c rollup.config.cjs.js",
"build:types": "tsc --emitDeclarationOnly --outDir dist/types",
"prepublishOnly1": "npm run test && npm run lint && npm run build",
"publish:dry": "npm publish --dry-run",
"publish:beta": "npm publish --tag beta",
"publish:latest": "npm publish",
"version:patch": "npm version patch",
"version:minor": "npm version minor",
"version:major": "npm version major",
"release:patch": "npm run version:patch && npm run publish:latest",
"release:minor": "npm run version:minor && npm run publish:latest",
"release:major": "npm run version:major && npm run publish:latest"
},
"keywords": [
"id-validation",
"hkid",
"twid",
"aadhaar",
"nric",
"fin",
"identification",
"validator",
"generator",
"tree-shakeable",
"esm",
"typescript"
],
"author": "Akshay Kapoor <akshay.kapoor392@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Nibble-Codes/id-checksum.git"
},
"bugs": {
"url": "https://github.com/Nibble-Codes/id-checksum/issues"
},
"homepage": "https://github.com/Nibble-Codes/id-checksum#readme",
"devDependencies": {
"@babel/core": "^7.27.7",
"@babel/preset-env": "^7.27.2",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@types/jest": "^29.5.8",
"babel-jest": "^29.7.0",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"rimraf": "^5.0.5",
"rollup": "^4.9.0",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=14.0.0"
}
}