2019-03-20 21:22:31 -04:00
|
|
|
{
|
2019-04-06 01:29:20 -04:00
|
|
|
"name": "lemmy",
|
2020-02-27 12:55:23 -05:00
|
|
|
"description": "The official Lemmy UI",
|
2019-10-18 18:27:34 -04:00
|
|
|
"version": "1.0.0",
|
|
|
|
"author": "Dessalines",
|
2020-02-27 12:55:23 -05:00
|
|
|
"license": "AGPL-3.0-or-later",
|
2019-03-20 21:22:31 -04:00
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
2019-10-18 17:56:32 -04:00
|
|
|
"build": "node fuse prod",
|
2020-02-08 23:20:11 -05:00
|
|
|
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
|
2020-02-28 16:18:47 -05:00
|
|
|
"prebuild": "node generate_translations.js",
|
2020-02-29 14:40:27 -05:00
|
|
|
"prestart": "node generate_translations.js",
|
2019-10-18 18:27:34 -04:00
|
|
|
"start": "node fuse dev"
|
2019-03-20 21:22:31 -04:00
|
|
|
},
|
|
|
|
"keywords": [],
|
|
|
|
"dependencies": {
|
2019-04-08 01:19:02 -04:00
|
|
|
"@types/autosize": "^3.0.6",
|
2020-03-18 22:30:16 -04:00
|
|
|
"@types/js-cookie": "^2.2.5",
|
2019-04-08 01:19:02 -04:00
|
|
|
"@types/jwt-decode": "^2.2.1",
|
2020-01-06 11:22:51 -05:00
|
|
|
"@types/markdown-it": "^0.0.9",
|
2019-04-29 13:16:43 -04:00
|
|
|
"@types/markdown-it-container": "^2.0.2",
|
2020-03-18 22:30:16 -04:00
|
|
|
"@types/node": "^13.9.2",
|
2019-03-30 20:38:54 -04:00
|
|
|
"autosize": "^4.0.2",
|
2019-10-15 15:21:27 -04:00
|
|
|
"bootswatch": "^4.3.1",
|
2019-03-20 21:22:31 -04:00
|
|
|
"classcat": "^1.1.3",
|
2020-01-06 11:22:51 -05:00
|
|
|
"dotenv": "^8.2.0",
|
2020-02-08 23:20:11 -05:00
|
|
|
"emoji-short-name": "^1.0.0",
|
2020-03-18 22:30:16 -04:00
|
|
|
"husky": "^4.2.3",
|
|
|
|
"i18next": "^19.3.3",
|
2020-03-02 11:00:34 -05:00
|
|
|
"inferno": "^7.4.2",
|
2019-08-09 20:14:43 -04:00
|
|
|
"inferno-i18next": "nimbusec-oss/inferno-i18next",
|
2020-03-02 11:00:34 -05:00
|
|
|
"inferno-router": "^7.4.2",
|
2019-03-22 21:42:57 -04:00
|
|
|
"js-cookie": "^2.2.0",
|
|
|
|
"jwt-decode": "^2.2.0",
|
2020-01-06 11:22:51 -05:00
|
|
|
"markdown-it": "^10.0.0",
|
2019-04-29 13:16:43 -04:00
|
|
|
"markdown-it-container": "^2.0.0",
|
2019-09-02 20:33:09 -04:00
|
|
|
"markdown-it-emoji": "^1.4.0",
|
2020-02-12 12:12:19 -05:00
|
|
|
"mobius1-selectr": "^2.4.13",
|
2019-03-27 15:54:55 -04:00
|
|
|
"moment": "^2.24.0",
|
2019-10-18 19:58:20 -04:00
|
|
|
"prettier": "^1.18.2",
|
2020-02-08 23:20:11 -05:00
|
|
|
"reconnecting-websocket": "^4.4.0",
|
2019-05-05 19:50:44 -04:00
|
|
|
"rxjs": "^6.4.0",
|
2020-03-18 22:30:16 -04:00
|
|
|
"terser": "^4.6.7",
|
|
|
|
"tippy.js": "^6.1.0",
|
|
|
|
"toastify-js": "^1.7.0",
|
|
|
|
"tributejs": "^5.1.2",
|
2019-08-31 12:40:42 -04:00
|
|
|
"twemoji": "^12.1.2",
|
2020-03-18 22:30:16 -04:00
|
|
|
"ws": "^7.2.3"
|
2019-03-20 21:22:31 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-10-18 17:56:32 -04:00
|
|
|
"eslint": "^6.5.1",
|
|
|
|
"eslint-plugin-inferno": "^7.14.3",
|
2020-03-18 22:30:16 -04:00
|
|
|
"eslint-plugin-jane": "^7.2.0",
|
2019-05-05 19:50:44 -04:00
|
|
|
"fuse-box": "^3.1.3",
|
2020-03-18 22:30:16 -04:00
|
|
|
"lint-staged": "^10.0.8",
|
|
|
|
"sortpack": "^2.1.2",
|
|
|
|
"ts-node": "^8.7.0",
|
2019-03-20 21:22:31 -04:00
|
|
|
"ts-transform-classcat": "^0.0.2",
|
|
|
|
"ts-transform-inferno": "^4.0.2",
|
2020-02-28 16:18:47 -05:00
|
|
|
"typescript": "^3.8.3"
|
2019-10-18 18:27:34 -04:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=8.9.0"
|
|
|
|
},
|
|
|
|
"engineStrict": true,
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2020-02-29 14:40:27 -05:00
|
|
|
"pre-commit": "cargo clippy --manifest-path ../server/Cargo.toml --all-targets --all-features -- -D warnings && lint-staged"
|
2019-10-18 18:27:34 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2019-10-20 20:49:13 -04:00
|
|
|
"*.{ts,tsx,js}": [
|
2019-10-18 19:58:20 -04:00
|
|
|
"prettier --write",
|
2020-01-24 11:28:11 -05:00
|
|
|
"eslint --fix"
|
2019-10-18 18:27:34 -04:00
|
|
|
],
|
2020-01-04 17:21:33 -05:00
|
|
|
"../server/src/**/*.rs": [
|
2020-01-24 11:28:11 -05:00
|
|
|
"rustfmt --config-path ../server/.rustfmt.toml"
|
2020-01-04 17:21:33 -05:00
|
|
|
],
|
2019-10-18 18:27:34 -04:00
|
|
|
"package.json": [
|
2020-01-24 11:28:11 -05:00
|
|
|
"sortpack"
|
2019-10-18 18:27:34 -04:00
|
|
|
]
|
2019-03-20 21:22:31 -04:00
|
|
|
}
|
|
|
|
}
|