-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
155 lines (155 loc) · 4.29 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "@urbica/react-map-gl",
"version": "1.16.2",
"description": "React Component for Mapbox GL JS",
"author": "Stepan Kuzmin <[email protected]> (stepankuzmin.com)",
"contributors": [
"Andrey Bakhvalov (https://github.com/device25)",
"Artem Boyur (https://github.com/boyur)"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/urbica/react-map-gl.git"
},
"keywords": [
"mapbox-gl-js",
"mapbox-gl",
"mapbox",
"react mapbox",
"react component",
"react-mapbox-gl",
"react",
"urbica"
],
"types": "src/index.d.ts",
"main": "dist/react-map-gl.cjs.js",
"module": "dist/react-map-gl.esm.js",
"files": [
"**/*.d.ts",
"dist"
],
"scripts": {
"start": "styleguidist server",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "jest test",
"test:coverage": "jest test --coverage && codecov",
"flow": "flow check",
"flow:coverage": "flow-coverage-report -i 'src/**/*.js' -x 'src/setupTests.js' -x 'src/__mocks__/*' -x 'src/**/*.test.js' -t html",
"build": "rollup -c",
"build:watch": "rollup -c -w",
"format": "prettier-eslint --write $PWD\"src/**/*.js\"",
"cz": "git-cz",
"size": "size-limit",
"release": "npm run build && standard-version",
"prepublishOnly": "npm run build",
"styleguide:build": "styleguidist build",
"styleguide:deploy": "gh-pages -m 'auto commit [ci skip]' -d styleguide",
"postpublish": "npm run styleguide:build && npm run styleguide:deploy",
"prepare": "npm run build && husky install"
},
"dependencies": {},
"peerDependencies": {
"mapbox-gl": "^0.x || ^1.x || ^2.x",
"react": "^16.x || ^17.x || ^18.x",
"react-dom": "^16.x || ^17.x || ^18.x"
},
"optionalDependencies": {
"@mapbox/mapbox-gl-language": "^0.10.0",
"@mapbox/mapbox-gl-traffic": "^1.0.2"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/eslint-parser": "^7.18.2",
"@babel/preset-env": "^7.18.6",
"@babel/preset-flow": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@deck.gl/core": "^8.8.3",
"@deck.gl/layers": "^8.8.3",
"@deck.gl/mapbox": "^8.8.3",
"@luma.gl/core": "^8.5.14",
"@mapbox/mapbox-gl-language": "^0.10.0",
"@mapbox/mapbox-gl-traffic": "^1.0.2",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@size-limit/preset-big-lib": "^8.0.0",
"@size-limit/time": "^8.0.0",
"@turf/random": "^6.5.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
"babel-loader": "^8.2.5",
"codecov": "^3.8.3",
"commitizen": "^4.2.4",
"css-loader": "^6.7.1",
"cz-conventional-changelog": "^3.3.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.19.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-react": "^7.30.1",
"flow-bin": "^0.129.0",
"flow-coverage-report": "^0.8.0",
"flow-remove-types": "^2.182.0",
"gh-pages": "^4.0.0",
"husky": "^8.0.1",
"jest": "^26.6.3",
"lint-staged": "^13.0.3",
"mapbox-gl": "^1.13.2",
"prettier": "^2.7.1",
"prettier-eslint": "^15.0.1",
"prettier-eslint-cli": "^7.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-styleguidist": "^11.2.0",
"rollup": "^2.76.0",
"rollup-plugin-terser": "^7.0.2",
"size-limit": "^8.0.0",
"standard-version": "^9.5.0",
"style-loader": "^3.3.1",
"webpack": "^5.73.0"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"setupFiles": [
"<rootDir>/src/setupTests.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"lint-staged": {
"*.js": [
"prettier-eslint --write",
"npm run lint",
"jest --findRelatedTests"
]
},
"size-limit": [
{
"path": "dist/react-map-gl.cjs.js",
"limit": "500 ms"
},
{
"path": "dist/react-map-gl.esm.js",
"limit": "500 ms"
}
],
"browserslist": [
"defaults"
]
}