Files
czchan/package.json
2026-02-03 17:16:05 +01:00

71 lines
2.1 KiB
JSON
Executable File

{
"name": "czchan",
"version": "0.0.1-INDEV",
"description": "Český anonymní imageboard",
"main": "./src/main.ts",
"browserslist": [
">0.0%"
],
"scripts": {
"test": "echo \"Léky teď\"",
"dirs": "mkdir -p ./public/{css,js,uploads,banners,captcha} ./public/uploads/thumb",
"backend": "npx xss-scan && npx tsc",
"css": "npx sass ./web/sass:./public/css && npx postcss ./public/css/**/*.css --use autoprefixer --replace",
"build": "npm run backend && npm run css && npm run map-assets",
"start": "node ./dist/src/main.js",
"configure": "node ./dist/scripts/configure.js",
"map-assets": "node ./dist/scripts/map_assets.js",
"create-admin": "node ./dist/scripts/create_admin.js"
},
"repository": {
"type": "git",
"url": "https://git.czchan.org/sneedmaster/czchan"
},
"author": "sneedmaster <dev@czchan.org>",
"license": "AGPL-3.0-only",
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/bcrypt": "^6.0.0",
"@types/cookie-parser": "^1.4.10",
"@types/encoding-japanese": "^2.2.1",
"@types/express": "^5.0.6",
"@types/formidable": "^3.4.6",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^25.0.10",
"@types/pg": "^8.16.0",
"@types/timestring": "^7.0.0",
"autoprefixer": "^10.4.23",
"postcss-cli": "^11.0.1",
"prettier": "^3.8.1",
"prettier-plugin-css-order": "^2.2.0"
},
"dependencies": {
"@kitajs/html": "^4.2.11",
"@kitajs/ts-html-plugin": "^4.1.3",
"apache-crypt": "^1.2.6",
"async-mutex": "^0.5.0",
"bcrypt": "^6.0.0",
"captcha-canvas": "^3.4.0",
"cookie-parser": "^1.4.7",
"encoding-japanese": "^2.2.0",
"execa": "^9.6.1",
"express": "^5.2.1",
"formidable": "^3.5.4",
"iovalkey": "^0.3.3",
"ipaddr.js": "^2.3.0",
"jsonwebtoken": "^9.0.3",
"pg": "^8.17.2",
"postgres-migrations": "^5.3.0",
"prettier": "^3.8.1",
"read": "^5.0.1",
"sass": "^1.97.3",
"sharp": "^0.34.5",
"superjson": "^2.2.6",
"timestring": "^7.0.0",
"typescript": "^5.9.3",
"unix-crypt-td-js": "^1.1.4",
"uuid": "^13.0.0",
"zod": "^4.3.6"
}
}