forked from Leaflet/Leaflet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
72 lines (72 loc) · 2.3 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
{
"name": "leaflet",
"version": "1.9.2",
"homepage": "https://leafletjs.com/",
"description": "JavaScript library for mobile-friendly interactive maps",
"devDependencies": {
"@mapbox/eslint-plugin-script-tags": "^1.0.0",
"@rollup/plugin-json": "^6.1.0",
"bundlemon": "^3.0.3",
"chai": "^5.1.1",
"eslint": "^9.8.0",
"eslint-config-mourner": "^4.0.2",
"eslint-plugin-import-x": "^3.1.0",
"http-server": "^14.1.1",
"husky": "^9.1.4",
"karma": "^6.4.3",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-firefox-launcher": "^2.1.3",
"karma-mocha": "^2.0.1",
"karma-safarinative-launcher": "^1.1.0",
"karma-time-stats-reporter": "^0.1.0",
"leafdoc": "^2.3.0",
"lint-staged": "^15.2.7",
"mocha": "^10.7.0",
"prosthetic-hand": "^2.0.0",
"rollup": "^4.19.1",
"rollup-plugin-git-version": "^0.3.1",
"simple-git": "^3.25.0",
"sinon": "^18.0.0",
"ssri": "^10.0.6",
"uglify-js": "^3.19.1",
"ui-event-simulator": "^2.0.0"
},
"main": "dist/leaflet-src.js",
"module": "dist/leaflet-src.esm.js",
"style": "dist/leaflet.css",
"files": [
"dist",
"src",
"!dist/leaflet.zip",
"!*.leafdoc",
"CHANGELOG.md"
],
"scripts": {
"debug": "http-server -c-1",
"docs": "node ./build/docs.mjs && node ./build/integrity.mjs",
"test": "karma start ./spec/karma.conf.js",
"coverage": "karma start ./spec/karma.conf.js --coverage --single-run",
"build": "npm run rollup && npm run uglify",
"lint": "eslint .",
"lintfix": "npm run lint -- --fix",
"rollup": "rollup -c build/rollup-config.mjs",
"watch": "rollup -w -c build/rollup-config.mjs",
"uglify": "uglifyjs dist/leaflet-src.js -c -m -o dist/leaflet.js --source-map filename=dist/leaflet.js.map --source-map content=dist/leaflet-src.js.map --source-map url=leaflet.js.map --comments",
"bundlemon": "bundlemon --subProject js --defaultCompression none && bundlemon --subProject js-gzip --defaultCompression gzip",
"serve": "cd docs && bundle exec jekyll serve",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git://github.com/Leaflet/Leaflet.git"
},
"keywords": [
"gis",
"map"
],
"license": "BSD-2-Clause",
"lint-staged": {
"*.(js|mjs|md)": "eslint --cache --fix"
}
}