UNPKG

2.74 kBJSONView Raw
1{
2 "name": "leaflet",
3 "version": "1.3.4",
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 "karma": "^1.3.0",
11 "karma-chrome-launcher": "^2.0.0",
12 "karma-coverage": "~1.1.1",
13 "karma-expect": "^1.1.3",
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 "karma-sinon": "^1.0.5",
20 "leafdoc": "^1.4.1",
21 "mocha": "^3.1.0",
22 "phantomjs-prebuilt": "^2.1.12",
23 "prosthetic-hand": "^1.3.1",
24 "rollup": "^0.51.8",
25 "rollup-plugin-git-version": "0.2.1",
26 "rollup-plugin-json": "^2.1.0",
27 "rollup-watch": "^4.3.1",
28 "sinon": "^1.6.0",
29 "source-map": "^0.5.6",
30 "ssri": "^5.2.2",
31 "uglify-js": "~3.0.26"
32 },
33 "main": "dist/leaflet-src.js",
34 "style": "dist/leaflet.css",
35 "files": [
36 "dist",
37 "src",
38 "!dist/leaflet.zip"
39 ],
40 "scripts": {
41 "docs": "node ./build/docs.js",
42 "pretest": "npm run lint && npm run lint-spec",
43 "test": "npm run test-nolint",
44 "test-nolint": "karma start ./spec/karma.conf.js",
45 "build": "npm run rollup && npm run uglify",
46 "release": "./build/publish.sh",
47 "lint": "eslint src",
48 "lint-spec": "eslint spec/suites",
49 "lintfix": "eslint src --fix; eslint spec/suites --fix;",
50 "rollup": "rollup -c build/rollup-config.js",
51 "watch": "rollup -w -c build/rollup-watch-config.js",
52 "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",
53 "integrity": "node ./build/integrity.js"
54 },
55 "eslintConfig": {
56 "root": true,
57 "globals": {
58 "L": true
59 },
60 "env": {
61 "commonjs": true,
62 "amd": true,
63 "node": false
64 },
65 "extends": "mourner",
66 "parserOptions": {
67 "ecmaVersion": 6,
68 "sourceType": "module"
69 },
70 "rules": {
71 "linebreak-style": [
72 0,
73 "unix"
74 ],
75 "no-mixed-spaces-and-tabs": [
76 2,
77 "smart-tabs"
78 ],
79 "indent": [
80 2,
81 "tab",
82 {
83 "VariableDeclarator": 0,
84 "flatTernaryExpressions": true
85 }
86 ],
87 "curly": 2,
88 "spaced-comment": 2,
89 "strict": 0,
90 "wrap-iife": 0,
91 "key-spacing": 0,
92 "consistent-return": 0
93 }
94 },
95 "repository": {
96 "type": "git",
97 "url": "git://github.com/Leaflet/Leaflet.git"
98 },
99 "keywords": [
100 "gis",
101 "map"
102 ],
103 "license": "BSD-2-Clause"
104}