forked from walkermatt/ol-layerswitcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.84 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
{
"name": "ol-layerswitcher",
"version": "3.8.3",
"description": "Layer switcher control for OpenLayers",
"main": "dist/ol-layerswitcher.js",
"module": "dist/ol-layerswitcher.js",
"types": "dist/ol-layerswitcher.d.ts",
"style": "dist/ol-layerswitcher.css",
"files": [
"dist",
"src/ol-layerswitcher.css"
],
"repository": {
"type": "git",
"url": "https://github.com/walkermatt/ol-layerswitcher.git"
},
"author": "Matt Walker (http://longwayaround.org.uk)",
"contributors": [
"Thomas Gratier <[email protected]>",
"Poul Kjeldager Sørensen <[email protected]>",
"Micho García <[email protected]>",
"olivierdalang <[email protected]>",
"Peter Goulborn <[email protected]>"
],
"keywords": [
"openlayers",
"layerswitcher",
"ol"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/walkermatt/ol-layerswitcher/issues"
},
"scripts": {
"watch": "chokidar 'src/**' --initial --command 'WATCH=1 npm run build'",
"doc": "documentation readme src/ol-layerswitcher.ts --quiet=true --access=public --access=undefined --section=API --parse-extension ts && node scripts/external-links.js README.md && prettier --write README.md",
"lint": "eslint src/*.ts examples && prettier --check src examples",
"format": "eslint --fix src/*.ts examples && prettier --write src examples",
"build": "npm run lint && tsc --pretty && npm run doc && rollup --config rollup.config.js && cp src/ol-layerswitcher.css dist/"
},
"peerDependencies": {
"ol": ">=5.0.0"
},
"devDependencies": {
"@types/ol": "^6.4.1",
"@typescript-eslint/eslint-plugin": "^4.6.0",
"@typescript-eslint/parser": "^4.6.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-env": "^1.6.1",
"chokidar-cli": "^1.2.2",
"documentation": "^13.1.0",
"eslint-config-openlayers": "^14.0.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.4",
"expect.js": "~0.3.1",
"jquery": ">=3.0.0",
"mocha": "~1.20.1",
"ol": "^6.1.1",
"prettier": "^2.0.4",
"rollup": "^0.41.4",
"rollup-plugin-babel": "^3.0.3",
"rollup-plugin-commonjs": "^7.0.0",
"rollup-plugin-node-resolve": "^2.0.0",
"typescript": "^4.0.3"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
]
},
"globals": {
"ol": "readonly",
"document": "writable"
}
},
"prettier": {
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "none",
"quoteProps": "consistent",
"bracketSpacing": true
}
}