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",
|
"name": "prettier-plugin-askama-template",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "prettier-plugin-jinja-template but with patches to work with Askama.",
|
"description": "prettier-plugin-jinja-template but with patches to work with Askama.",
|
||||||
"author": "David Odenwald",
|
"author": "Alexander Minkin",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -5,7 +5,7 @@ import * as jinjaPlugin from "../src/index";
|
||||||
|
|
||||||
const prettify = (code: string, options: Options) =>
|
const prettify = (code: string, options: Options) =>
|
||||||
format(code, {
|
format(code, {
|
||||||
parser: "jinja-template",
|
parser: "askama-template",
|
||||||
plugins: [jinjaPlugin],
|
plugins: [jinjaPlugin],
|
||||||
...options,
|
...options,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue