-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.4 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "my-nric",
"description": "Malaysia NRIC validation and formatter",
"version": "2.0.6",
"author": "Deojeff Lai",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"prepublish": "tsc",
"prepare": "yarn build",
"prepublishOnly": "yarn test",
"build": "tsc",
"dev": "yarn build && node ./lib/dev/index.js",
"test": "jest --detectOpenHandles --logHeapUsage"
},
"repository": {
"type": "git",
"url": "https://github.com/d30jeff/my-nric"
},
"keywords": [
"nric",
"validation",
"my-nric",
"identity card",
"Malaysia"
],
"license": "MIT",
"private": false,
"devDependencies": {
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"eslint": "^8.28.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^2.8.0",
"ts-jest": "^29.0.5",
"typescript": "^4.9.3",
"jest": "^29.4.3"
},
"optionalDependencies": {
"husky": "^4.2.5",
"lint-staged": "^10.2.11"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint --fix"
]
},
"dependencies": {
"dayjs": "^1.11.7"
}
}