package.json
{ "name": "shout-it", "version": "1.0.0", "description": "Telegram sales and CRM bot", "main": "index.js", "author": "Tim Hinz <tim@chargeover.com>", "license": "MIT", "private": true, "workspaces": [ "packages/*" ], "scripts": { "clean": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +", "test": "lerna run test --stream", "test:coverage": "lerna run test:coverage --stream", "lint": "concurrently -c blue,green,red -n StyleLint,ESLint,Markdownlint 'yarn lint:style' 'yarn lint:js' 'yarn lint:markdown'", "lint:fix": "concurrently -c blue,green,red -n StyleLint,ESLint,Markdownlint 'yarn lint:style:fix' 'yarn lint:js:fix' 'yarn lint:markdown:fix'", "lint:markdown": "prettier --prose-wrap always --check \"**/*.md\" && markdownlint --ignore-path .gitignore .", "lint:markdown:fix": "prettier --prose-wrap always --write \"**/*.md\" && markdownlint --fix --ignore-path .gitignore .", "lint:js": "eslint --ext \".js,.vue,.ts\" --ignore-path .gitignore .", "lint:js:fix": "eslint --ext \".js,.vue,.ts\" --fix --ignore-path .gitignore .", "lint:style": "stylelint \"**/*.{css,scss,sass}\" --ignore-path .gitignore --allow-empty-input", "lint:style:fix": "stylelint \"**/*.{css,scss,sass}\" --ignore-path .gitignore --fix --allow-empty-input", "docker:up": "docker compose -f docker/docker-compose.yml -f docker/docker-compose.dev.yml -p shoutit up -d --build --force-recreate", "docker:down": "docker compose -p shoutit down", "docker:restart": "yarn docker:down && yarn docker:up", "docker:build": "concurrently --timings -c blue,green -n app,api 'yarn docker:build:app' 'yarn docker:build:api'", "docker:build:dev": "concurrently --timings -c blue,green -n app-dev,api-dev 'yarn docker:build:app:dev' 'yarn docker:build:api:dev'", "docker:build:api": "docker build --target api -t shoutitbot/api:latest -f docker/Dockerfile . --build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') --build-arg VCS_REF=$(git rev-parse --short HEAD) --build-arg BUILD_VERSION=latest", "docker:build:api:dev": "docker build --target api_dev -t shoutitbot/api:dev -f docker/Dockerfile .", "docker:build:app": "docker build --target app -t shoutitbot/app:latest -f docker/Dockerfile . --build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') --build-arg VCS_REF=$(git rev-parse --short HEAD) --build-arg BUILD_VERSION=latest", "docker:build:app:dev": "docker build --target app_dev -t shoutitbot/app:dev -f docker/Dockerfile .", "prepare": "husky install" }, "devDependencies": { "@babel/core": "^7.18.5", "@babel/eslint-parser": "^7.18.2", "@commitlint/cli": "^17.0.2", "@commitlint/config-conventional": "^17.0.2", "concurrently": "^7.2.2", "eslint": "^8.2.0", "eslint-config-airbnb": "19.0.4", "eslint-config-prettier": "^8.5.0", "eslint-plugin-compat": "^4.0.2", "eslint-plugin-import": "^2.25.3", "eslint-plugin-jsx-a11y": "^6.5.1", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.28.0", "eslint-plugin-react-hooks": "^4.3.0", "eslint-plugin-tailwindcss": "^3.5.2", "eslint-plugin-vue": "^9.1.1", "husky": "^8.0.1", "lerna": "^5.1.6", "lint-staged": "^13.0.2", "markdownlint": "^0.26.0", "markdownlint-cli": "^0.31.1", "postcss": "^8.4.14", "postcss-html": "^1.4.1", "prettier": "^2.7.1", "stylelint": "^14.9.1", "stylelint-config-prettier": "^9.0.3", "stylelint-config-recommended-vue": "^1.4.0", "stylelint-config-sass-guidelines": "^9.0.1", "stylelint-config-standard": "^26.0.0", "stylelint-config-tailwindcss": "^0.0.6", "stylelint-no-unsupported-browser-features": "^5.0.3", "tailwindcss": "^3.1.4" }, "lint-staged": { "*.{js,vue}": "eslint --ignore-path .gitignore --cache --fix", "*.{css,scss,sass}": "stylelint --ignore-path .gitignore --cache --fix --allow-empty-input", "*.{md,mdx}": [ "prettier --prose-wrap always --write", "markdownlint --fix --ignore-path .gitignore" ] }}