-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathpackage.json
24 lines (24 loc) · 1 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
{
"name": "wp-rest-api-log",
"version": "1.6.9",
"repository": {
"type": "git",
"url": "https://github.com/petenelson/wp-rest-api-log.git"
},
"license": "GPL-2.0-or-later",
"homepage": "https://github.com/petenelson/wp-rest-api-log",
"scripts": {
"clean": "rm -rf release && mkdir release",
"build": "npm run clean && npm run readme-to-md && npm run copy",
"copy": "npm run copy:php && npm run copy:txt && npm run copy:dist",
"readme-to-md": "wp-readme-to-md --screenshot-url=https://raw.githubusercontent.com/petenelson/wp-rest-api-log/master/assets/{screenshot}.png && npm run badges",
"badges": "awk '/WordPress plugin to log REST API requests and responses/{while(getline line<\"badges.md\"){print line}} //' readme.md >readmetmp && mv readmetmp readme.md",
"copy:php": "cp *.php release && cp -R admin release && cp -R includes release",
"copy:txt": "cp *.txt release",
"copy:dist": "cp -R dist release"
},
"dependencies": {},
"devDependencies": {
"wp-readme-to-markdown": "^1.0.1"
}
}