forked from Leaflet/Leaflet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
73 lines (73 loc) · 2.36 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
{
"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.0.1",
"bundlemon": "^2.0.2",
"eslint": "^8.54.0",
"eslint-config-mourner": "^3.0.0",
"eslint-plugin-import": "^2.29.0",
"http-server": "^14.1.1",
"husky": "^8.0.3",
"karma": "^6.4.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "^2.2.1",
"karma-firefox-launcher": "^2.1.2",
"karma-mocha": "^2.0.1",
"karma-safarinative-launcher": "^1.1.0",
"karma-sinon": "^1.0.5",
"karma-time-stats-reporter": "^0.1.0",
"leafdoc": "^2.3.0",
"lint-staged": "^15.1.0",
"mocha": "^10.2.0",
"prosthetic-hand": "^2.0.0",
"rollup": "^4.8.0",
"rollup-plugin-git-version": "^0.3.1",
"simple-git": "^3.21.0",
"sinon": "^17.0.1",
"ssri": "^10.0.5",
"uglify-js": "^3.17.4",
"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 . --ext js,mjs,cjs",
"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 install"
},
"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"
}
}