From 254e697ef010332f0e8d244133c053877855079e Mon Sep 17 00:00:00 2001 From: Martin Guillon Date: Tue, 19 Jul 2022 17:12:43 +0200 Subject: [PATCH] chore:project --- .prettierrc.js | 7 +++++++ config.json | 10 ++++++++++ package.json | 5 +++++ 3 files changed, 22 insertions(+) create mode 100644 .prettierrc.js create mode 100644 config.json diff --git a/.prettierrc.js b/.prettierrc.js new file mode 100644 index 00000000..258971a0 --- /dev/null +++ b/.prettierrc.js @@ -0,0 +1,7 @@ +module.exports = { + printWidth: 200, + semi: true, + tabWidth: 4, + trailingComma: 'none', + singleQuote: true +}; diff --git a/config.json b/config.json new file mode 100644 index 00000000..b3aee77b --- /dev/null +++ b/config.json @@ -0,0 +1,10 @@ +{ + "readme": true, + "angular": true, + "demos": [ + "ng", + "vue", + "svelte", + "react" + ] +} \ No newline at end of file diff --git a/package.json b/package.json index bff517e1..8dc3a978 100644 --- a/package.json +++ b/package.json @@ -83,5 +83,10 @@ "@nativescript-community/plugin-seed-tools": { "injected": true } + }, + "engines": { + "npm": "please-use-yarn-or-pnpm", + "yarn": ">= 1.19.1", + "pnpm": ">= 7.0.0" } }