Skip to content
Snippets Groups Projects
package.json 3.4 KiB
Newer Older
{
  "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": "npm run build:js && cross-env NODE_ENV=production npm run build:css && npm run build:icons && npm run build:svg",
    "watch:js": "rollup --config --watch",
    "build:js": "rollup --config",
    "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 -r --config=./.svgo.yml",
    "lint": "eslint --ext js,ts app/Views/_assets",
    "lint:fix": "eslint --ext js,ts app/Views/_assets --fix",
    "lint:css": "stylelint \"app/Views/_assets/**/*.css\"",
    "prettier:fix": "prettier --write --ignore-path .gitignore .",
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
      "pre-commit": "lint-staged"
    "*.{js,ts,css,md,json,php}": "prettier --write",
    "*.{ts,js}": "eslint --ext js,ts,tsx app/Views/_assets --fix",
    "*.css": "stylelint --fix"
      "path": "./node_modules/cz-conventional-changelog"