mirror of https://github.com/LemmyNet/lemmy.git
89 lines
2.4 KiB
JSON
89 lines
2.4 KiB
JSON
{
|
|
"name": "lemmy",
|
|
"description": "The official Lemmy UI",
|
|
"version": "1.0.0",
|
|
"author": "Dessalines",
|
|
"license": "AGPL-3.0-or-later",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"api-test": "jest src/api_tests/api.spec.ts",
|
|
"build": "node fuse prod",
|
|
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
|
|
"prebuild": "node generate_translations.js",
|
|
"prestart": "node generate_translations.js",
|
|
"start": "node fuse dev"
|
|
},
|
|
"keywords": [],
|
|
"dependencies": {
|
|
"@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": "^13.11.1",
|
|
"autosize": "^4.0.2",
|
|
"bootswatch": "^4.3.1",
|
|
"classcat": "^4.0.2",
|
|
"dotenv": "^8.2.0",
|
|
"emoji-short-name": "^1.0.0",
|
|
"husky": "^4.2.5",
|
|
"i18next": "^19.4.1",
|
|
"inferno": "^7.4.2",
|
|
"inferno-i18next": "nimbusec-oss/inferno-i18next",
|
|
"inferno-router": "^7.4.2",
|
|
"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",
|
|
"mobius1-selectr": "^2.4.13",
|
|
"moment": "^2.24.0",
|
|
"node-fetch": "^2.6.0",
|
|
"prettier": "^2.0.4",
|
|
"reconnecting-websocket": "^4.4.0",
|
|
"rxjs": "^6.5.5",
|
|
"terser": "^4.6.11",
|
|
"tippy.js": "^6.1.1",
|
|
"toastify-js": "^1.7.0",
|
|
"tributejs": "^5.1.3",
|
|
"ws": "^7.2.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^25.2.1",
|
|
"@types/node-fetch": "^2.5.6",
|
|
"eslint": "^6.5.1",
|
|
"eslint-plugin-inferno": "^7.14.3",
|
|
"eslint-plugin-jane": "^7.2.1",
|
|
"fuse-box": "^3.1.3",
|
|
"jest": "^25.4.0",
|
|
"lint-staged": "^10.1.3",
|
|
"sortpack": "^2.1.4",
|
|
"ts-jest": "^25.4.0",
|
|
"ts-node": "^8.8.2",
|
|
"ts-transform-classcat": "^1.0.0",
|
|
"ts-transform-inferno": "^4.0.3",
|
|
"typescript": "^3.8.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.9.0"
|
|
},
|
|
"engineStrict": true,
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "cargo clippy --manifest-path ../server/Cargo.toml --all-targets --all-features -- -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"
|
|
]
|
|
}
|
|
}
|