gdq-archive/frontend/package.json

117 lines
3.3 KiB
JSON

{
"name": "gdq-archive-frontend",
"private": true,
"scripts": {
"dev": "run-s i18n:build dev:next",
"dev:next": "next dev",
"build": "run-s i18n:build build:next",
"build:next": "next build",
"start": "next start",
"i18n:extract": "formatjs extract \"{public,components,pages}/**/*.{js,jsx,ts,tsx}\" --out-file .\\lang\\en.json --id-interpolation-pattern \"[sha512:contenthash:base64:6]\"",
"i18n:build:en": "formatjs compile lang/en.json --ast --out-file compiled-lang/en.json",
"i18n:build:de": "formatjs compile lang/de.json --ast --out-file compiled-lang/de.json",
"i18n:build": "run-p i18n:build:*",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
},
"dependencies": {
"@formatjs/intl-numberformat": "^7.1.5",
"@formatjs/intl-utils": "^3.8.4",
"@fortawesome/fontawesome-free": "^6.2.1",
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-brands-svg-icons": "^6.2.1",
"@fortawesome/free-regular-svg-icons": "^6.2.1",
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@popperjs/core": "^2.9.2",
"bootstrap": "5.1.x",
"bootstrap-dark-5": "1.1.0",
"cssnano": "^5.0.6",
"eslint-config-next": "^13.1.1",
"fuse.js": "^6.4.6",
"imagemin-svgo": "^9.0.0",
"intl-messageformat": ">= 2.0",
"next": "^13.1.1",
"next-compose-plugins": "^2.2.1",
"next-iron-session": "^4.2.0",
"nprogress": "^0.2.0",
"popper.js": "^1.16.1",
"react": "^18.2.0",
"react-bootstrap": "^2.4.0",
"react-dom": "^18.2.0",
"react-intl": "^5.20.4",
"react-intl-formatted-duration": "^4.0.0",
"react-youtube": "^9.0.2",
"sass": "^1.53.0",
"shaka-player": "^3.1.1",
"shaka-player-react": "^1.1.5",
"swr": "^2.0.0",
"url-slug": "^3.0.2",
"util-deprecate": "^1.0.2",
"video.js": "^7.13.3",
"videojs-contrib-dash": "^5.0.0",
"videojs-errors": "^4.5.0",
"xmlbuilder2": "^2.4.1"
},
"devDependencies": {
"@formatjs/cli": "^4.2.27",
"@types/node": "^16.3.1",
"@types/nprogress": "^0.2.0",
"@types/react": "^17.0.14",
"@types/util-deprecate": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint": "^7.32.0 || ^8.2.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"lint-staged": "^11.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.2.15",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-preset-env": "^7.2.0",
"typescript": "^4.3.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
]
},
"eslintConfig": {
"env": {
"browser": true,
"es2020": true
},
"extends": [
"airbnb",
"airbnb-typescript"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 11,
"project": "./tsconfig.json",
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"react/prop-types": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
}
}