119 lines
3.4 KiB
JSON
119 lines
3.4 KiB
JSON
{
|
|
"name": "gdq-archive-frontend",
|
|
"version": "0.1.0",
|
|
"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": {
|
|
"@forevolve/bootstrap-dark": "^1.0.0-alpha.1091",
|
|
"@formatjs/intl-numberformat": "^5.5.4",
|
|
"@formatjs/intl-utils": "^3.8.3",
|
|
"@fortawesome/fontawesome-free": "^5.14.0",
|
|
"@fortawesome/fontawesome-svg-core": "^1.2.30",
|
|
"@fortawesome/free-brands-svg-icons": "^5.14.0",
|
|
"@fortawesome/free-regular-svg-icons": "^5.14.0",
|
|
"@fortawesome/free-solid-svg-icons": "^5.14.0",
|
|
"@fortawesome/react-fontawesome": "^0.1.11",
|
|
"bootstrap": "^4.5.2",
|
|
"cssnano": "^4.1.10",
|
|
"file-loader": "^6.0.0",
|
|
"fuse.js": "^6.4.1",
|
|
"imagemin-optipng": "^8.0.0",
|
|
"imagemin-svgo": "^8.0.0",
|
|
"intl-messageformat": ">= 5.1",
|
|
"intl-messageformat-parser": "^6.0.1",
|
|
"jquery": "~3",
|
|
"native-url": "^0.3.4",
|
|
"next": "9.5.2",
|
|
"next-compose-plugins": "^2.2.0",
|
|
"next-iron-session": "^4.1.8",
|
|
"next-optimized-images": "^2.6.2",
|
|
"nprogress": "^0.2.0",
|
|
"popper.js": "^1.16.1",
|
|
"raw-loader": "^4.0.1",
|
|
"react": "16.13.1",
|
|
"react-bootstrap": "^1.3.0",
|
|
"react-dom": "16.13.1",
|
|
"react-intl": "^5.6.3",
|
|
"react-intl-formatted-duration": "^4.0.0",
|
|
"sass": "^1.26.10",
|
|
"shaka-player": "^3.0.3",
|
|
"shaka-player-react": "^1.0.1",
|
|
"swr": "^0.3.0",
|
|
"url-loader": "^4.1.0",
|
|
"url-slug": "^2.3.2",
|
|
"video.js": "^7.8.4",
|
|
"videojs-contrib-dash": "^2.11.0",
|
|
"videojs-errors": "^4.3.2",
|
|
"webpack": "^4.0.0",
|
|
"xmlbuilder2": "^2.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@formatjs/cli": "^2.7.5",
|
|
"@types/node": "^14.6.0",
|
|
"@types/nprogress": "^0.2.0",
|
|
"@types/react": "^16.9.46",
|
|
"@typescript-eslint/eslint-plugin": "^3.9.1",
|
|
"@typescript-eslint/parser": "^3.9.1",
|
|
"eslint": "^7.7.0",
|
|
"eslint-config-airbnb-typescript": "^9.0.0",
|
|
"eslint-plugin-import": "2.21.2",
|
|
"eslint-plugin-jsx-a11y": "6.3.0",
|
|
"eslint-plugin-react": "7.20.0",
|
|
"eslint-plugin-react-hooks": "4",
|
|
"lint-staged": "^10.2.11",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss-flexbugs-fixes": "^4.2.1",
|
|
"postcss-preset-env": "^6.7.0",
|
|
"typescript": "^4.0.2"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,tsx}": [
|
|
"eslint --fix"
|
|
]
|
|
},
|
|
"eslintConfig": {
|
|
"env": {
|
|
"browser": true,
|
|
"es2020": true
|
|
},
|
|
"extends": [
|
|
"airbnb-typescript"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 11,
|
|
"project": "./tsconfig.json",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"react"
|
|
],
|
|
"rules": {
|
|
"react/prop-types": "off"
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
}
|
|
}
|