-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
67 lines (67 loc) · 2.24 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
{
"name": "@bopen/leaflet-area-selection",
"version": "0.7.0",
"description": "Create and manipulate a polygonal area on a Leaflet map",
"author": "B-Open",
"license": "MIT",
"repository": "https://github.com/bopen/leaflet-area-selection.git",
"homepage": "https://bopen.github.io/leaflet-area-selection/",
"bugs": "https://github.com/bopen/leaflet-area-selection/issues",
"keywords": [
"leaflet",
"geolocation",
"maps"
],
"main": "dist/index.js",
"module": "dist/index.modern.js",
"unpkg": "dist/index.umd.js",
"source": "src/index.js",
"style": "dist/index.css",
"engines": {
"node": ">=12"
},
"scripts": {
"clean": "rimraf dist/*",
"copy-assets": "copyfiles -f src/images/area-icon.png dist/",
"build": "npm run clean && npm run copy-assets && microbundle-crl --globals leaflet=L,leaflet/dist/leaflet-src.esm=L --no-compress --format modern,cjs,umd",
"start": "npm run clean && npm run copy-assets && microbundle-crl watch --globals leaflet=L,leaflet/dist/leaflet-src.esm=L --no-compress --format modern,cjs,umd",
"prepare": "run-s build",
"test": "run-s test:unit test:lint test:build",
"test:build": "run-s build",
"test:lint": "eslint .",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"predeploy": "cd example && npm install && npm run build",
"deploy": "gh-pages -d example/build",
"cypress:open": "cypress open"
},
"peerDependencies": {
"leaflet": "^1.7.1"
},
"devDependencies": {
"babel-eslint": "^10.0.3",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.2",
"cypress": "^8.4.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.7.0",
"eslint-config-standard": "^14.1.0",
"eslint-config-standard-react": "^9.2.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"gh-pages": "^2.2.0",
"microbundle-crl": "^0.13.11",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.4",
"react-scripts": "^3.4.1",
"rimraf": "^3.0.2"
},
"files": [
"dist"
],
"dependencies": {}
}