104 lines
2.6 KiB
JSON
104 lines
2.6 KiB
JSON
{
|
|
"name": "photoview-ui",
|
|
"version": "0.0.1",
|
|
"license": "GPL-3.0",
|
|
"description": "UI app for Photoview",
|
|
"dependencies": {
|
|
"@babel/preset-env": "^7.11.5",
|
|
"apollo-cache-inmemory": "^1.6.6",
|
|
"apollo-client": "^2.6.10",
|
|
"apollo-link": "^1.2.14",
|
|
"apollo-link-context": "^1.0.20",
|
|
"apollo-link-error": "^1.1.13",
|
|
"apollo-link-http": "^1.5.17",
|
|
"apollo-link-ws": "^1.0.20",
|
|
"babel-plugin-styled-components": "^1.11.1",
|
|
"copy-to-clipboard": "^3.3.1",
|
|
"downloadjs": "^1.4.7",
|
|
"graphql": "^15.3.0",
|
|
"graphql-tag": "^2.11.0",
|
|
"parcel-bundler": "^1.12.4",
|
|
"prop-types": "^15.7.2",
|
|
"react": "^16.13.1",
|
|
"react-apollo": "^3.1.5",
|
|
"react-dom": "^16.13.1",
|
|
"react-helmet": "^6.1.0",
|
|
"react-lazyload": "^3.0.0",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-spring": "^8.0.27",
|
|
"semantic-ui-css": "^2.4.1",
|
|
"semantic-ui-react": "^2.0.0",
|
|
"styled-components": "^5.2.0",
|
|
"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": "eslint ./src --max-warnings 0 --cache"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.11.6",
|
|
"@babel/plugin-transform-runtime": "^7.11.5",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-plugin-graphql-tag": "^3.1.0",
|
|
"babel-plugin-transform-semantic-ui-react-imports": "^1.4.1",
|
|
"eslint": "^7.9.0",
|
|
"eslint-plugin-react": "^7.21.3",
|
|
"eslint-plugin-react-hooks": "^4.1.2",
|
|
"husky": "^4.3.0",
|
|
"lint-staged": "^10.4.0",
|
|
"mapbox-gl": "^1.12.0",
|
|
"parcel-plugin-sw-cache": "^0.3.1",
|
|
"prettier": "^2.1.2",
|
|
"react-router-prop-types": "^1.0.5"
|
|
},
|
|
"cache": {
|
|
"swDest": "service-worker.js"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "es5",
|
|
"tabWidth": 2,
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"arrowParens": "avoid"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"useBuiltIns": "entry"
|
|
}
|
|
]
|
|
],
|
|
"plugins": [
|
|
"styled-components",
|
|
"@babel/plugin-transform-runtime",
|
|
"graphql-tag",
|
|
[
|
|
"transform-semantic-ui-react-imports",
|
|
{
|
|
"convertMemberImports": true,
|
|
"addCssImports": true
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"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"
|
|
]
|
|
}
|