-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathcomposer.json
40 lines (40 loc) · 1.69 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
{
"name": "tawk/tawk-prestashop",
"description": "Prestashop plugin for tawk.to",
"type": "project",
"repositories": {
"tawk-url-utils": {
"type": "vcs",
"url": "https://github.com/tawk/tawk-url-utils.git"
}
},
"require": {
"tawk/url-utils": "2.0.1"
},
"license": "AFL-3.0",
"scripts": {
"post-install-cmd": "if [ -z \"$GITHUB_ACTIONS\" ]; then npm install; fi",
"lint": "phpcs -p -s -v --runtime-set ignore_warnings_on_exit true .",
"lint:fix": "php-cs-fixer fix --config='.php-cs-fixer.dist.php'",
"auto-index": "composer run auto-index:1.6 && composer run auto-index:1.7 && composer run auto-index:8",
"auto-index:1.6": "autoindex prestashop:add:index ./prestashop1.6",
"auto-index:1.7": "autoindex prestashop:add:index ./prestashop1.7",
"auto-index:8": "autoindex prestashop:add:index ./prestashop8.x",
"build": "composer run build:dev && composer run build:prod",
"build:dev": "composer install",
"build:prod": "composer run build:1.6 && composer run build:1.7 && composer run build:8",
"build:1.6": "COMPOSER_VENDOR_DIR=./prestashop1.6/vendor composer install --no-dev",
"build:1.7": "COMPOSER_VENDOR_DIR=./prestashop1.7/vendor composer install --no-dev",
"build:8": "COMPOSER_VENDOR_DIR=./prestashop8.x/vendor composer install --no-dev"
},
"require-dev": {
"prestashop/autoindex": "^2.0",
"squizlabs/php_codesniffer": "^3.10",
"friendsofphp/php-cs-fixer": "^3.62"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}