mirror of https://github.com/LemmyNet/lemmy.git
92 lines
2.5 KiB
JSON
92 lines
2.5 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/jest": "^26.0.7",
|
|
"@types/js-cookie": "^2.2.6",
|
|
"@types/jwt-decode": "^2.2.1",
|
|
"@types/markdown-it": "^10.0.1",
|
|
"@types/markdown-it-container": "^2.0.2",
|
|
"@types/node": "^14.0.26",
|
|
"@types/node-fetch": "^2.5.6",
|
|
"autosize": "^4.0.2",
|
|
"bootswatch": "^4.3.1",
|
|
"choices.js": "^9.0.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-helmet": "^5.2.1",
|
|
"inferno-i18next": "nimbusec-oss/inferno-i18next",
|
|
"inferno-router": "^7.4.2",
|
|
"js-cookie": "^2.2.0",
|
|
"jwt-decode": "^2.2.0",
|
|
"markdown-it": "^11.0.0",
|
|
"markdown-it-container": "^3.0.0",
|
|
"markdown-it-emoji": "^1.4.0",
|
|
"markdown-it-sub": "^1.0.0",
|
|
"markdown-it-sup": "^1.0.0",
|
|
"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": {
|
|
"eslint": "^7.5.0",
|
|
"eslint-plugin-inferno": "^7.14.3",
|
|
"eslint-plugin-jane": "^8.0.4",
|
|
"fuse-box": "^3.1.3",
|
|
"jest": "^26.0.7",
|
|
"lint-staged": "^10.1.3",
|
|
"sortpack": "^2.1.4",
|
|
"ts-jest": "^26.1.3",
|
|
"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 --workspace -- -D warnings && lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"../server/src/**/*.rs": [
|
|
"rustfmt +nightly --config-path ../server/.rustfmt.toml"
|
|
],
|
|
"package.json": [
|
|
"sortpack"
|
|
]
|
|
}
|
|
}
|