Files
leafdoc/package.json
2020-04-25 17:23:45 +03:00

63 lines
1.7 KiB
JSON

{
"name": "leafdoc",
"version": "1.5.1",
"description": "A lightweight NaturalDocs-like LeafletJS-style documentation generator",
"main": "dist/leafdoc.cjs.js",
"browser": "dist/leafdoc.browser.js",
"module": "src/leafdoc.js",
"author": "Iván Sánchez Ortega <ivan@sanchezortega.es>",
"license": "GPL-3.0",
"bin": {
"leafdoc": "src/cli.js"
},
"dependencies": {
"handlebars": "^4.0.11",
"marked": "^0.3.12",
"minimist": "^1.2.0",
"unicode-7.0.0": "^0.1.5",
"xregexp": "^2.0.0"
},
"scripts": {
"update-markdown-leafdoc": "src/cli.js -t templates/markdown src/cli.js src/leafdoc.js --verbose -o Leafdoc.md",
"update-html-leafdoc": "src/cli.js -t templates/basic src/leafdoc.js src/cli.js --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/",
"lintfix": "eslint src/ spec/ --fix"
},
"repository": {
"type": "git",
"url": "git://github.com/Leaflet/Leafdoc.git"
},
"devDependencies": {
"eslint": "^4.16.0",
"eslint-config-mourner": "^2.0.3",
"eslint-plugin-jasmine": "^2.9.1",
"jasmine": "^2.9.0",
"rollup": "^0.55.0",
"rollup-plugin-buble": "^0.18.0",
"rollup-plugin-eslint": "^4.0.0"
},
"eslintConfig": {
"extends": "mourner",
"plugins": [
"jasmine"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"indent": [
1,
"tab",
{
"VariableDeclarator": 0,
"flatTernaryExpressions": true
}
]
}
}
}