95 lines
2.5 KiB
JSON
95 lines
2.5 KiB
JSON
{
|
|
"name": "photoview-ui",
|
|
"version": "0.0.1",
|
|
"license": "GPL-3.0",
|
|
"description": "UI app for Photoview",
|
|
"dependencies": {
|
|
"@babel/preset-env": "^7.12.1",
|
|
"@types/react": "^16.9.55",
|
|
"babel-plugin-styled-components": "^1.11.1",
|
|
"copy-to-clipboard": "^3.3.1",
|
|
"downloadjs": "^1.4.7",
|
|
"graphql": "^15.4.0",
|
|
"parcel-bundler": "^1.3.1",
|
|
"prop-types": "^15.7.2",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1",
|
|
"react-helmet": "^6.1.0",
|
|
"react-lazyload": "^3.1.0",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-spring": "^8.0.27",
|
|
"semantic-ui-css": "^2.4.1",
|
|
"semantic-ui-react": "^2.0.1",
|
|
"styled-components": "^5.2.1",
|
|
"subscriptions-transport-ws": "^0.9.18",
|
|
"url-join": "^4.0.1"
|
|
},
|
|
"scripts": {
|
|
"start": "parcel start src/index.html",
|
|
"build": "parcel build src/index.html --no-source-maps",
|
|
"test": "npm run lint && npm run jest",
|
|
"lint": "eslint ./src --max-warnings 0 --cache",
|
|
"jest": "jest"
|
|
},
|
|
"devDependencies": {
|
|
"@apollo/client": "^3.2.5",
|
|
"@babel/core": "^7.12.3",
|
|
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
|
|
"@babel/plugin-transform-runtime": "^7.12.1",
|
|
"@babel/preset-react": "^7.12.1",
|
|
"@testing-library/jest-dom": "^5.11.5",
|
|
"@testing-library/react": "^11.1.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-jest": "^26.6.2",
|
|
"babel-plugin-graphql-tag": "^3.1.0",
|
|
"babel-plugin-transform-semantic-ui-react-imports": "^1.4.1",
|
|
"eslint": "^7.12.1",
|
|
"eslint-plugin-jest": "^24.1.0",
|
|
"eslint-plugin-jest-dom": "^3.2.4",
|
|
"eslint-plugin-react": "^7.21.5",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"husky": "^4.3.0",
|
|
"jest": "^26.6.2",
|
|
"lint-staged": "^10.5.1",
|
|
"mapbox-gl": "^1.12.0",
|
|
"parcel-plugin-sw-cache": "^0.3.1",
|
|
"prettier": "^2.1.2",
|
|
"react-router-prop-types": "^1.0.5",
|
|
"react-test-renderer": "^17.0.1"
|
|
},
|
|
"cache": {
|
|
"swDest": "service-worker.js"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "es5",
|
|
"tabWidth": 2,
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"arrowParens": "avoid"
|
|
},
|
|
"jest": {
|
|
"transformIgnorePatterns": [
|
|
"^.+\\.css$"
|
|
],
|
|
"transform": {
|
|
"^.+\\.js$": "babel-jest",
|
|
"^.+\\.svg$": "<rootDir>/testing/transform-svg.js"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,json,css,md,graphql}": "prettier --write",
|
|
"*.js": "eslint --cache --fix --max-warnings 0"
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not ie <= 11",
|
|
"not op_mini all"
|
|
]
|
|
}
|