forked from Automattic/WP-Job-Manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.4 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
{
"name": "wp-job-manager",
"version": "2.2.2",
"description": "WP Job Manager",
"author": "Automattic",
"license": "GPL-2.0-or-later",
"keywords": [
"wordpress-plugin"
],
"homepage": "http://wordpress.org/plugins/wp-job-manager/",
"repository": {
"type": "git",
"url": "https://github.com/Automattic/WP-Job-Manager.git"
},
"bugs": {
"url": "https://github.com/Automattic/WP-Job-Manager/issues"
},
"engines": {
"npm": ">=7.0.0"
},
"dependencies": {
"select2": "4.0.13"
},
"devDependencies": {
"@wordpress/jest-preset-default": "11.1.0",
"@wordpress/scripts": "26.1.0",
"chalk": "^5.3.0",
"dotenv": "^16.3.1",
"file-loader": "6.2.0",
"grunt": "^1.5.3",
"husky": "7.0.4",
"inquirer": "^9.2.10",
"lint-staged": "12.3.4",
"zx": "^7.2.3"
},
"scripts": {
"build": "npm run build:assets && npm run archive",
"build:assets": "wp-scripts build",
"build:vendor": "cp ./node_modules/select2/dist/css/select2.min.css ./node_modules/select2/dist/js/select2.full.min.js ./assets/lib/select2",
"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:php": "./vendor/bin/phpcs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"prepare": "husky install",
"start": "wp-scripts start",
"test": "npm run test-php",
"test-php": "./vendor/bin/phpunit",
"i18n:build": "npm run i18n:php",
"i18n:php": "wp i18n make-pot --exclude=lib,build,vendor,node_modules --skip-js --headers='{\"Last-Translator\":null,\"Language-Team\":null,\"Report-Msgid-Bugs-To\":\"https://wordpress.org/support/plugin/wp-job-manager/\"}' . languages/wp-job-manager.pot",
"release": "./scripts/prepare-release.sh"
},
"lint-staged": {
"*.php": [
"php -l -d display_errors=0",
"./vendor/bin/phpcs --standard=phpcs.xml.dist --colors --encoding=utf-8 -p"
]
},
"config": {
"wp_org_slug": "wp-job-manager"
}
}