diff options
author | Sebastian <sebasjm@gmail.com> | 2022-10-26 14:45:54 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-10-26 14:45:54 -0300 |
commit | 5c4da55c4ab00182484e7e31cba763a6946e2ffc (patch) | |
tree | a1e01e533a899e5f2f810bdd2650b51adb5d1c19 /packages/demobank-ui | |
parent | c747ae60360db48482265db1a7e836410a632ce8 (diff) |
removing react from runtime, using same version for shared deps
Diffstat (limited to 'packages/demobank-ui')
-rw-r--r-- | packages/demobank-ui/package.json | 53 |
1 files changed, 5 insertions, 48 deletions
diff --git a/packages/demobank-ui/package.json b/packages/demobank-ui/package.json index 831ec3978..0f0c6f8e1 100644 --- a/packages/demobank-ui/package.json +++ b/packages/demobank-ui/package.json @@ -9,57 +9,14 @@ "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'", "pretty": "prettier --write src" }, - "eslintConfig": { - "parser": "@typescript-eslint/parser", - "extends": [ - "preact", - "plugin:@typescript-eslint/recommended" - ], - "ignorePatterns": [ - "build/" - ], - "rules": { - "@typescript-eslint/no-explicit-any": [ - 0 - ], - "@typescript-eslint/ban-ts-comment": [ - 1 - ], - "quotes": [ - 2, - "single", - { - "allowTemplateLiterals": true, - "avoidEscape": false - } - ], - "indent": [ - 2, - 2 - ], - "prefer-arrow-callback": [ - 2, - { - "allowNamedFunctions": false, - "allowUnboundThis": true - } - ], - "curly": [ - 2, - "multi" - ], - "prefer-template": [ - 1 - ] - } - }, "dependencies": { "date-fns": "2.29.3", "jed": "1.1.1", - "preact-render-to-string": "^5.2.6", - "preact-router": "^4.1.0", + "preact": "10.6.5", + "preact-router": "3.2.1", "qrcode-generator": "^1.4.4", - "swr": "~1.3.0" + "react": "npm:@preact/compat@^17.1.2", + "swr": "1.3.0" }, "devDependencies": { "@creativebulma/bulma-tooltip": "^1.2.0", @@ -74,7 +31,7 @@ "eslint": "^8.26.0", "eslint-config-preact": "^1.2.0", "po2json": "^0.4.5", - "preact": "10.11.2", + "sass": "1.32.13", "typescript": "^4.4.4" } } |