1
Fork 0
photoview/ui/package.json

112 lines
3.5 KiB
JSON
Raw Normal View History

2019-07-05 00:36:32 +02:00
{
"name": "photoview-ui",
2019-07-05 00:36:32 +02:00
"version": "0.0.1",
2021-04-03 17:32:01 +02:00
"repository": {
"type": "git",
"url": "https://github.com/photoview/photoview.git",
"directory": "ui"
},
"license": "GPL-3.0",
"description": "UI app for Photoview",
2019-07-05 00:36:32 +02:00
"dependencies": {
"@apollo/client": "^3.5.8",
"@babel/preset-typescript": "^7.16.7",
"@craco/craco": "^6.4.3",
"@headlessui/react": "^1.4.3",
"@react-aria/focus": "^3.5.0",
2021-05-23 17:39:42 +02:00
"@rollup/plugin-babel": "^5.3.0",
2021-07-15 17:43:07 +02:00
"@types/geojson": "^7946.0.8",
"@types/jest": "^27.4.0",
"@types/mapbox-gl": "^2.6.0",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-helmet": "^6.1.5",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.21",
2021-07-15 17:43:07 +02:00
"@types/url-join": "^4.0.1",
2021-07-15 13:07:35 +02:00
"autoprefixer": "^9.8.6",
"babel-plugin-graphql-tag": "^3.3.0",
2022-02-01 23:39:19 +01:00
"blurhash": "^1.1.4",
2021-06-04 22:29:58 +02:00
"classnames": "^2.3.1",
2021-04-03 17:32:01 +02:00
"connect-history-api-fallback": "^1.6.0",
"copy-to-clipboard": "^3.3.1",
2021-07-15 17:43:07 +02:00
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jest-dom": "^4.0.1",
"fs-extra": "^10.0.0",
"i18next": "^21.6.10",
"mapbox-gl": "^2.6.1",
2021-07-15 13:07:35 +02:00
"postcss": "^7.0.36",
"prettier": "^2.5.1",
"prop-types": "^15.8.1",
2021-04-03 17:09:57 +02:00
"react": "^17.0.2",
2022-02-01 23:39:19 +01:00
"react-blurhash": "^0.1.3",
2021-04-03 17:09:57 +02:00
"react-dom": "^17.0.2",
2020-06-15 17:12:16 +02:00
"react-helmet": "^6.1.0",
"react-hook-form": "^7.25.3",
"react-i18next": "^11.15.3",
"react-router-dom": "^6.2.1",
2021-04-03 17:32:01 +02:00
"react-router-prop-types": "^1.0.5",
2021-07-15 13:07:35 +02:00
"react-scripts": "^4.0.3",
2019-07-20 11:48:27 +02:00
"react-spring": "^8.0.27",
2021-04-03 17:32:01 +02:00
"react-test-renderer": "^17.0.2",
"styled-components": "^5.3.3",
"subscriptions-transport-ws": "^0.11.0",
"tailwind-override": "^0.6.1",
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.17",
"typescript": "^4.5.5",
2021-07-15 13:07:35 +02:00
"url-join": "^4.0.1"
2019-07-05 00:36:32 +02:00
},
"scripts": {
"start": "BROWSER=none PORT=1234 craco start",
2021-07-15 13:07:35 +02:00
"build": "craco build",
"test": "npm run lint && npm run jest -- --watchAll=false",
2021-04-23 21:46:01 +02:00
"test:ci": "npm run lint && npm run jest:ci",
2021-04-12 22:42:23 +02:00
"lint": "npm run lint:types & npm run lint:eslint",
"lint:eslint": "eslint ./src --max-warnings 0 --cache --config .eslintrc.js",
"lint:types": "tsc --noemit",
2021-08-30 13:15:52 +02:00
"jest": "craco test --setupFilesAfterEnv ./testing/setupTests.ts",
"jest:ci": "CI=true craco test --setupFilesAfterEnv ./testing/setupTests.ts --verbose --ci --coverage",
2021-10-10 16:54:02 +02:00
"genSchemaTypes": "apollo client:codegen --target=typescript --globalTypesFile=src/__generated__/globalTypes.ts && prettier --write */**/__generated__/*.ts",
"extractTranslations": "i18next -c i18next-parser.config.js",
2021-04-03 17:32:01 +02:00
"prepare": "(cd .. && npx husky install)"
2019-07-05 00:36:32 +02:00
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"apollo": "2.33.9",
"apollo-language-server": "1.26.7",
"husky": "^7.0.4",
"i18next-parser": "^5.4.0",
"lint-staged": "^12.3.2",
"tsc-files": "1.1.2"
2019-07-05 00:36:32 +02:00
},
2022-02-01 23:39:19 +01:00
"overrides": {
"graphql": "^15.0.0"
},
2019-07-07 15:54:39 +02:00
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
2020-05-08 18:28:26 +02:00
"singleQuote": true,
"arrowParens": "avoid"
2019-07-07 15:54:39 +02:00
},
2019-07-05 00:36:32 +02:00
"lint-staged": {
2021-04-12 22:42:23 +02:00
"*.{ts,tsx,js,json,css,md,graphql}": "prettier --write",
"*.{js,ts,tsx}": "eslint --cache --fix --max-warnings 0",
"*.{ts,tsx}": "tsc-files --noEmit"
2021-07-15 13:07:35 +02:00
},
"browserslist": {
"production": [
2021-07-22 12:34:08 +02:00
"defaults",
"not ie 11",
2021-07-15 13:07:35 +02:00
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
2021-04-12 00:14:27 +02:00
}
2019-07-05 00:36:32 +02:00
}