You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

116 lines
3.1 KiB

{
"name": "lemmy",
"description": "The official Lemmy UI",
"version": "1.0.0",
"author": "Dessalines",
"license": "AGPL-3.0-or-later",
"scripts": {
"api-test": "jest src/api_tests/api.spec.ts",
"build": "node generate_translations.js && vite build",
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
"start": "node generate_translations.js && vite --port 4444"
},
"keywords": [],
"dependencies": {
"@joeattardi/emoji-button": "^3.1.1",
"@pika/react": "^16.13.1",
"@pika/react-dom": "^16.13.1",
"@types/autosize": "^3.0.6",
"@types/js-cookie": "^2.2.6",
"@types/jwt-decode": "^2.2.1",
"@types/markdown-it": "^0.0.9",
"@types/markdown-it-container": "^2.0.2",
"@types/node": "^14.0.27",
"@types/qs": "^6.9.4",
"@types/react": "^16.9.44",
"@types/react-dom": "^16.9.8",
"@types/react-router-dom": "^5.1.5",
"autosize": "^4.0.2",
"body-scroll-lock": "^3.0.3",
"bootswatch": "^4.3.1",
"choices.js": "^9.0.1",
"classcat": "^4.0.2",
"emoji-short-name": "^1.0.0",
"husky": "^4.2.5",
"i18next": "^19.4.1",
"js-cookie": "^2.2.0",
"jwt-decode": "^2.2.0",
"markdown-it": "^10.0.0",
"markdown-it-container": "^2.0.0",
"markdown-it-emoji": "^1.4.0",
"markdown-it-for-inline": "^0.1.1",
"moment": "^2.24.0",
"parse-domain": "^3.0.2",
"prettier": "^2.0.4",
"psl": "^1.8.0",
"qs": "^6.9.4",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-i18next": "^11.7.0",
"react-router-dom": "^5.2.0",
"reconnecting-websocket": "^4.4.0",
"register-service-worker": "^1.7.1",
"rxjs": "^6.5.5",
"terser": "^4.6.11",
"tippy.js": "^6.1.1",
"toastify-js": "^1.7.0",
"tributejs": "^5.1.3",
"twemoji": "^12.1.2",
"url": "^0.11.0",
"ws": "^7.2.3"
},
"devDependencies": {
"@types/jest": "^26.0.8",
"@types/node-fetch": "^2.5.6",
"cssnano": "^4.1.10",
"eslint": "^6.5.1",
"eslint-plugin-inferno": "^7.14.3",
"eslint-plugin-jane": "^7.2.1",
"lint-staged": "^10.1.3",
"node-fetch": "^2.6.0",
"sortpack": "^2.1.4",
"source-map-loader": "^1.0.1",
"ts-jest": "^25.4.0",
"ts-loader": "^8.0.2",
"ts-node": "^8.8.2",
"ts-transform-classcat": "^1.0.0",
"ts-transform-inferno": "^4.0.3",
"typescript": "^3.9.7",
"vite": "^1.0.0-rc.4",
"vite-plugin-react": "^3.0.2"
},
"extends": "@parcel/config-default",
"engines": {
"node": ">=8.9.0"
},
"engineStrict": true,
"husky": {
"hooks": {
"pre-commit": "cargo clippy --manifest-path ../server/Cargo.toml --all-targets --workspace -- -D warnings && lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,js}": [
"prettier --write",
"eslint --fix"
],
"../server/src/**/*.rs": [
"rustfmt --config-path ../server/.rustfmt.toml"
],
"package.json": [
"sortpack"
]
},
"browserslist": {
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
],
"production": [
">0.2%",
"not dead",
"not op_mini all"
]
}
}