1 | {
|
2 | "name": "leaflet",
|
3 | "version": "1.6.0",
|
4 | "homepage": "https://leafletjs.com/",
|
5 | "description": "JavaScript library for mobile-friendly interactive maps",
|
6 | "devDependencies": {
|
7 | "eslint": "^4.19.1",
|
8 | "eslint-config-mourner": "^2.0.1",
|
9 | "git-rev-sync": "^1.12.0",
|
10 | "happen": "~0.3.2",
|
11 | "karma": "^4.1.0",
|
12 | "karma-chrome-launcher": "^2.2.0",
|
13 | "karma-expect": "^1.1.3",
|
14 | "karma-firefox-launcher": "~1.1.0",
|
15 | "karma-mocha": "^1.3.0",
|
16 | "karma-phantomjs-launcher": "^1.0.4",
|
17 | "karma-rollup-preprocessor": "^5.0.1",
|
18 | "karma-safari-launcher": "~1.0.0",
|
19 | "karma-sinon": "^1.0.5",
|
20 | "leafdoc": "^1.4.1",
|
21 | "mocha": "^6.1.4",
|
22 | "phantomjs-prebuilt": "^2.1.16",
|
23 | "prosthetic-hand": "^1.3.1",
|
24 | "rollup": "0.51.8",
|
25 | "rollup-plugin-git-version": "0.2.1",
|
26 | "rollup-plugin-json": "^4.0.0",
|
27 | "sinon": "^7.3.2",
|
28 | "ssri": "^6.0.1",
|
29 | "uglify-js": "~3.5.10"
|
30 | },
|
31 | "main": "dist/leaflet-src.js",
|
32 | "style": "dist/leaflet.css",
|
33 | "files": [
|
34 | "dist",
|
35 | "src",
|
36 | "!dist/leaflet.zip"
|
37 | ],
|
38 | "scripts": {
|
39 | "docs": "node ./build/docs.js",
|
40 | "pretest": "npm run lint",
|
41 | "test": "npm run test-nolint",
|
42 | "test-nolint": "karma start ./spec/karma.conf.js",
|
43 | "build": "npm run rollup && npm run uglify",
|
44 | "release": "./build/publish.sh",
|
45 | "lint": "eslint src spec/suites docs/docs/js",
|
46 | "lintfix": "npm run lint -- --fix",
|
47 | "rollup": "rollup -c build/rollup-config.js",
|
48 | "watch": "rollup -w -c build/rollup-watch-config.js",
|
49 | "uglify": "uglifyjs dist/leaflet-src.js -c -m -o dist/leaflet.js --source-map filename=dist/leaflet.js.map --in-source-map dist/leaflet-src.js.map --source-map-url leaflet.js.map --comments",
|
50 | "integrity": "node ./build/integrity.js"
|
51 | },
|
52 | "eslintConfig": {
|
53 | "root": true,
|
54 | "globals": {
|
55 | "L": true
|
56 | },
|
57 | "env": {
|
58 | "commonjs": true,
|
59 | "amd": true,
|
60 | "node": false
|
61 | },
|
62 | "extends": "mourner",
|
63 | "parserOptions": {
|
64 | "ecmaVersion": 6,
|
65 | "sourceType": "module"
|
66 | },
|
67 | "rules": {
|
68 | "linebreak-style": [
|
69 | 0,
|
70 | "unix"
|
71 | ],
|
72 | "no-mixed-spaces-and-tabs": [
|
73 | 2,
|
74 | "smart-tabs"
|
75 | ],
|
76 | "indent": [
|
77 | 2,
|
78 | "tab",
|
79 | {
|
80 | "VariableDeclarator": 0,
|
81 | "flatTernaryExpressions": true
|
82 | }
|
83 | ],
|
84 | "curly": 2,
|
85 | "spaced-comment": 2,
|
86 | "strict": 0,
|
87 | "wrap-iife": 0,
|
88 | "key-spacing": 0,
|
89 | "consistent-return": 0
|
90 | }
|
91 | },
|
92 | "repository": {
|
93 | "type": "git",
|
94 | "url": "git://github.com/Leaflet/Leaflet.git"
|
95 | },
|
96 | "keywords": [
|
97 | "gis",
|
98 | "map"
|
99 | ],
|
100 | "license": "BSD-2-Clause"
|
101 | }
|