mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-22 20:31:17 +00:00
86 lines
2.8 KiB
JSON
86 lines
2.8 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",
|
|
"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",
|
|
"prebuild:prod": "yarn clean && node generate_translations.mjs && yarn tailwind",
|
|
"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": {
|
|
"@typescript-eslint/parser": "^6.7.5",
|
|
"classnames": "^2.3.2",
|
|
"express": "~4.18.2",
|
|
"i18next": "^23.5.1",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"@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",
|
|
"@tailwindcss/typography": "^0.5.10",
|
|
"@types/express": "^4.17.19",
|
|
"@types/node": "^20.8.4",
|
|
"@types/node-fetch": "^2.6.6",
|
|
"@typescript-eslint/eslint-plugin": "^6.7.5",
|
|
"babel-loader": "^9.1.3",
|
|
"babel-plugin-inferno": "^6.7.0",
|
|
"clean-webpack-plugin": "^4.0.0",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"countries-list": "^2.6.1",
|
|
"css-loader": "^6.8.1",
|
|
"daisyui": "^3.9.2",
|
|
"eslint": "^8.51.0",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"husky": "^8.0.3",
|
|
"lint-staged": "^14.0.1",
|
|
"prettier": "^3.0.3",
|
|
"rimraf": "^5.0.5",
|
|
"run-node-webpack-plugin": "^1.3.0",
|
|
"sass": "^1.69.3",
|
|
"sass-loader": "^13.3.2",
|
|
"sortpack": "^2.3.5",
|
|
"style-loader": "^3.3.3",
|
|
"tailwindcss": "^3.3.3",
|
|
"terser": "^5.21.0",
|
|
"typescript": "^5.2.2",
|
|
"webpack": "5.88.2",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-dev-server": "4.15.1",
|
|
"webpack-node-externals": "^3.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.9.0"
|
|
},
|
|
"engineStrict": true,
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"package.json": [
|
|
"sortpack"
|
|
]
|
|
}
|
|
}
|