2
0

👷 Transpile components for better DX

This commit is contained in:
Baptiste Arnaud
2022-09-18 09:46:42 +02:00
committed by Baptiste Arnaud
parent 898367a33b
commit c1dd4d403e
147 changed files with 343 additions and 485 deletions

View File

@ -7,7 +7,7 @@
"types": "dist/index.d.ts",
"scripts": {
"build": "pnpm rollup -c",
"dx": "pnpm rollup -c --watch",
"dev": "pnpm rollup -c --watch",
"lint": "eslint --fix -c ./.eslintrc.js \"./src/**/*.ts*\""
},
"dependencies": {
@ -26,6 +26,7 @@
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^14.0.1",
"@rollup/plugin-typescript": "8.5.0",
"@types/node": "18.7.16",
"@types/qs": "^6.9.7",
"@types/react": "18.0.19",
"@types/react-phone-number-input": "^3.0.14",

View File

@ -1,6 +1,6 @@
{
"compilerOptions": {
"lib": ["ES2015", "DOM"],
"lib": ["ES2017", "DOM"],
"target": "es5",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,