0e98ea0b32
i18n support for event, post and job ads See merge request sahkoinsinoorikilta/vtmk/web2.0-frontend!51 (cherry picked from commit9e7fe73c04)39104f70install localisation library7ce9f384translate event page contents9bec3f1etranslate calendarsfeaaa981translate feed page1f7d842bfix news button translationac0d33effix e2e tests4eeb798dadd getStaticProps to use static optimization
90 lines
2.9 KiB
JSON
90 lines
2.9 KiB
JSON
{
|
|
"name": "web2.0-frontend",
|
|
"version": "0.1.0",
|
|
"description": "Web 2.0 Frontend. React, Typescript.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gitlab.com/sahkoinsinoorikilta/vtmk/web2.0-frontend.git"
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"next.js",
|
|
"typescript",
|
|
"styled-components"
|
|
],
|
|
"author": "Aarni Halinen",
|
|
"license": "MIT",
|
|
"homepage": "https://sahkoinsinoorikilta.fi",
|
|
"scripts": {
|
|
"build": "next build",
|
|
"postbuild": "next-sitemap",
|
|
"export": "next export",
|
|
"lint": "npm run lint:es && npm run lint:css",
|
|
"lint:es": "eslint . --ext .ts,.tsx",
|
|
"lint:es:fix": "eslint --fix . --ext .ts,.tsx",
|
|
"lint:css": "stylelint \"./src/**/*.{ts,tsx}\"",
|
|
"dev": "next dev",
|
|
"start": "next dev",
|
|
"start-prod": "next start --port ${SERVER_PORT:=80}",
|
|
"serve": "next start --port 3000",
|
|
"test": "npm run test:e2e:verbose",
|
|
"test:e2e": "testcafe --list-browsers && npm-run-all -p -r serve testcafe",
|
|
"test:e2e:verbose": "npm-run-all -p -r serve testcafe:verbose",
|
|
"testcafe": "testcafe --skip-js-errors -S -s 'e2e-screenshots' --app-init-delay 2000 chrome:headless tests/testcafe",
|
|
"testcafe:verbose": "testcafe --skip-js-errors -S -s 'e2e-screenshots' --app-init-delay 2000 chrome tests/testcafe",
|
|
"build-analyze": "ANALYZE=true npm run build",
|
|
"prepare": "husky install"
|
|
},
|
|
"devDependencies": {
|
|
"@types/js-cookie": "2.2.6",
|
|
"@types/react": "17.0.2",
|
|
"@types/react-beautiful-dnd": "13.0.0",
|
|
"@types/react-csv": "1.1.1",
|
|
"@types/react-dom": "17.0.1",
|
|
"@types/react-jsonschema-form": "1.7.4",
|
|
"@types/shortid": "0.0.29",
|
|
"@types/styled-components": "5.1.7",
|
|
"@typescript-eslint/eslint-plugin": "4.16.1",
|
|
"@typescript-eslint/parser": "4.16.1",
|
|
"babel-plugin-styled-components": "1.12.0",
|
|
"eslint": "7.21.0",
|
|
"eslint-config-airbnb-typescript": "12.3.1",
|
|
"eslint-plugin-import": "2.22.1",
|
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
"eslint-plugin-react": "7.22.0",
|
|
"eslint-plugin-react-hooks": "4.2.0",
|
|
"husky": "5.1.3",
|
|
"next-sitemap": "^1.6.9",
|
|
"npm-run-all": "4.1.5",
|
|
"stylelint": "13.11.0",
|
|
"stylelint-config-recommended": "3.0.0",
|
|
"stylelint-config-styled-components": "0.1.1",
|
|
"stylelint-processor-styled-components": "1.10.0",
|
|
"testcafe": "1.12.0",
|
|
"typescript": "4.2.2"
|
|
},
|
|
"dependencies": {
|
|
"@next/bundle-analyzer": "10.0.7",
|
|
"axios": "0.21.1",
|
|
"date-fns": "2.18.0",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"js-cookie": "2.2.1",
|
|
"lodash": "4.17.21",
|
|
"next": "10.1.2",
|
|
"next-i18next": "7.0.1",
|
|
"normalize.css": "8.0.1",
|
|
"react": "17.0.1",
|
|
"react-beautiful-dnd": "13.1.0",
|
|
"react-csv": "2.0.3",
|
|
"react-dom": "17.0.1",
|
|
"react-is": "17.0.2",
|
|
"react-jsonschema-form": "1.8.1",
|
|
"react-markdown": "5.0.3",
|
|
"react-mde": "11.0.6",
|
|
"react-toastify": "^7.0.3",
|
|
"shortid": "2.2.16",
|
|
"styled-components": "5.2.3",
|
|
"swr": "0.4.2"
|
|
}
|
|
}
|