2019-03-21 01:22:31 +00:00
|
|
|
{
|
2019-04-06 05:29:20 +00:00
|
|
|
"name": "lemmy",
|
2020-02-27 17:55:23 +00:00
|
|
|
"description": "The official Lemmy UI",
|
2019-10-18 22:27:34 +00:00
|
|
|
"version": "1.0.0",
|
|
|
|
"author": "Dessalines",
|
2020-02-27 17:55:23 +00:00
|
|
|
"license": "AGPL-3.0-or-later",
|
2019-03-21 01:22:31 +00:00
|
|
|
"main": "index.js",
|
|
|
|
"scripts": {
|
2020-08-01 17:28:30 +00:00
|
|
|
"api-test": "jest src/api_tests/ --max-workers=1",
|
2019-10-18 21:56:32 +00:00
|
|
|
"build": "node fuse prod",
|
2020-02-09 04:20:11 +00:00
|
|
|
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
|
2020-02-28 21:18:47 +00:00
|
|
|
"prebuild": "node generate_translations.js",
|
2020-02-29 19:40:27 +00:00
|
|
|
"prestart": "node generate_translations.js",
|
2019-10-18 22:27:34 +00:00
|
|
|
"start": "node fuse dev"
|
2019-03-21 01:22:31 +00:00
|
|
|
},
|
|
|
|
"keywords": [],
|
|
|
|
"dependencies": {
|
2019-04-08 05:19:02 +00:00
|
|
|
"@types/autosize": "^3.0.6",
|
2020-07-27 15:42:31 +00:00
|
|
|
"@types/jest": "^26.0.7",
|
2020-04-14 16:34:52 +00:00
|
|
|
"@types/js-cookie": "^2.2.6",
|
2019-04-08 05:19:02 +00:00
|
|
|
"@types/jwt-decode": "^2.2.1",
|
2020-07-27 15:42:31 +00:00
|
|
|
"@types/markdown-it": "^10.0.1",
|
2019-04-29 17:16:43 +00:00
|
|
|
"@types/markdown-it-container": "^2.0.2",
|
2020-07-27 15:42:31 +00:00
|
|
|
"@types/node": "^14.0.26",
|
|
|
|
"@types/node-fetch": "^2.5.6",
|
2019-03-31 00:38:54 +00:00
|
|
|
"autosize": "^4.0.2",
|
2019-10-15 19:21:27 +00:00
|
|
|
"bootswatch": "^4.3.1",
|
2020-07-10 18:01:45 +00:00
|
|
|
"choices.js": "^9.0.1",
|
2020-04-14 16:34:52 +00:00
|
|
|
"classcat": "^4.0.2",
|
2020-01-06 16:22:51 +00:00
|
|
|
"dotenv": "^8.2.0",
|
2020-02-09 04:20:11 +00:00
|
|
|
"emoji-short-name": "^1.0.0",
|
2020-04-14 16:34:52 +00:00
|
|
|
"husky": "^4.2.5",
|
|
|
|
"i18next": "^19.4.1",
|
2020-03-02 16:00:34 +00:00
|
|
|
"inferno": "^7.4.2",
|
2020-07-27 15:54:42 +00:00
|
|
|
"inferno-helmet": "^5.2.1",
|
2020-07-31 15:59:46 +00:00
|
|
|
"inferno-i18next": "github:nimbusec-oss/inferno-i18next#semver:^7.4.2",
|
2020-03-02 16:00:34 +00:00
|
|
|
"inferno-router": "^7.4.2",
|
2019-03-23 01:42:57 +00:00
|
|
|
"js-cookie": "^2.2.0",
|
|
|
|
"jwt-decode": "^2.2.0",
|
2020-07-27 15:42:31 +00:00
|
|
|
"markdown-it": "^11.0.0",
|
|
|
|
"markdown-it-container": "^3.0.0",
|
2019-09-03 00:33:09 +00:00
|
|
|
"markdown-it-emoji": "^1.4.0",
|
2020-07-20 22:06:22 +00:00
|
|
|
"markdown-it-sub": "^1.0.0",
|
|
|
|
"markdown-it-sup": "^1.0.0",
|
2019-03-27 19:54:55 +00:00
|
|
|
"moment": "^2.24.0",
|
2020-04-23 15:34:32 +00:00
|
|
|
"node-fetch": "^2.6.0",
|
2020-04-14 16:34:52 +00:00
|
|
|
"prettier": "^2.0.4",
|
2020-02-09 04:20:11 +00:00
|
|
|
"reconnecting-websocket": "^4.4.0",
|
2020-04-14 16:34:52 +00:00
|
|
|
"rxjs": "^6.5.5",
|
|
|
|
"terser": "^4.6.11",
|
|
|
|
"tippy.js": "^6.1.1",
|
2020-03-19 02:30:16 +00:00
|
|
|
"toastify-js": "^1.7.0",
|
2020-04-14 16:34:52 +00:00
|
|
|
"tributejs": "^5.1.3",
|
2020-03-19 02:30:16 +00:00
|
|
|
"ws": "^7.2.3"
|
2019-03-21 01:22:31 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-07-27 15:42:31 +00:00
|
|
|
"eslint": "^7.5.0",
|
2019-10-18 21:56:32 +00:00
|
|
|
"eslint-plugin-inferno": "^7.14.3",
|
2020-07-27 15:42:31 +00:00
|
|
|
"eslint-plugin-jane": "^8.0.4",
|
2019-05-05 23:50:44 +00:00
|
|
|
"fuse-box": "^3.1.3",
|
2020-07-27 15:42:31 +00:00
|
|
|
"jest": "^26.0.7",
|
2020-04-14 16:34:52 +00:00
|
|
|
"lint-staged": "^10.1.3",
|
|
|
|
"sortpack": "^2.1.4",
|
2020-07-27 15:42:31 +00:00
|
|
|
"ts-jest": "^26.1.3",
|
2020-04-14 16:34:52 +00:00
|
|
|
"ts-node": "^8.8.2",
|
|
|
|
"ts-transform-classcat": "^1.0.0",
|
|
|
|
"ts-transform-inferno": "^4.0.3",
|
2020-02-28 21:18:47 +00:00
|
|
|
"typescript": "^3.8.3"
|
2019-10-18 22:27:34 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=8.9.0"
|
|
|
|
},
|
|
|
|
"engineStrict": true,
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2020-07-10 18:15:41 +00:00
|
|
|
"pre-commit": "cargo clippy --manifest-path ../server/Cargo.toml --all-targets --workspace -- -D warnings && lint-staged"
|
2019-10-18 22:27:34 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2019-10-21 00:49:13 +00:00
|
|
|
"*.{ts,tsx,js}": [
|
2019-10-18 23:58:20 +00:00
|
|
|
"prettier --write",
|
2020-01-24 16:28:11 +00:00
|
|
|
"eslint --fix"
|
2019-10-18 22:27:34 +00:00
|
|
|
],
|
2020-01-04 22:21:33 +00:00
|
|
|
"../server/src/**/*.rs": [
|
2020-07-28 16:42:14 +00:00
|
|
|
"rustfmt +nightly --config-path ../server/.rustfmt.toml"
|
2020-01-04 22:21:33 +00:00
|
|
|
],
|
2019-10-18 22:27:34 +00:00
|
|
|
"package.json": [
|
2020-01-24 16:28:11 +00:00
|
|
|
"sortpack"
|
2019-10-18 22:27:34 +00:00
|
|
|
]
|
2019-03-21 01:22:31 +00:00
|
|
|
}
|
|
|
|
}
|