-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
102 lines (102 loc) · 2.41 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "distance-from",
"version": "2.0.52",
"description": "Calculate distance between two coordinates",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepare": "husky install",
"test": "npm run build && jest",
"start": "node index.js",
"prepack": "npm run build",
"clean": "rm -rf ./dist",
"release": "npm publish --access public",
"build": "npm run clean && tsc -p tsconfig.json",
"build:w": "tsc -p tsconfig.json -w",
"lint": "eslint 'lib/**/*.ts' '__tests__/**/*.js' && lint-staged",
"lint:fix": "eslint --fix 'lib/**/*.ts' '__tests__/**/*.js' && lint-staged"
},
"jest": {
"testEnvironment": "node",
"collectCoverage": true
},
"lint-staged": {
"*.{ts,js}": "eslint --fix",
"*.json": "prettier --write"
},
"eslintConfig": {
"extends": [
"xo",
"plugin:prettier/recommended"
],
"overrides": [
{
"files": [
"*.ts"
],
"extends": [
"xo",
"xo-typescript/space",
"plugin:prettier/recommended"
],
"rules": {
"new-cap": "off",
"no-else-return": "off",
"prefer-exponentiation-operator": "off"
}
},
{
"files": [
"*.js"
],
"env": {
"jest": true,
"node": true
}
}
]
},
"repository": {
"type": "git",
"url": "https://github.com/rickyplouis/distance-from.git"
},
"keywords": [
"haversine",
"distance-from",
"coordinates",
"distance-between",
"distance",
"latitude",
"longitude",
"math",
"lat",
"long"
],
"author": "rickyplouis",
"license": "MIT",
"bugs": {
"url": "https://github.com/rickyplouis/distance-from/issues"
},
"homepage": "https://github.com/rickyplouis/distance-from#readme",
"devDependencies": {
"@types/node": "^18.13.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"coveralls": "^3.1.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-xo": "^0.44.0",
"eslint-config-xo-typescript": "^2.0.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^8.0.3",
"jest": "^29.4.3",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"ts-node": "^10.9.1",
"typescript": "^5.3.3"
},
"contributors": [
"rickyplouis",
"airtucha"
]
}