-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
36 lines (36 loc) · 1.13 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"name": "mykad",
"version": "2.0.1",
"description": "Library to validate, parse, generate, and format Malaysian identity card (MyKad) numbers",
"main": "./dist/index.js",
"scripts": {
"test": "npm run build && mocha",
"build": "npx babel src --presets @babel/preset-env --out-dir dist",
"prepublish": "npm run build",
"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/wmthor/mykad.git"
},
"keywords": [
"mykad",
"malaysia",
"identity",
"card"
],
"author": "Wei-Ming Thor <twm_npm@outlook.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/wmthor/mykad/issues"
},
"homepage": "https://github.com/wmthor/mykad#readme",
"devDependencies": {
"@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"
}
}