mirror of
https://github.com/Hopiu/djLint.git
synced 2026-03-16 21:40:24 +00:00
99 lines
2.5 KiB
JSON
99 lines
2.5 KiB
JSON
{
|
|
"name": "djlint",
|
|
"version": "1.19.12",
|
|
"description": "HTML Template Linter and Formatter",
|
|
"main": "./bin/index.js",
|
|
"directories": {
|
|
"doc": "docs",
|
|
"test": "tests"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/Riverside-Healthcare/djLint.git"
|
|
},
|
|
"keywords": [
|
|
"html template linter",
|
|
"html template formatter",
|
|
"jinja template linter",
|
|
"jinja template formatter",
|
|
"nunjucks template linter",
|
|
"nunjucks template formatter",
|
|
"twig template linter",
|
|
"twig template formatter",
|
|
"handlebars template linter",
|
|
"handlebars template formatter",
|
|
"mustache template linter",
|
|
"mustache template formatter",
|
|
"golang template linter",
|
|
"golang template formatter",
|
|
"angular template linter",
|
|
"angular template formatter"
|
|
],
|
|
"files": [
|
|
"bin"
|
|
],
|
|
"bin": {
|
|
"djlint": "./bin/index.js"
|
|
},
|
|
"scripts": {
|
|
"format": "prettier --config .prettierrc \"{bin,docs}/**/*.{ts,css,less,scss,js,json,md,yaml,html}\" --write",
|
|
"postinstall": "python3 -m pip install --upgrade djlint",
|
|
"pre-commit": "lint-staged",
|
|
"commit": "git add . && pre-commit run; npm run pre-commit && cz --no-verify",
|
|
"test": "xo"
|
|
},
|
|
"author": {
|
|
"name": "Christopher Pickering",
|
|
"url": "https://going.bg"
|
|
},
|
|
"license": "GPL-3.0-or-later",
|
|
"bugs": {
|
|
"url": "https://github.com/Riverside-Healthcare/djLint/issues"
|
|
},
|
|
"homepage": "https://djlint.com",
|
|
"dependencies": {
|
|
"python-shell": "^3.0.1",
|
|
"yargs": "17.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@semantic-release/changelog": "6.0.2",
|
|
"@semantic-release/commit-analyzer": "9.0.2",
|
|
"@semantic-release/exec": "6.0.3",
|
|
"@semantic-release/git": "10.0.1",
|
|
"@semantic-release/github": "8.0.7",
|
|
"@semantic-release/npm": "9.0.1",
|
|
"@semantic-release/release-notes-generator": "10.0.3",
|
|
"cz-conventional-changelog": "3.3.0",
|
|
"lint-staged": "13.1.0",
|
|
"semantic-release": "19.0.5",
|
|
"xo": "0.53.1"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"{bin,docs}/**/*.{ts,css,less,scss,js,json,md,yaml,html}": [
|
|
"npm run format"
|
|
]
|
|
},
|
|
"xo": {
|
|
"space": true,
|
|
"prettier": true,
|
|
"rules": {
|
|
"unicorn/prefer-module": "off",
|
|
"no-var": "warn",
|
|
"camelcase": "warn",
|
|
"unicorn/filename-case": "warn",
|
|
"unicorn/no-process-exit": "off"
|
|
},
|
|
"globals": [
|
|
"document",
|
|
"window",
|
|
"data",
|
|
"debounce",
|
|
"history"
|
|
]
|
|
}
|
|
}
|