djLint/package.json
Christopher Pickering b6b5410d19
chore(npm): improved npm install process to work on more systems
Removed the node install script and just install directly with a node-script.
2022-07-29 09:55:33 -05:00

99 lines
2.5 KiB
JSON

{
"name": "djlint",
"version": "1.7.2",
"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.4.0"
},
"devDependencies": {
"@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",
"@semantic-release/github": "8.0.4",
"@semantic-release/npm": "9.0.1",
"@semantic-release/release-notes-generator": "10.0.3",
"cz-conventional-changelog": "3.3.0",
"lint-staged": "^13.0.3",
"semantic-release": "19.0.3",
"xo": "^0.50.0"
},
"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"
]
}
}