-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 3.98 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "shout-it",
"version": "1.0.0",
"description": "Telegram sales and CRM bot",
"main": "index.js",
"author": "Tim Hinz <[email protected]>",
"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"
]
}
}