1
Fork 0
photoview/ui/package.json

97 lines
2.6 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",
"license": "GPL-3.0",
"description": "UI app for Photoview",
2019-07-05 00:36:32 +02:00
"dependencies": {
2021-04-03 17:09:57 +02:00
"@babel/preset-env": "^7.13.12",
"@types/react": "^17.0.3",
2020-12-08 16:35:39 +01:00
"babel-plugin-styled-components": "^1.12.0",
"copy-to-clipboard": "^3.3.1",
2021-04-03 17:09:57 +02:00
"graphql": "^15.5.0",
"prop-types": "^15.7.2",
2021-04-03 17:09:57 +02:00
"react": "^17.0.2",
"react-dom": "^17.0.2",
2020-06-15 17:12:16 +02:00
"react-helmet": "^6.1.0",
"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",
2021-04-03 17:09:57 +02:00
"semantic-ui-react": "^2.0.3",
"styled-components": "^5.2.3",
2020-08-18 13:20:34 +02:00
"subscriptions-transport-ws": "^0.9.18",
"url-join": "^4.0.1"
2019-07-05 00:36:32 +02:00
},
"scripts": {
2021-02-25 13:23:22 +01:00
"start": "node build.js watch",
"build": "NODE_ENV=production node build.js",
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": {
2021-04-03 17:09:57 +02:00
"@apollo/client": "^3.3.13",
"@babel/core": "^7.13.14",
"@babel/plugin-transform-modules-commonjs": "^7.13.8",
"@babel/plugin-transform-runtime": "^7.13.10",
"@babel/preset-react": "^7.13.13",
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"babel-eslint": "^10.1.0",
2020-11-13 09:19:49 +01:00
"babel-jest": "^26.6.3",
2021-04-03 17:09:57 +02:00
"babel-plugin-graphql-tag": "^3.2.0",
"babel-plugin-transform-semantic-ui-react-imports": "^1.4.1",
"browser-sync": "^2.26.14",
"connect-history-api-fallback": "^1.6.0",
2021-02-25 14:51:02 +01:00
"dotenv": "^8.2.0",
"esbuild": "^0.8.52",
2021-04-03 17:09:57 +02:00
"eslint": "^7.23.0",
"eslint-plugin-jest": "^24.3.3",
"eslint-plugin-jest-dom": "^3.7.0",
"eslint-plugin-react": "^7.23.1",
2020-10-26 20:15:02 +01:00
"eslint-plugin-react-hooks": "^4.2.0",
2021-04-03 17:09:57 +02:00
"fs-extra": "^9.1.0",
"husky": "^6.0.0",
2020-11-13 09:19:49 +01:00
"jest": "^26.6.3",
2021-04-03 17:09:57 +02:00
"lint-staged": "^10.5.4",
"mapbox-gl": "^2.2.0",
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",
2021-04-03 17:09:57 +02:00
"react-test-renderer": "^17.0.2",
"workbox-build": "^6.1.2"
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"
]
}