-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
23 lines (23 loc) · 1.41 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
{
"name": "wp-hotelier-wpml",
"description": "Integrate WPML with WP Hotelier.",
"version": "1.4.0",
"homepage": "https://wphotelier.com/",
"author": "Benito Lopez http://lopezb.com/",
"scripts": {
"run:pot": "rm -rf dist; wp-pot --src '**/*.php' --dest-file languages/wp-hotelier-wpml.pot --domain wp-hotelier-wpml --package 'WP Hotelier Multilingual' --bug-report https://wphotelier.com --team 'WP Hotelier <[email protected]>'",
"run:sync": "rsync -azP -e \"ssh -p ${npm_config_P_SSHPORT}\" --delete --exclude='package.json' --exclude='.*/' --exclude='.*' --exclude='node_modules/' --exclude='dist/' . \"${npm_config_P_SYNCDEST}\"",
"build:pot": "onchange '**/*.php' -i -w -- npm run run:pot",
"sync": "onchange '**/*' -e 'dist' -e '.git' -e 'languages' -w -- npm run run:sync",
"dirs": "mkdir -p languages; touch languages/wp-hotelier-wpml.pot;",
"zip": "rsync -azP -e --delete --exclude='package.json' --exclude='.*/' --exclude='.*' --exclude='node_modules/' --exclude='dist/' . dist/wp-hotelier-wpml; cd dist; zip -r wp-hotelier-wpml.$npm_package_version.zip wp-hotelier-wpml; cd ..",
"build": "npm run dirs -s; npm-run-all --silent --parallel build:*",
"build-sync": "npm run dirs -s; npm-run-all --silent --parallel build:* sync",
"dist": "rm -rf dist; mkdir -p dist/wp-hotelier-wpml; npm run zip -s"
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"wp-pot-cli": "^1.5.0"
}
}