@socoe/mykad
Version:
Library to validate, parse, generate, and format Malaysian identity card (MyKad) numbers
40 lines (39 loc) • 1.31 kB
JSON
{
"name": "@socoe/mykad",
"version": "2.0.5",
"description": "Library to validate, parse, generate, and format Malaysian identity card (MyKad) numbers",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"test": "npm run build && mocha",
"build": "npx babel src --presets @babel/preset-env --out-dir dist && cp src/index.d.ts dist/",
"prepublish": "npm run build",
"publish": "npm publish --scope=@socoe --access=public",
"bundle": "npm run build && node ./node_modules/browserify/bin/cmd.js dist/index.js --standalone mykad -o browser/mykad.js && node ./node_modules/uglify-js/bin/uglifyjs --output browser/mykad.min.js --compress --mangle -- browser/mykad.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/socoe/mykad.git"
},
"keywords": [
"mykad",
"malaysia",
"identity",
"card"
],
"author": "Wei-Ming Thor <twm_npm@outlook.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/socoe/mykad.git/issues"
},
"homepage": "https://github.com/socoe/mykad.git#readme",
"devDependencies": {
"typescript": "^5.0.0",
"@babel/cli": "^7.25.7",
"@babel/preset-env": "^7.25.7",
"browserify": "^17.0.0",
"chai": "^4.5.0",
"mocha": "^10.7.3",
"uglify-js": "^3.19.3"
}
}