From d7384d3db0ba94fe92aaf47bb31222b5827c25b2 Mon Sep 17 00:00:00 2001 From: Kong Date: Sun, 2 Jul 2023 11:16:57 +1000 Subject: [PATCH] fix: tsconfig (#35) --- package.json | 4 ++-- tsconfig.json | 14 ++++++++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2c41065..65e122b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "neostyle", - "version": "0.1.8", - "description": "a small tool to write styles for react native", + "version": "0.1.9", + "description": "responsive style for react native", "author": "duguyihou", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/tsconfig.json b/tsconfig.json index 3f61f47..3f53512 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,13 +5,23 @@ "esModuleInterop": true, "isolatedModules": false, "jsx": "react", - "lib": ["ES6","ES2015", "ES2016", "ES2017", "ES2018", "ES2019"], + "lib": [ + "ES6", + "ES2015", + "ES2016", + "ES2017", + "ES2018", + "ES2019", + "ES2020", + "ES2021", + "ES2022" + ], "noUnusedParameters": true, "declaration": true, "noUnusedLocals": true, "moduleResolution": "node", "strict": true, - "target": "ES5", + "target": "ESNext", "skipLibCheck": true, "outDir": "./dist", "baseUrl": "./src",