2020-08-22 20:25:57 +00:00
|
|
|
{
|
|
|
|
"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": {
|
2023-01-08 10:07:44 +00:00
|
|
|
"@formatjs/intl-numberformat": "^7.1.5",
|
|
|
|
"@formatjs/intl-utils": "^3.8.4",
|
2023-01-09 01:35:54 +00:00
|
|
|
"@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",
|
2023-01-08 10:07:44 +00:00
|
|
|
"@popperjs/core": "^2.9.2",
|
|
|
|
"bootstrap": "5.1.x",
|
|
|
|
"bootstrap-dark-5": "1.1.0",
|
|
|
|
"cssnano": "^5.0.6",
|
2023-01-09 01:35:54 +00:00
|
|
|
"eslint-config-next": "^13.1.1",
|
2023-01-08 10:07:44 +00:00
|
|
|
"fuse.js": "^6.4.6",
|
|
|
|
"imagemin-svgo": "^9.0.0",
|
|
|
|
"intl-messageformat": ">= 2.0",
|
2023-01-09 01:35:54 +00:00
|
|
|
"next": "^13.1.1",
|
2023-01-08 10:07:44 +00:00
|
|
|
"next-compose-plugins": "^2.2.1",
|
|
|
|
"next-iron-session": "^4.2.0",
|
2020-08-22 20:25:57 +00:00
|
|
|
"nprogress": "^0.2.0",
|
|
|
|
"popper.js": "^1.16.1",
|
2023-01-09 01:35:54 +00:00
|
|
|
"react": "^18.2.0",
|
2023-01-08 10:07:44 +00:00
|
|
|
"react-bootstrap": "^2.4.0",
|
2023-01-09 01:35:54 +00:00
|
|
|
"react-dom": "^18.2.0",
|
2023-01-08 10:07:44 +00:00
|
|
|
"react-intl": "^5.20.4",
|
2020-08-22 20:25:57 +00:00
|
|
|
"react-intl-formatted-duration": "^4.0.0",
|
2023-01-08 10:07:44 +00:00
|
|
|
"react-youtube": "^9.0.2",
|
|
|
|
"sass": "^1.53.0",
|
|
|
|
"shaka-player": "^3.1.1",
|
2023-01-09 01:35:54 +00:00
|
|
|
"shaka-player-react": "^1.1.5",
|
|
|
|
"swr": "^2.0.0",
|
2023-01-08 10:07:44 +00:00
|
|
|
"url-slug": "^3.0.2",
|
2023-01-09 01:35:54 +00:00
|
|
|
"util-deprecate": "^1.0.2",
|
2023-01-08 10:07:44 +00:00
|
|
|
"video.js": "^7.13.3",
|
|
|
|
"videojs-contrib-dash": "^5.0.0",
|
|
|
|
"videojs-errors": "^4.5.0",
|
|
|
|
"xmlbuilder2": "^2.4.1"
|
2020-08-22 20:25:57 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-01-08 10:07:44 +00:00
|
|
|
"@formatjs/cli": "^4.2.27",
|
|
|
|
"@types/node": "^16.3.1",
|
2020-08-22 20:25:57 +00:00
|
|
|
"@types/nprogress": "^0.2.0",
|
2023-01-08 10:07:44 +00:00
|
|
|
"@types/react": "^17.0.14",
|
2023-01-09 01:35:54 +00:00
|
|
|
"@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",
|
2023-01-08 10:07:44 +00:00
|
|
|
"lint-staged": "^11.0.0",
|
2020-08-22 20:25:57 +00:00
|
|
|
"npm-run-all": "^4.1.5",
|
2023-01-08 10:07:44 +00:00
|
|
|
"postcss": "^8.2.15",
|
|
|
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
|
|
"postcss-preset-env": "^7.2.0",
|
|
|
|
"typescript": "^4.3.5"
|
2020-08-22 20:25:57 +00:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
|
|
|
"*.{js,ts,tsx}": [
|
|
|
|
"eslint --fix"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es2020": true
|
|
|
|
},
|
|
|
|
"extends": [
|
2023-01-09 01:35:54 +00:00
|
|
|
"airbnb",
|
2020-08-22 20:25:57 +00:00
|
|
|
"airbnb-typescript"
|
|
|
|
],
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
},
|
|
|
|
"ecmaVersion": 11,
|
|
|
|
"project": "./tsconfig.json",
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"react"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"react/prop-types": "off"
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|