forked from mapbox/mapbox-sdk-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 3.18 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "@mapbox/mapbox-sdk",
"version": "0.13.4",
"description": "JS SDK for accessing Mapbox APIs",
"main": "index.js",
"files": [
"umd",
"lib",
"services",
"test/test-shared-interface.js",
"test/test-utils.js"
],
"scripts": {
"format": "prettier --write '**/*.js'",
"lint-md": "remark-preset-davidtheclark",
"lint-js": "eslint .",
"lint": "run-p --aggregate-output lint-md lint-js",
"pretest": "npm run lint",
"test": "jest",
"try-browser": "budo test/try-browser/try-browser.js:bundle.js -d test/try-browser -l",
"document-services": "documentation build services/service-helpers/generic-types.js 'services/*.js' --shallow --format md --config conf/service-documentation.yml > docs/services.md",
"document-classes": "documentation build 'lib/classes/*.js' --shallow --format md --config conf/classes-documentation.yml > docs/classes.md",
"document": "run-p --aggregate-output document-services document-classes && npm run lint-md",
"precommit": "npm run document && git add docs && lint-staged",
"bundle": "rollup --config ./rollup.config.js && uglifyjs umd/mapbox-sdk.js > umd/mapbox-sdk.min.js",
"prepublishOnly": "npm run bundle"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mapbox/mapbox-sdk-js.git"
},
"keywords": [
"mapbox",
"sdk",
"api",
"map",
"style",
"tileset",
"dataset",
"search",
"navigation"
],
"author": "Mapbox",
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/mapbox/mapbox-sdk-js/issues"
},
"homepage": "https://github.com/mapbox/mapbox-sdk-js#readme",
"browser": {
"./lib/client.js": "./lib/browser/browser-client.js"
},
"jest": {
"transform": {},
"clearMocks": true,
"testEnvironment": "node",
"coverageReporters": [
"text",
"html"
],
"collectCoverageFrom": [
"<rootDir>/lib/**/*.js",
"<rootDir>/services/**/*.js",
"!<rootDir>/test/**"
]
},
"lint-staged": {
"*.js": [
"eslint",
"prettier --write",
"git add"
],
"*.md": [
"remark-preset-davidtheclark",
"git add"
]
},
"prettier": {
"singleQuote": true
},
"dependencies": {
"@mapbox/fusspot": "^0.4.0",
"@mapbox/parse-mapbox-token": "^0.2.0",
"@mapbox/polyline": "^1.0.0",
"eventemitter3": "^3.1.0",
"form-data": "^3.0.0",
"got": "^11.8.5",
"is-plain-obj": "^1.1.0",
"xtend": "^4.0.1"
},
"devDependencies": {
"base64-url": "^2.2.0",
"budo": "^11.3.2",
"camelcase": "^5.0.0",
"documentation": "^8.0.0",
"eslint": "^5.1.0",
"eslint-plugin-node": "^6.0.1",
"express": "^4.16.3",
"get-port": "^3.2.0",
"husky": "^0.14.3",
"jest": "^23.4.0",
"jest-environment-jsdom": "^23.4.0",
"jest-environment-jsdom-global": "^1.1.0",
"lint-staged": "^7.2.0",
"meow": "^5.0.0",
"npm-run-all": "^4.1.3",
"prettier": "^1.13.7",
"remark-preset-davidtheclark": "^0.8.1",
"rollup": "^0.62.0",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-node-resolve": "^3.3.0",
"uglify-js": "^3.4.4",
"xhr-mock": "^2.4.1"
},
"engines": {
"node": ">=6"
}
}