-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathpackage.json
52 lines (52 loc) · 1.8 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
{
"name": "woocommerce-google-analytics-integration",
"title": "WooCommerce Google Analytics Integration",
"version": "1.8.6",
"license": "GPL-2.0",
"homepage": "https://wordpress.org/plugins/woocommerce-google-analytics-integration/",
"repository": {
"type": "git",
"url": "git://github.com/woocommerce/woocommerce-google-analytics-integration.git"
},
"dependencies": {
"@wordpress/hooks": "^3.22.0",
"@wordpress/i18n": "3.15.0"
},
"devDependencies": {
"@wordpress/eslint-plugin": "^8.0.0",
"@wordpress/scripts": "^24.6.0",
"eslint": "^7.17.0",
"node-wp-i18n": "~1.2.3",
"prettier": "npm:wp-prettier@^2.8.5"
},
"assets": {
"js": {
"min": "assets/js/*.min.js",
"js": "assets/js/*.js"
}
},
"scripts": {
"dev": "NODE_ENV=development wp-scripts build",
"start": "wp-scripts start",
"makepot": "wpi18n makepot --domain-path languages --pot-file $npm_package_name.pot --type plugin --main-file $npm_package_name.php --exclude node_modules,tests,docs,assets/js/src",
"lint:js": "wp-scripts lint-js",
"lint:php": "vendor/bin/phpcs",
"lint:php:diff": "./bin/phpcs-diff.sh",
"archive": "composer archive --file=$npm_package_name --format=zip",
"postarchive": "rm -rf $npm_package_name && unzip $npm_package_name.zip -d $npm_package_name && rm $npm_package_name.zip && zip -r $npm_package_name.zip $npm_package_name && rm -rf $npm_package_name",
"build": "NODE_ENV=production wp-scripts build && npm run makepot && npm run archive",
"prebuild": "rm -rf ./vendor"
},
"engines": {
"node": ">=12",
"npm": ">=6"
},
"config": {
"wp_org_slug": "woocommerce-google-analytics-integration",
"version_replace_paths": [
"includes",
"tests",
"woocommerce-google-analytics-integration.php"
]
}
}