UNPKG

2.6 kBJSONView Raw
1{
2 "name": "leaflet",
3 "version": "1.3.1",
4 "description": "JavaScript library for mobile-friendly interactive maps",
5 "devDependencies": {
6 "eslint": "^4.5.0",
7 "eslint-config-mourner": "^2.0.1",
8 "git-rev-sync": "^1.8.0",
9 "happen": "~0.3.2",
10 "jake": "~8.0.12",
11 "karma": "^1.3.0",
12 "karma-chrome-launcher": "^2.0.0",
13 "karma-coverage": "~1.1.1",
14 "karma-firefox-launcher": "~1.0.0",
15 "karma-mocha": "^1.2.0",
16 "karma-phantomjs-launcher": "^1.0.2",
17 "karma-rollup-preprocessor": "^5.0.1",
18 "karma-safari-launcher": "~1.0.0",
19 "leafdoc": "^1.4.1",
20 "mocha": "^3.1.0",
21 "phantomjs-prebuilt": "^2.1.12",
22 "prosthetic-hand": "^1.3.1",
23 "rollup": "^0.51.8",
24 "rollup-plugin-git-version": "0.2.1",
25 "rollup-plugin-json": "^2.1.0",
26 "rollup-watch": "^4.3.1",
27 "source-map": "^0.5.6",
28 "ssri": "^4.1.2",
29 "uglify-js": "~3.0.26"
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": "jake docs",
40 "test-jake": "jake test",
41 "test": "jake test",
42 "build-jake": "jake build",
43 "build": "npm run rollup && npm run uglify",
44 "release": "./build/publish.sh",
45 "lint": "eslint src; eslint spec/suites",
46 "lintfix": "eslint src --fix; eslint spec/suites --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": "nodejs ./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}