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": {
|
2020-08-04 10:57:37 -04:00
|
|
|
"api-test": "jest src/api_tests/ -i --verbose",
|
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-07-27 11:42:31 -04:00
|
|
|
"@types/jest": "^26.0.7",
|
2020-04-14 12:34:52 -04:00
|
|
|
"@types/js-cookie": "^2.2.6",
|
2019-04-08 01:19:02 -04:00
|
|
|
"@types/jwt-decode": "^2.2.1",
|
2020-07-27 11:42:31 -04:00
|
|
|
"@types/markdown-it": "^10.0.1",
|
2019-04-29 13:16:43 -04:00
|
|
|
"@types/markdown-it-container": "^2.0.2",
|
2020-07-27 11:42:31 -04:00
|
|
|
"@types/node": "^14.0.26",
|
|
|
|
"@types/node-fetch": "^2.5.6",
|
2019-03-30 20:38:54 -04:00
|
|
|
"autosize": "^4.0.2",
|
2019-10-15 15:21:27 -04:00
|
|
|
"bootswatch": "^4.3.1",
|
2020-07-10 14:01:45 -04:00
|
|
|
"choices.js": "^9.0.1",
|
2020-04-14 12:34:52 -04:00
|
|
|
"classcat": "^4.0.2",
|
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-04-14 12:34:52 -04:00
|
|
|
"husky": "^4.2.5",
|
|
|
|
"i18next": "^19.4.1",
|
2020-03-02 11:00:34 -05:00
|
|
|
"inferno": "^7.4.2",
|
2020-07-27 11:54:42 -04:00
|
|
|
"inferno-helmet": "^5.2.1",
|
2020-07-31 11:59:46 -04:00
|
|
|
"inferno-i18next": "github:nimbusec-oss/inferno-i18next#semver:^7.4.2",
|
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-07-27 11:42:31 -04:00
|
|
|
"markdown-it": "^11.0.0",
|
|
|
|
"markdown-it-container": "^3.0.0",
|
2019-09-02 20:33:09 -04:00
|
|
|
"markdown-it-emoji": "^1.4.0",
|
2020-07-20 18:06:22 -04:00
|
|
|
"markdown-it-sub": "^1.0.0",
|
|
|
|
"markdown-it-sup": "^1.0.0",
|
2019-03-27 15:54:55 -04:00
|
|
|
"moment": "^2.24.0",
|
2020-04-23 11:34:32 -04:00
|
|
|
"node-fetch": "^2.6.0",
|
2020-04-14 12:34:52 -04:00
|
|
|
"prettier": "^2.0.4",
|
2020-02-08 23:20:11 -05:00
|
|
|
"reconnecting-websocket": "^4.4.0",
|
2020-04-14 12:34:52 -04:00
|
|
|
"rxjs": "^6.5.5",
|
|
|
|
"terser": "^4.6.11",
|
|
|
|
"tippy.js": "^6.1.1",
|
2020-03-18 22:30:16 -04:00
|
|
|
"toastify-js": "^1.7.0",
|
2020-04-14 12:34:52 -04:00
|
|
|
"tributejs": "^5.1.3",
|
2020-03-18 22:30:16 -04:00
|
|
|
"ws": "^7.2.3"
|
2019-03-20 21:22:31 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-07-27 11:42:31 -04:00
|
|
|
"eslint": "^7.5.0",
|
2019-10-18 17:56:32 -04:00
|
|
|
"eslint-plugin-inferno": "^7.14.3",
|
2020-07-27 11:42:31 -04:00
|
|
|
"eslint-plugin-jane": "^8.0.4",
|
2019-05-05 19:50:44 -04:00
|
|
|
"fuse-box": "^3.1.3",
|
2020-07-27 11:42:31 -04:00
|
|
|
"jest": "^26.0.7",
|
2020-04-14 12:34:52 -04:00
|
|
|
"lint-staged": "^10.1.3",
|
|
|
|
"sortpack": "^2.1.4",
|
2020-07-27 11:42:31 -04:00
|
|
|
"ts-jest": "^26.1.3",
|
2020-04-14 12:34:52 -04:00
|
|
|
"ts-node": "^8.8.2",
|
|
|
|
"ts-transform-classcat": "^1.0.0",
|
|
|
|
"ts-transform-inferno": "^4.0.3",
|
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-07-10 14:15:41 -04:00
|
|
|
"pre-commit": "cargo clippy --manifest-path ../server/Cargo.toml --all-targets --workspace -- -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-07-28 12:42:14 -04:00
|
|
|
"rustfmt +nightly --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
|
|
|
}
|
|
|
|
}
|