mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00

- add james-heinrich/getid3 library as a dependency to composer.json - update DEPENDENCIES.md file - fix episodes table migration script - add js devDependencies: prettier, @prettier/plugin-php and lint-staged to automatically format staged files before commit - reformat all files to the prettier format - refactor code by separating some logic as helper functions - overwrite existing files when uploading new files with the same name fixes #1
43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"name": "castopod",
|
|
"version": "0.0.0-development",
|
|
"description": "Castopod is an open-source hosting platform made for podcasters who want engage and interact with their audience.",
|
|
"private": true,
|
|
"license": "AGPL-3.0-or-later",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://code.podlibre.org/podlibre/castopod.git"
|
|
},
|
|
"scripts": {
|
|
"build:css": "postcss app/Javascript/assets/styles/index.css -o public/index.css",
|
|
"watch:css": "postcss app/Javascript/assets/styles/index.css -o public/index.css -w",
|
|
"commit": "git-cz"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^8.3.5",
|
|
"@commitlint/config-conventional": "^8.3.4",
|
|
"@prettier/plugin-php": "^0.14.2",
|
|
"@tailwindcss/custom-forms": "^0.2.1",
|
|
"cz-conventional-changelog": "^3.2.0",
|
|
"husky": "^4.2.5",
|
|
"lint-staged": "^10.2.9",
|
|
"postcss-cli": "^7.1.1",
|
|
"prettier": "2.0.5",
|
|
"tailwindcss": "^1.4.6"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,css,md,php}": "prettier --write"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "cz-conventional-changelog"
|
|
}
|
|
}
|
|
}
|