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