mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-25 05:41:16 +00:00
73a9bae2ff
* Moving from yarn to pnpm. * Exclude pnp-lock. * Exclude pnp-lock 2. * Forgot 2 more. * Upgrading deps.
91 lines
3.1 KiB
JSON
91 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": "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": "pnpm clean && node generate_translations.mjs && pnpm tailwind && pnpm generate_rss_feed",
|
|
"prebuild:prod": "pnpm clean && node generate_translations.mjs && pnpm tailwind && pnpm 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",
|
|
"start": "pnpm build:dev --watch & 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.9",
|
|
"@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": "^12.0.2",
|
|
"countries-list": "^3.0.6",
|
|
"daisyui": "^4.6.0",
|
|
"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": "^14.0.0",
|
|
"node-fetch": "^3.3.2",
|
|
"qrcode": "^1.5.3",
|
|
"run-node-webpack-plugin": "^1.3.0",
|
|
"tailwindcss": "^3.3.5",
|
|
"webpack": "5.90.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.11.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": "^9.0.6",
|
|
"lint-staged": "^15.0.2",
|
|
"lodash": "^4.17.21",
|
|
"prettier": "^3.0.3",
|
|
"rimraf": "^5.0.5",
|
|
"sass": "^1.69.5",
|
|
"sass-loader": "^14.0.0",
|
|
"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"
|
|
]
|
|
}
|
|
}
|