owncast/web/package.json
Jannik be5243f5f8 Update Next to 11.0.1 (including lint & import fixes) (#248)
* Bump next from 10.2.3 to 11.0.1

Bumps [next](https://github.com/vercel/next.js) from 10.2.3 to 11.0.1.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v10.2.3...v11.0.1)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* 🚨 apply automatic linting

* 🎨 remove unused imports

* 🔇 allow console.* to give more debugging options

* 🎨 move stuff around to reduce linter messages

* 🚨 use destructuring so lint won't complain

* 📌 link Chartkick and Chart.js

Commit uses the linking code which was previously imported with
`import "chartkick/chart.js" [1]. Next did not like the import path,
but this does works now. ¯\_(ツ)_/¯

[1]: https://github.com/ankane/chartkick.js/blob/master/chart.js/chart.esm.js

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-09 11:42:01 -07:00

53 lines
1.5 KiB
JSON

{
"name": "owncast-admin",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build && next export",
"start": "next start",
"lint": "eslint --ext .js,.ts,.tsx types/ pages/ components/"
},
"dependencies": {
"@ant-design/icons": "^4.6.2",
"antd": "^4.16.6",
"chart.js": "^3.4.1",
"chartkick": "^4.0.5",
"classnames": "^2.3.1",
"date-fns": "^2.22.1",
"markdown-it": "^12.1.0",
"next": "^11.0.1",
"prop-types": "^15.7.2",
"rc-util": "^5.13.2",
"react": "^17.0.2",
"react-chartkick": "^0.5.0",
"react-dom": "^17.0.2",
"react-linkify": "^1.0.0-alpha",
"react-markdown": "^6.0.2",
"react-markdown-editor-lite": "^1.3.0",
"sass": "^1.35.2"
},
"devDependencies": {
"@types/chart.js": "^2.9.32",
"@types/classnames": "^2.3.1",
"@types/markdown-it": "^12.0.2",
"@types/node": "^16.0.0",
"@types/prop-types": "^15.7.3",
"@types/react": "^17.0.11",
"@types/react-linkify": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"eslint": "^7.30.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-next": "^11.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"prettier": "^2.3.2",
"typescript": "^4.3.4"
}
}