mirror of
https://github.com/stashapp/stash-box.git
synced 2026-02-05 07:27:03 -06:00
101 lines
3.1 KiB
JSON
101 lines
3.1 KiB
JSON
{
|
|
"name": "stash-box-frontend",
|
|
"version": "0.1.0",
|
|
"description": "Stash-box",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"start": "vite --host",
|
|
"build": "vite build",
|
|
"validate": "yarn lint && yarn format-check && tsc --noEmit",
|
|
"lint": "yarn lint:css && yarn lint:js",
|
|
"lint:js": "eslint --cache src/**/*.{ts,tsx}",
|
|
"lint:css": "stylelint \"src/**/*.scss\"",
|
|
"generate": "apollo client:codegen --target typescript --outputFlat src/graphql/definitions --passthroughCustomScalars --customScalarsPrefix=GQL",
|
|
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,scss}\"",
|
|
"format-check": "prettier --check \"src/**/!(generated-graphql).{js,jsx,ts,tsx,scss}\"",
|
|
"analyze": "analyze=true vite build"
|
|
},
|
|
"engines": {
|
|
"node": ">=16",
|
|
"yarn": ">=1.15.2"
|
|
},
|
|
"resolutions": {
|
|
"**/graphql": "^15.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-graphql": "^1.1.0",
|
|
"@types/apollo-upload-client": "^17.0.0",
|
|
"@types/lodash-es": "^4.17.6",
|
|
"@types/react": "^17.0.45",
|
|
"@types/react-dom": "^17.0.16",
|
|
"@types/react-helmet": "^6.1.5",
|
|
"@types/react-router-dom": "^5.3.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
"@typescript-eslint/parser": "^5.23.0",
|
|
"@vitejs/plugin-react": "^1.3.2",
|
|
"apollo": "^2.33.11",
|
|
"eslint": "^8.15.0",
|
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
"eslint-plugin-react": "^7.29.4",
|
|
"eslint-plugin-react-hooks": "^4.5.0",
|
|
"globule": "^1.3.3",
|
|
"prettier": "2.6.2",
|
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
"sass": "~1.51.0",
|
|
"stylelint": "^14.8.2",
|
|
"stylelint-config-prettier": "^9.0.3",
|
|
"stylelint-config-standard": "^25.0.0",
|
|
"stylelint-config-standard-scss": "^3.0.0",
|
|
"stylelint-scss": "^4.2.0",
|
|
"typescript": "~4.6.4",
|
|
"vite": "^2.9.8",
|
|
"vite-tsconfig-paths": "^3.4.1"
|
|
},
|
|
"dependencies": {
|
|
"@apollo/client": "^3.6.2",
|
|
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
|
"@fortawesome/free-regular-svg-icons": "^6.1.1",
|
|
"@fortawesome/free-solid-svg-icons": "6.1.1",
|
|
"@fortawesome/react-fontawesome": "^0.1.18",
|
|
"@hookform/resolvers": "2.8.8",
|
|
"apollo-upload-client": "^17.0.0",
|
|
"bootstrap": "^5.1.3",
|
|
"classnames": "^2.3.1",
|
|
"date-fns": "^2.28.0",
|
|
"graphql": "^15.8.0",
|
|
"graphql-tag": "^2.12.6",
|
|
"i18n-iso-countries": "^7.4.0",
|
|
"lodash-es": "^4.17.21",
|
|
"p-debounce": "^4.0.0",
|
|
"query-string": "^7.1.1",
|
|
"react": "^17.0.2",
|
|
"react-bootstrap": "^2.3.1",
|
|
"react-dom": "^17.0.2",
|
|
"react-helmet": "^6.1.0",
|
|
"react-hook-form": "7.31.0",
|
|
"react-markdown": "^8.0.3",
|
|
"react-responsive-carousel": "^3.2.23",
|
|
"react-router-dom": "^5.3.1",
|
|
"react-select": "^5.3.2",
|
|
"rehype-external-links": "^1.0.1",
|
|
"remark-breaks": "^3.0.1",
|
|
"remark-gfm": "^3.0.1",
|
|
"yup": "0.32.11"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|