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",