forked from smeijer/leaflet-geosearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
112 lines (112 loc) · 3.78 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
{
"name": "leaflet-geosearch",
"version": "3.6.1",
"description": "Adds support for address lookup (a.k.a. geocoding / geoseaching) to Leaflet.",
"publishConfig": {
"tag": "latest"
},
"main": "dist/geosearch.js",
"umd:main": "dist/geosearch.umd.js",
"module": "dist/geosearch.module.js",
"unpkg": "dist/geosearch.umd.js",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"amdName": "GeoSearch",
"exports": {
".": {
"browser": "./dist/geosearch.module.js",
"umd": "./dist/geosearch.umd.js",
"import": "./dist/geosearch.module.js",
"require": "./dist/geosearch.js"
},
"./package.json": "./package.json",
"./*": "./*"
},
"scripts": {
"clean": "rimraf ./dist .docz/dist",
"start": "concurrently npm:build:watch npm:docz:dev",
"build": "run-p build:dist build:lib build:css && npm run build:compat",
"build:dist": "microbundle build --external leaflet --globals leaflet=L --format es,cjs,umd",
"build:compat": "cp ./dist/geosearch.umd.js ./dist/bundle.min.js",
"build:lib": "tsc",
"build:css": "mkdir -p dist && cp ./assets/css/leaflet.css ./dist/geosearch.css",
"build:watch": "npm run build:dist -- --compress false --watch",
"test": "jest",
"lint": "tsc --noEmit && eslint '{docs,src,test}/**/*.{js,ts,tsx}' --quiet --fix && prettier '**/*.{md,mdx,json}' --write",
"docz:dev": "docz dev",
"docz:build": "docz build --base /leaflet-geosearch/",
"docz:serve": "docz build && docz serve",
"docs:update": "run-s clean build docz:build && git checkout gh-pages && find . -maxdepth 1 -type f -not -path '*/\\.*' -delete && cp -r .docz/dist/* . && git add . && (git diff --exit-code || git commit -m \"update docs\") && git checkout - && git push origin gh-pages",
"prepublish": "run-s test clean build",
"ci:lint": "eslint '{docs,src,test}/**/*.{js,ts,tsx}' -c ./.eslintrc.js",
"ci:tsc": "tsc --noEmit --project ./tsconfig.json",
"ci:test": "jest --ci",
"bump:patch": "npm version patch -m 'release: cut the %s release'",
"bump:minor": "npm version minor -m 'release: cut the %s release'",
"bump:major": "npm version major -m 'release: cut the %s release'"
},
"files": [
"src",
"dist",
"lib",
"assets"
],
"keywords": [
"geolocation",
"geocoding",
"plugins",
"leaflet",
"geo",
"map"
],
"repository": {
"type": "git",
"url": "git+https://github.com/smeijer/leaflet-geosearch.git"
},
"author": "Stephan Meijer <[email protected]>",
"bugs": {
"url": "https://github.com/smeijer/leaflet-geosearch/issues"
},
"homepage": "https://github.com/smeijer/leaflet-geosearch#readme",
"license": "MIT",
"devDependencies": {
"@types/google.maps": "^3.50.2",
"@types/jest": "^29.1.1",
"@types/lodash.debounce": "^4.0.6",
"@types/react-dom": "^18.0.6",
"@types/react-leaflet": "^2.5.1",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"concurrently": "^7.4.0",
"docz": "^2.3.1",
"docz-theme-default": "^1.2.0",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.19.0",
"gatsby-plugin-react-leaflet": "^2.0.12",
"husky": "^4.2.5",
"jest": "^29.1.2",
"jest-environment-jsdom": "^29.1.2",
"jest-fetch-mock": "^3.0.3",
"lint-staged": "^13.0.3",
"microbundle": "^0.15.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-leaflet": "^2.6.3",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
},
"optionalDependencies": {
"@googlemaps/js-api-loader": "^1.14.3",
"leaflet": "^1.6.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}