-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
64 lines (64 loc) · 1.82 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
{
"name": "leafdoc",
"version": "2.3.0",
"description": "A lightweight NaturalDocs-like LeafletJS-style documentation generator",
"main": "dist/leafdoc.cjs.js",
"browser": "dist/leafdoc.browser.js",
"module": "src/leafdoc.mjs",
"author": "Iván Sánchez Ortega <[email protected]>",
"license": "GPL-3.0",
"bin": {
"leafdoc": "src/cli.mjs"
},
"dependencies": {
"handlebars": "^4.7.6",
"markdown-it": "^11.0.0",
"minimist": "^1.2.5",
"multilang-extract-comments": "^0.3.3",
"regenerate-unicode-properties": "^8.2.0",
"xregexp": "^4.3.0"
},
"scripts": {
"update-markdown-leafdoc": "src/cli.mjs -t templates/markdown src/cli.mjs src/leafdoc.mjs --verbose -o Leafdoc.md",
"update-html-leafdoc": "src/cli.mjs -t templates/basic src/leafdoc.mjs src/cli.mjs --verbose -o Leafdoc.html",
"prepublish": "npm run update-markdown-leafdoc && npm run update-html-leafdoc",
"rollup": "rollup -c rollup.config.js",
"test": "rollup -c rollup.config.js; jasmine",
"lint": "eslint src/ spec/*.js --ext=.js,.mjs",
"lintfix": "eslint src/ spec/*.js --fix --ext=.js,.mjs"
},
"repository": {
"type": "git",
"url": "git://github.com/Leaflet/Leafdoc.git"
},
"devDependencies": {
"@rollup/plugin-buble": "^0.21.3",
"eslint": "^7.4.0",
"eslint-config-mourner": "^3.0.0",
"eslint-plugin-jasmine": "^4.1.1",
"jasmine": "^3.5.0",
"rollup": "^2.20.0",
"rollup-plugin-eslint": "^7.0.0"
},
"eslintConfig": {
"extends": "mourner",
"plugins": [
"jasmine"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"prefer-arrow-callback": 0,
"indent": [
1,
"tab",
{
"VariableDeclarator": 0,
"flatTernaryExpressions": true
}
]
}
}
}