-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
124 lines (124 loc) · 4.03 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
{
"name": "maplibre-gl-js-amplify",
"version": "4.0.0",
"description": "MapLibre Plugin to Support Amplify Geo Integration",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"unpkg": "dist/maplibre-gl-js-amplify.umd.min.js",
"types": "lib/esm/index.d.ts",
"files": [
"/dist",
"/lib"
],
"scripts": {
"build": "npm run clean && npm run copy:files && npm run compile && npm run bundle:umd && npm run bundle:umd:min",
"bundle:umd": "rollup lib/esm/index.js --config",
"bundle:umd:min": "terser --ecma 6 --compress --mangle -o dist/maplibre-gl-js-amplify.umd.min.js -- dist/maplibre-gl-js-amplify.umd.js && gzip -9 -c dist/maplibre-gl-js-amplify.umd.min.js > dist/maplibre-gl-js-amplify.umd.min.js.gz",
"clean": "rimraf dist && rimraf lib",
"compile": "npm run tsc",
"copy:files": "mkdir -p dist/public/ lib/cjs/public lib/esm/public && cp src/public/* dist/public/ && cp src/public/* lib/cjs/public/ && cp src/public/* lib/esm/public/",
"lint": "eslint src --ext .js,.ts",
"prepublish": "npm run build",
"publish:release": "yarn publish --access=public --non-interactive",
"publish:geo": "yarn publish --access=public --non-interactive --tag geo",
"publish:unstable": "yarn publish --new-version 0.0.0-unstable-$(git rev-parse --short=7 HEAD) --access=public --non-interactive --tag unstable",
"test": "jest",
"test:coverage": "jest --coverage",
"tsc": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
"semantic-release": "semantic-release",
"prepare": "husky install"
},
"repository": {
"type": "ssh",
"url": "[email protected]:aws-amplify/maplibre-gl-js-amplify.git"
},
"keywords": [
"Amplify"
],
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/aws-amplify/maplibre-gl-js-amplify/issues"
},
"homepage": "https://github.com/aws-amplify/maplibre-gl-js-amplify#readme",
"release": {
"branches": [
{
"name": "main",
"prerelease": "unstable",
"channel": "unstable"
},
{
"name": "release"
},
{
"name": "geo",
"prerelease": "geo",
"channel": "geo"
}
]
},
"devDependencies": {
"@aws-amplify/core": "^6.x.x",
"@aws-amplify/geo": "^3.x.x",
"@babel/preset-env": "^7.22.9",
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@types/debounce": "^1.2.1",
"@types/geojson": "^7946.0.7",
"@types/jest": "^27.0.2",
"@types/mapbox__mapbox-gl-draw": "^1.2.3",
"@types/node": "^15.6.1",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"aws-amplify": "^6.x.x",
"babel-jest": "^27.3.1",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^7.0.4",
"jest": "^27.0.3",
"jest-fetch-mock": "^3.0.3",
"jest-transform-stub": "^2.0.0",
"jest-webgl-canvas-mock": "^2.5.0",
"lint-staged": ">=10",
"maplibre-gl": "^2.1.9",
"prettier": "^3.0.0",
"rollup": "^2.55.1",
"rollup-plugin-import-css": "^3.0.2",
"rollup-plugin-svg": "^2.0.0",
"semantic-release": "^19.0.2",
"terser": "^5.7.1",
"ts-jest": "^27.0.2",
"typescript": "^4.3.2"
},
"peerDependencies": {
"@aws-amplify/geo": "3.x.x",
"aws-amplify": "6.x.x",
"maplibre-gl": "1.x.x || 2.x.x"
},
"dependencies": {
"@mapbox/mapbox-gl-draw": "1.3.0",
"@maplibre/maplibre-gl-geocoder": "1.5.0",
"@turf/along": "^6.5.0",
"@turf/circle": "^6.5.0",
"@turf/distance": "^6.5.0",
"@turf/helpers": "^6.5.0",
"@turf/length": "^6.5.0",
"@turf/line-slice": "^6.5.0",
"debounce": "^1.2.1",
"maplibre-gl-draw-circle": "^0.1.1"
},
"resolutions": {
"**/fast-xml-parser": "4.4.1",
"cross-spawn": "7.0.5",
"json5": "^2.2.2",
"optionator": "^0.9.3"
},
"lint-staged": {
"*.{js,ts}": "npm run lint",
"*.{ts,tsx,js,css,md}": "prettier --write"
}
}