From 0efb5b172eb558459bdcc7a52d933cb6dd3da373 Mon Sep 17 00:00:00 2001 From: Aramis Subee Date: Thu, 10 Oct 2024 10:04:05 -0700 Subject: [PATCH] docs: add json key to TypeScript plop script --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 70410c0..59cdd98 100644 --- a/README.md +++ b/README.md @@ -156,7 +156,7 @@ Finally, use `NODE_OPTIONS` to activate the tsx loader. Now Plop can import your ```json // package.json "scripts": { - "cross-env NODE_OPTIONS='--import tsx' plop --plopfile=plopfile.ts" + "plop" : "cross-env NODE_OPTIONS='--import tsx' plop --plopfile=plopfile.ts" } ``` @@ -165,7 +165,7 @@ Finally, use `NODE_OPTIONS` to activate the tsx loader. Now Plop can import your ```json // package.json "scripts": { - "cross-env NODE_OPTIONS='--loader tsx' plop --plopfile=plopfile.ts" + "plop": "cross-env NODE_OPTIONS='--loader tsx' plop --plopfile=plopfile.ts" } ```