-
Notifications
You must be signed in to change notification settings - Fork 204
/
package.json
76 lines (76 loc) · 2.35 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
{
"name": "geodesy",
"description": "Libraries of geodesy functions",
"homepage": "http://www.movable-type.co.uk/scripts/geodesy-library.html",
"repository": {
"type": "git",
"url": "https://github.com/chrisveness/geodesy"
},
"keywords": [ "geodesy", "latitude", "longitude", "distance", "bearing", "destination", "haversine", "vincenty", "rhumb", "ellipsoid", "datum", "reference-frame", "TRF", "vector", "n-vector", "wgs84", "utm", "mgrs" ],
"author": "Chris Veness",
"version": "2.4.0",
"license": "MIT",
"type": "module",
"module": "./",
"engines": {
"node": ">=8.0.0"
},
"files": [ "dms.js", "latlon-*.js", "mgrs.js", "osgridref.js", "utm.js", "vector3d.js" ],
"bugs": "https://github.com/chrisveness/geodesy/issues",
"scripts": {
"test": "mocha --exit test/*.js",
"lint": "eslint .",
"cover": "c8 -r html npm test",
"docs": "jsdoc *.js README.md -d ../../geodesy/docs"
},
"devDependencies": {
"c8": "^7.0.0",
"chai": "^4.0.0",
"coveralls": "^3.0.0",
"eslint": "^8.0.0",
"jsdoc": "^3.0.0",
"mocha": "^9.0.0"
},
"eslintConfig": {
"env": {
"browser": true,
"mocha": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
},
"extends": "eslint:recommended",
"globals": {
"should": true
},
"rules": {
"array-bracket-spacing": [ "error", "always" ],
"comma-dangle": [ "error", "always-multiline" ],
"comma-spacing": [ "error" ],
"curly": [ "error", "multi-line" ],
"indent": [ "error", 4, { "SwitchCase": 1 } ],
"key-spacing": [ "error", { "align": "value" } ],
"keyword-spacing": [ "error" ],
"no-case-declarations": "warn",
"no-console": [ "warn", { "allow": [ "error", "info", "debug", "assert" ] } ],
"no-irregular-whitespace": "warn",
"no-redeclare": "warn",
"no-shadow": "warn",
"no-unused-vars": "warn",
"no-var": "error",
"object-curly-spacing": [ "error", "always" ],
"prefer-const": "error",
"quotes": [ "error", "single", "avoid-escape" ],
"require-await": "error",
"semi": [ "error", "always" ],
"space-before-blocks": [ "error", "always" ],
"space-in-parens": [ "error" ]
}
},
"jsdoc": {
"plugins": [ "plugins/markdown" ],
"markdown": { "idInHeadings": true }
}
}