forked from Leaflet/Leaflet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 2.68 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "leaflet",
"version": "1.6.0",
"homepage": "https://leafletjs.com/",
"description": "JavaScript library for mobile-friendly interactive maps",
"devDependencies": {
"eslint": "^4.19.1",
"eslint-config-mourner": "^2.0.1",
"git-rev-sync": "^1.12.0",
"happen": "~0.3.2",
"karma": "^4.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-expect": "^1.1.3",
"karma-firefox-launcher": "~1.1.0",
"karma-mocha": "^1.3.0",
"karma-phantomjs-launcher": "^1.0.4",
"karma-rollup-preprocessor": "^5.0.1",
"karma-safari-launcher": "~1.0.0",
"karma-sinon": "^1.0.5",
"leafdoc": "^1.4.1",
"mocha": "^6.1.4",
"phantomjs-prebuilt": "^2.1.16",
"prosthetic-hand": "^1.3.1",
"rollup": "0.51.8",
"rollup-plugin-git-version": "0.2.1",
"rollup-plugin-json": "^4.0.0",
"sinon": "^7.3.2",
"ssri": "^6.0.1",
"uglify-js": "~3.5.10"
},
"main": "dist/leaflet-src.js",
"style": "dist/leaflet.css",
"files": [
"dist",
"src",
"!dist/leaflet.zip"
],
"scripts": {
"docs": "node ./build/docs.js",
"pretest": "npm run lint",
"test": "npm run test-nolint",
"test-nolint": "karma start ./spec/karma.conf.js",
"build": "npm run rollup && npm run uglify",
"release": "./build/publish.sh",
"lint": "eslint src spec/suites docs/docs/js",
"lintfix": "npm run lint -- --fix",
"rollup": "rollup -c build/rollup-config.js",
"watch": "rollup -w -c build/rollup-watch-config.js",
"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",
"integrity": "node ./build/integrity.js"
},
"eslintConfig": {
"root": true,
"globals": {
"L": true
},
"env": {
"commonjs": true,
"amd": true,
"node": false
},
"extends": "mourner",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"linebreak-style": [
0,
"unix"
],
"no-mixed-spaces-and-tabs": [
2,
"smart-tabs"
],
"indent": [
2,
"tab",
{
"VariableDeclarator": 0,
"flatTernaryExpressions": true
}
],
"curly": 2,
"spaced-comment": 2,
"strict": 0,
"wrap-iife": 0,
"key-spacing": 0,
"consistent-return": 0,
"no-unused-expressions": [
"error",
{
"allowShortCircuit": true
}
]
}
},
"repository": {
"type": "git",
"url": "git://github.com/Leaflet/Leaflet.git"
},
"keywords": [
"gis",
"map"
],
"license": "BSD-2-Clause"
}