"license": "AGPL-3.0-or-later",
"main": "index.js",
"scripts": {
- "api-test": "jest src/api_tests/api.spec.ts",
+ "api-test": "jest src/api_tests/ -i --verbose",
"build": "node fuse prod",
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
"prebuild": "node generate_translations.js",
"husky": "^4.2.5",
"i18next": "^19.4.1",
"inferno": "^7.4.2",
- "inferno-i18next": "nimbusec-oss/inferno-i18next",
+ "inferno-helmet": "^5.2.1",
+ "inferno-i18next": "github:nimbusec-oss/inferno-i18next#semver:^7.4.2",
"inferno-router": "^7.4.2",
"js-cookie": "^2.2.0",
"jwt-decode": "^2.2.0",
+ "lemmy-js-client": "^1.0.9",
"markdown-it": "^11.0.0",
"markdown-it-container": "^3.0.0",
"markdown-it-emoji": "^1.4.0",
"node-fetch": "^2.6.0",
"prettier": "^2.0.4",
"reconnecting-websocket": "^4.4.0",
+ "register-service-worker": "^1.7.1",
"rxjs": "^6.5.5",
"terser": "^4.6.11",
"tippy.js": "^6.1.1",
"engineStrict": true,
"husky": {
"hooks": {
- "pre-commit": "cargo clippy --manifest-path ../server/Cargo.toml --all-targets --workspace -- -D warnings && lint-staged"
+ "pre-commit": "cargo +nightly clippy --manifest-path ../server/Cargo.toml --all-targets --workspace -- -D warnings && lint-staged"
}
},
"lint-staged": {
"eslint --fix"
],
"../server/src/**/*.rs": [
- "rustfmt --config-path ../server/.rustfmt.toml"
+ "rustfmt +nightly --config-path ../server/.rustfmt.toml"
],
"package.json": [
"sortpack"