fix(tests&meta): ✅ Make tests work and edit metadata
This commit is contained in:
parent
79e54384f3
commit
8409c44d0d
3 changed files with 3 additions and 2 deletions
1
.npmrc
Normal file
1
.npmrc
Normal file
|
@ -0,0 +1 @@
|
|||
registry=https://git.fetbuk.ru/api/packages/WerySkok/npm/
|
|
@ -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",
|
||||
|
|
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue