mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-12-05 02:31:18 +00:00
24e1b3e06e
* generate rss feed from markdown news * Fix comments * also add auto discovery to news sub page, add feed butto next to news title
90 lines
3.1 KiB
JSON
90 lines
3.1 KiB
JSON
{
|
|
"name": "joinlemmy-site",
|
|
"description": "A site for join-lemmy",
|
|
"author": "Dessalines <tyhou13@gmx.com>",
|
|
"license": "AGPL-3.0",
|
|
"scripts": {
|
|
"build:dev": "webpack --mode=development",
|
|
"build:prod": "webpack --mode=production",
|
|
"clean": "yarn run rimraf dist",
|
|
"crawl": "node crawl.mjs",
|
|
"update-donations": "node update_donations.mjs",
|
|
"lint": "node generate_translations.mjs && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src && prettier --check \"src/**/*.{ts,tsx,js,css,scss}\"",
|
|
"prebuild:dev": "yarn clean && node generate_translations.mjs && yarn tailwind && yarn generate_rss_feed",
|
|
"prebuild:prod": "yarn clean && node generate_translations.mjs && yarn tailwind && yarn generate_rss_feed",
|
|
"generate_rss_feed": "node generate_rss_feed.mjs",
|
|
"tailwind": "tailwindcss -i ./src/style.css -o ./dist/styles/styles.css --minify",
|
|
"prepare": "husky install",
|
|
"start": "yarn build:dev --watch & yarn tailwind --watch"
|
|
},
|
|
"repository": "https://github.com/LemmyNet/joinlemmy-site",
|
|
"dependencies": {
|
|
"@babel/core": "^7.23.2",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@babel/plugin-transform-runtime": "^7.23.2",
|
|
"@babel/plugin-transform-typescript": "^7.22.15",
|
|
"@babel/preset-env": "7.23.2",
|
|
"@babel/preset-typescript": "^7.23.2",
|
|
"@babel/runtime": "^7.23.2",
|
|
"@glidejs/glide": "3.5.2",
|
|
"@tailwindcss/typography": "^0.5.10",
|
|
"babel-loader": "^9.1.3",
|
|
"babel-plugin-inferno": "^6.7.0",
|
|
"classnames": "^2.3.2",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"countries-list": "^3.0.6",
|
|
"daisyui": "^3.9.4",
|
|
"express": "~4.18.2",
|
|
"fs-extra": "^11.2.0",
|
|
"i18next": "^23.6.0",
|
|
"inferno": "^8.2.2",
|
|
"inferno-create-element": "^8.2.2",
|
|
"inferno-helmet": "^5.2.1",
|
|
"inferno-hydrate": "^8.2.2",
|
|
"inferno-i18next": "github:nimbusec-oss/inferno-i18next#semver:^7.4.2",
|
|
"inferno-router": "^8.2.2",
|
|
"inferno-server": "^8.2.2",
|
|
"markdown-it": "^13.0.2",
|
|
"node-fetch": "^3.3.2",
|
|
"qrcode": "^1.5.3",
|
|
"run-node-webpack-plugin": "^1.3.0",
|
|
"tailwindcss": "^3.3.5",
|
|
"webpack": "5.89.0",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-node-externals": "^3.0.0",
|
|
"xml2js": "^0.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.20",
|
|
"@types/glidejs__glide": "^3.6.3",
|
|
"@types/node": "^20.8.10",
|
|
"@types/node-fetch": "^2.6.8",
|
|
"@types/qrcode": "^1.5.4",
|
|
"@typescript-eslint/eslint-plugin": "^6.9.1",
|
|
"@typescript-eslint/parser": "^6.9.1",
|
|
"css-loader": "^6.8.1",
|
|
"eslint": "^8.52.0",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"husky": "^8.0.3",
|
|
"lint-staged": "^15.0.2",
|
|
"prettier": "^3.0.3",
|
|
"rimraf": "^5.0.5",
|
|
"sass": "^1.69.5",
|
|
"sass-loader": "^13.3.2",
|
|
"style-loader": "^3.3.3",
|
|
"terser": "^5.24.0",
|
|
"typescript": "^5.2.2",
|
|
"webpack-dev-server": "4.15.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.9.0"
|
|
},
|
|
"engineStrict": true,
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
]
|
|
}
|
|
}
|