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

- bundle js using parcel - add markdown editor, html editor, dropdown and tooltip features using third-party packages - integrate optimized inline svg icons from RemixIcon using svgo and a php helper - add scripts in package.json to bundle icons, images, css and js - update tailwind config to add purgecss lookups and typography plugin - refactor views to add missing pages in user journey - update admin's holy grail layout using css grid
72 lines
2.3 KiB
JSON
72 lines
2.3 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": {
|
|
"watch:js": "parcel watch app/Views/_assets/*.js --out-dir public/assets",
|
|
"build:js": "parcel build app/Views/_assets/*.js --out-dir public/assets",
|
|
"watch:css": "postcss app/Views/_assets/styles/index.css -o public/assets/index.css -w",
|
|
"build:css": "postcss app/Views/_assets/styles/index.css -o public/assets/index.css",
|
|
"build:icons": "svgo -f app/Views/_assets/icons -o public/assets/icons --config=./.svgo.icons.yml",
|
|
"build:svg": "svgo -f app/Views/_assets/images -o public/assets/images --config=./.svgo.yml",
|
|
"build": "npm run build:js && cross-env NODE_ENV=production npm run build:css && npm run build:icons && npm run build:svg",
|
|
"commit": "git-cz"
|
|
},
|
|
"dependencies": {
|
|
"@popperjs/core": "^2.4.4",
|
|
"codemirror": "^5.55.0",
|
|
"easymde": "^2.11.0",
|
|
"prosemirror-example-setup": "^1.1.2",
|
|
"prosemirror-markdown": "^1.5.0",
|
|
"prosemirror-state": "^1.3.3",
|
|
"prosemirror-view": "^1.15.2"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^9.0.1",
|
|
"@commitlint/config-conventional": "^9.0.1",
|
|
"@prettier/plugin-php": "^0.14.2",
|
|
"@tailwindcss/custom-forms": "^0.2.1",
|
|
"@tailwindcss/typography": "^0.2.0",
|
|
"cross-env": "^7.0.2",
|
|
"cssnano": "^4.1.10",
|
|
"cz-conventional-changelog": "^3.2.0",
|
|
"eslint": "^7.5.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
"husky": "^4.2.5",
|
|
"lint-staged": "^10.2.11",
|
|
"parcel-bundler": "^1.12.4",
|
|
"postcss-cli": "^7.1.1",
|
|
"postcss-import": "^12.0.1",
|
|
"postcss-preset-env": "^6.7.0",
|
|
"prettier": "2.0.5",
|
|
"svgo": "^1.3.2",
|
|
"tailwindcss": "^1.4.6"
|
|
},
|
|
"browserslist": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,css,md,php}": "prettier --write"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
}
|
|
}
|