-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
executable file
·67 lines (67 loc) · 1.89 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
65
66
67
{
"name": "states-nepal",
"version": "0.2.1",
"description": "Get structured dataset about administrative division in Nepal.",
"keywords": [
"states-nepal",
"nepal",
"nepali",
"district-nepal",
"municipality-nepal",
"province-nepal"
],
"main": "./lib/cjs/src/index.js",
"module": "./lib/esm/src/index.js",
"types": "./lib/esm/src/index.d.ts",
"files": [
"lib/"
],
"repository": "https:/adarshaacharya/states-nepal.git",
"author": "Aadarsha <[email protected]>",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"license": "MIT",
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:commit": "jest --coverage --bail --passWithNoTests --findRelatedTests",
"build": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
"build:watch": "tsc -w",
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
"prepublishOnly": "npm run build",
"lint": "eslint \"{src,tests}/**/*.ts\"",
"lint:fix": "eslint \"{src,tests}/**/*.ts\" --fix"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"npm run lint:fix -- --cache",
"npm run format",
"jest --bail --passWithNoTests --findRelatedTests"
]
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.22",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^4.3.7",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3"
}
}