2019-07-05 00:36:32 +02:00
|
|
|
{
|
2019-08-12 16:22:54 +02:00
|
|
|
"name": "photoview-ui",
|
2019-07-05 00:36:32 +02:00
|
|
|
"version": "0.0.1",
|
2019-08-12 16:22:54 +02:00
|
|
|
"license": "GPL-3.0",
|
|
|
|
"description": "UI app for Photoview",
|
2019-07-05 00:36:32 +02:00
|
|
|
"dependencies": {
|
2020-12-08 16:35:39 +01:00
|
|
|
"@babel/preset-env": "^7.12.7",
|
|
|
|
"@types/react": "^17.0.0",
|
|
|
|
"babel-plugin-styled-components": "^1.12.0",
|
2020-03-07 18:12:23 +01:00
|
|
|
"copy-to-clipboard": "^3.3.1",
|
2020-11-02 18:26:34 +01:00
|
|
|
"graphql": "^15.4.0",
|
2020-11-13 09:19:49 +01:00
|
|
|
"parcel-bundler": "^1.12.4",
|
2019-07-29 18:06:53 +02:00
|
|
|
"prop-types": "^15.7.2",
|
2020-11-02 18:26:34 +01:00
|
|
|
"react": "^17.0.1",
|
|
|
|
"react-dom": "^17.0.1",
|
2020-06-15 17:12:16 +02:00
|
|
|
"react-helmet": "^6.1.0",
|
2020-10-26 01:38:44 +01:00
|
|
|
"react-lazyload": "^3.1.0",
|
2020-06-15 17:12:16 +02:00
|
|
|
"react-router-dom": "^5.2.0",
|
2019-07-20 11:48:27 +02:00
|
|
|
"react-spring": "^8.0.27",
|
|
|
|
"semantic-ui-css": "^2.4.1",
|
2020-10-26 20:15:02 +01:00
|
|
|
"semantic-ui-react": "^2.0.1",
|
2020-11-02 18:26:34 +01:00
|
|
|
"styled-components": "^5.2.1",
|
2020-08-18 13:20:34 +02:00
|
|
|
"subscriptions-transport-ws": "^0.9.18",
|
2020-04-06 22:16:25 +02:00
|
|
|
"url-join": "^4.0.1"
|
2019-07-05 00:36:32 +02:00
|
|
|
},
|
|
|
|
"scripts": {
|
2019-07-07 23:53:07 +02:00
|
|
|
"start": "parcel start src/index.html",
|
2020-09-27 22:49:51 +02:00
|
|
|
"build": "parcel build src/index.html --no-source-maps",
|
2020-10-26 22:06:53 +01:00
|
|
|
"test": "npm run lint && npm run jest",
|
|
|
|
"lint": "eslint ./src --max-warnings 0 --cache",
|
|
|
|
"jest": "jest"
|
2019-07-05 00:36:32 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-12-08 16:35:39 +01:00
|
|
|
"@apollo/client": "^3.3.4",
|
|
|
|
"@babel/core": "^7.12.9",
|
2020-10-26 22:06:53 +01:00
|
|
|
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
|
2020-10-19 09:53:10 +02:00
|
|
|
"@babel/plugin-transform-runtime": "^7.12.1",
|
2020-12-08 16:35:39 +01:00
|
|
|
"@babel/preset-react": "^7.12.7",
|
|
|
|
"@testing-library/jest-dom": "^5.11.6",
|
|
|
|
"@testing-library/react": "^11.2.2",
|
2020-03-07 18:12:23 +01:00
|
|
|
"babel-eslint": "^10.1.0",
|
2020-11-13 09:19:49 +01:00
|
|
|
"babel-jest": "^26.6.3",
|
2020-09-21 21:51:15 +02:00
|
|
|
"babel-plugin-graphql-tag": "^3.1.0",
|
2020-05-11 16:30:08 +02:00
|
|
|
"babel-plugin-transform-semantic-ui-react-imports": "^1.4.1",
|
2020-12-08 16:35:39 +01:00
|
|
|
"eslint": "^7.15.0",
|
2020-11-13 09:19:49 +01:00
|
|
|
"eslint-plugin-jest": "^24.1.3",
|
2020-12-08 16:35:39 +01:00
|
|
|
"eslint-plugin-jest-dom": "^3.6.3",
|
2020-10-26 20:15:02 +01:00
|
|
|
"eslint-plugin-react": "^7.21.5",
|
|
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
2020-12-08 16:35:39 +01:00
|
|
|
"husky": "^4.3.5",
|
2020-11-13 09:19:49 +01:00
|
|
|
"jest": "^26.6.3",
|
2020-12-08 16:35:39 +01:00
|
|
|
"lint-staged": "^10.5.3",
|
|
|
|
"mapbox-gl": "^1.13.0",
|
2020-02-15 23:29:03 +01:00
|
|
|
"parcel-plugin-sw-cache": "^0.3.1",
|
2020-12-08 16:35:39 +01:00
|
|
|
"prettier": "^2.2.1",
|
2020-10-26 22:06:53 +01:00
|
|
|
"react-router-prop-types": "^1.0.5",
|
|
|
|
"react-test-renderer": "^17.0.1"
|
2019-07-05 00:36:32 +02:00
|
|
|
},
|
2020-02-15 23:29:03 +01:00
|
|
|
"cache": {
|
|
|
|
"swDest": "service-worker.js"
|
|
|
|
},
|
2019-07-05 00:36:32 +02:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
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
|
|
|
},
|
2020-10-26 22:06:53 +01:00
|
|
|
"jest": {
|
|
|
|
"transformIgnorePatterns": [
|
|
|
|
"^.+\\.css$"
|
2019-07-07 23:53:07 +02:00
|
|
|
],
|
2020-10-26 22:06:53 +01:00
|
|
|
"transform": {
|
|
|
|
"^.+\\.js$": "babel-jest",
|
|
|
|
"^.+\\.svg$": "<rootDir>/testing/transform-svg.js"
|
|
|
|
}
|
2019-07-07 23:53:07 +02:00
|
|
|
},
|
2019-07-05 00:36:32 +02:00
|
|
|
"lint-staged": {
|
2020-09-27 22:49:51 +02:00
|
|
|
"*.{js,json,css,md,graphql}": "prettier --write",
|
|
|
|
"*.js": "eslint --cache --fix --max-warnings 0"
|
2019-07-05 00:36:32 +02:00
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not ie <= 11",
|
|
|
|
"not op_mini all"
|
|
|
|
]
|
|
|
|
}
|