mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-30 00:01:20 +00:00
85 lines
2.8 KiB
JSON
85 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",
|
|
"prepare": "husky install",
|
|
"start": "yarn build:dev --watch & yarn tailwind --watch"
|
|
},
|
|
"repository": "https://github.com/LemmyNet/joinlemmy-site",
|
|
"dependencies": {
|
|
"@typescript-eslint/parser": "^5.60.1",
|
|
"express": "~4.18.2",
|
|
"i18next": "^23.2.6",
|
|
"inferno": "^8.2.1",
|
|
"inferno-create-element": "^8.2.1",
|
|
"inferno-helmet": "^5.2.1",
|
|
"inferno-hydrate": "^8.2.1",
|
|
"inferno-i18next": "github:nimbusec-oss/inferno-i18next#semver:^7.4.2",
|
|
"inferno-router": "^8.2.1",
|
|
"inferno-server": "^8.2.1",
|
|
"markdown-it": "^13.0.1",
|
|
"node-fetch": "^3.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.22.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@babel/plugin-transform-runtime": "^7.22.5",
|
|
"@babel/plugin-transform-typescript": "^7.22.5",
|
|
"@babel/preset-env": "7.22.5",
|
|
"@babel/preset-typescript": "^7.22.5",
|
|
"@babel/runtime": "^7.22.5",
|
|
"@tailwindcss/typography": "^0.5.10",
|
|
"@types/express": "^4.17.17",
|
|
"@types/node": "^20.3.2",
|
|
"@types/node-fetch": "^2.6.4",
|
|
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
|
"babel-loader": "^9.1.2",
|
|
"babel-plugin-inferno": "^6.6.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.7.5",
|
|
"eslint": "^8.43.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"husky": "^8.0.3",
|
|
"lint-staged": "^13.2.3",
|
|
"prettier": "^3.0.0",
|
|
"rimraf": "^5.0.1",
|
|
"run-node-webpack-plugin": "^1.3.0",
|
|
"sass": "^1.63.6",
|
|
"sass-loader": "^13.3.2",
|
|
"sortpack": "^2.3.4",
|
|
"style-loader": "^3.3.3",
|
|
"tailwindcss": "^3.3.3",
|
|
"terser": "^5.18.2",
|
|
"typescript": "^5.1.6",
|
|
"webpack": "5.88.1",
|
|
"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"
|
|
]
|
|
}
|
|
}
|