-
Notifications
You must be signed in to change notification settings - Fork 18
/
composer.json
45 lines (45 loc) · 1.58 KB
/
composer.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
{
"name": "tawk/tawk-wordpress",
"description": "Wordpress plugin for tawk.to",
"type": "project",
"license": "GPL-3.0",
"version": "0.8.7",
"require": {
"tawk/url-utils": "2.0.1"
},
"require-dev": {
"php-webdriver/webdriver": "^1.12",
"phpcompatibility/php-compatibility": "^9.3",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.6",
"woocommerce/woocommerce-sniffs": "^0.1.1",
"wp-coding-standards/wpcs": "^2.3"
},
"autoload-dev": {
"psr-4": {
"Tawk\\Tests\\": "tests"
}
},
"repositories": {
"tawk-url-utils": {
"type": "vcs",
"url": "https://github.com/tawk/tawk-url-utils.git"
}
},
"scripts": {
"test": "phpunit",
"build": "composer run build:dev && composer run build:prod",
"build:dev": "COMPOSER_VENDOR_DIR=vendor composer install",
"build:prod": "COMPOSER_VENDOR_DIR=tawkto/vendor composer install --no-dev",
"lint": "phpcs -p -s -v --ignore=tmp/* --runtime-set ignore_warnings_on_exit true .",
"lint:fix": "phpcbf -p -s -v .; err=$?; if [ $err -eq 1 ]; then exit 0; else exit $err; fi;",
"package": "composer run clean && mkdir -p ./tmp/tawkto-live-chat && cp -r ./tawkto/* ./tmp/tawkto-live-chat && (cd ./tmp && zip -9 -rq ./tawkto-live-chat.zip ./tawkto-live-chat)",
"clean": "rm -rf ./tmp"
},
"config": {
"process-timeout": 0,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}