fix(tests&meta): Make tests work and edit metadata

This commit is contained in:
Alexander Minkin 2023-08-22 15:49:03 +03:00
parent 79e54384f3
commit 8409c44d0d
Signed by: WerySkok
GPG Key ID: 88E9A2F3AFE44C30
3 changed files with 3 additions and 2 deletions

1
.npmrc Normal file
View File

@ -0,0 +1 @@
registry=https://git.fetbuk.ru/api/packages/WerySkok/npm/

View File

@ -2,7 +2,7 @@
"name": "prettier-plugin-askama-template",
"version": "1.0.0",
"description": "prettier-plugin-jinja-template but with patches to work with Askama.",
"author": "David Odenwald",
"author": "Alexander Minkin",
"license": "MIT",
"repository": {
"type": "git",

View File

@ -5,7 +5,7 @@ import * as jinjaPlugin from "../src/index";
const prettify = (code: string, options: Options) =>
format(code, {
parser: "jinja-template",
parser: "askama-template",
plugins: [jinjaPlugin],
...options,
});