-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
43 lines (43 loc) · 1.66 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
{
"name": "sensei-content-drip",
"version": "2.1.1",
"description": "Sensei Content Drip",
"author": "Automattic",
"license": "GPL-2.0-or-later",
"keywords": [
"wordpress-plugin"
],
"homepage": "https://woocommerce.com/products/sensei-content-drip/",
"repository": {
"type": "git",
"url": "https://github.com/woothemes/sensei-content-drip.git"
},
"bugs": {
"url": "https://github.com/woocommerce/sensei-content-drip/issues"
},
"engines": {
"node": ">=0.8.0",
"npm": ">=1.1.0"
},
"devDependencies": {
"@wordpress/scripts": "16.1.2",
"file-loader": "6.2.0"
},
"scripts": {
"build": "npm run build:assets && npm run archive",
"build:assets": "wp-scripts build",
"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",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses",
"format:js": "wp-scripts format-js",
"lint:css": "wp-scripts lint-style assets/css",
"lint:js": "wp-scripts lint-js assets/js",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"start": "wp-scripts start",
"i18n:build": "npm run i18n:php",
"i18n:php": "wp i18n make-pot --exclude=lib,vendor,node_modules --skip-js --headers='{\"Last-Translator\":null,\"Language-Team\":null,\"Report-Msgid-Bugs-To\":\"https://woocommerce.com/support\"}' . lang/sensei-content-drip.pot",
"test-php": "./vendor/bin/phpunit"
}
}