2022-02-18 23:01:16 +00:00
|
|
|
{
|
|
|
|
|
"name": "djlint",
|
2022-11-21 07:34:41 +00:00
|
|
|
"version": "1.19.9",
|
2022-02-18 23:01:16 +00:00
|
|
|
"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": [
|
2022-07-06 16:24:45 +00:00
|
|
|
"bin"
|
2022-02-18 23:01:16 +00:00
|
|
|
],
|
|
|
|
|
"bin": {
|
|
|
|
|
"djlint": "./bin/index.js"
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
2022-07-06 16:24:45 +00:00
|
|
|
"format": "prettier --config .prettierrc \"{bin,docs}/**/*.{ts,css,less,scss,js,json,md,yaml,html}\" --write",
|
2022-07-29 15:32:53 +00:00
|
|
|
"postinstall": "python3 -m pip install --upgrade djlint",
|
2022-07-06 16:24:45 +00:00
|
|
|
"pre-commit": "lint-staged",
|
2022-07-28 12:51:03 +00:00
|
|
|
"commit": "git add . && pre-commit run; npm run pre-commit && cz --no-verify",
|
2022-07-06 16:24:45 +00:00
|
|
|
"test": "xo"
|
2022-02-18 23:01:16 +00:00
|
|
|
},
|
|
|
|
|
"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": {
|
2022-07-06 16:24:45 +00:00
|
|
|
"python-shell": "^3.0.1",
|
2022-11-07 07:57:47 +00:00
|
|
|
"yargs": "17.6.2"
|
2022-04-05 16:09:29 +00:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2022-05-02 15:08:19 +00:00
|
|
|
"@semantic-release/changelog": "6.0.1",
|
|
|
|
|
"@semantic-release/commit-analyzer": "9.0.2",
|
|
|
|
|
"@semantic-release/exec": "6.0.3",
|
|
|
|
|
"@semantic-release/git": "10.0.1",
|
2022-08-29 12:16:21 +00:00
|
|
|
"@semantic-release/github": "8.0.6",
|
2022-05-02 15:08:19 +00:00
|
|
|
"@semantic-release/npm": "9.0.1",
|
|
|
|
|
"@semantic-release/release-notes-generator": "10.0.3",
|
2022-04-25 13:53:49 +00:00
|
|
|
"cz-conventional-changelog": "3.3.0",
|
2022-08-01 12:54:21 +00:00
|
|
|
"lint-staged": "13.0.3",
|
2022-08-29 12:16:21 +00:00
|
|
|
"semantic-release": "19.0.5",
|
2022-11-21 07:34:41 +00:00
|
|
|
"xo": "0.53.1"
|
2022-04-05 16:09:29 +00:00
|
|
|
},
|
|
|
|
|
"config": {
|
|
|
|
|
"commitizen": {
|
|
|
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
|
|
|
}
|
2022-07-06 16:24:45 +00:00
|
|
|
},
|
|
|
|
|
"lint-staged": {
|
|
|
|
|
"{bin,docs}/**/*.{ts,css,less,scss,js,json,md,yaml,html}": [
|
|
|
|
|
"npm run format"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"xo": {
|
2022-07-06 18:04:08 +00:00
|
|
|
"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"
|
|
|
|
|
]
|
|
|
|
|
}
|
2022-02-18 23:01:16 +00:00
|
|
|
}
|