-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
54 lines (54 loc) · 2.9 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
{
"name": "@webberzone/top-10",
"version": "4.0.0",
"description": "Track daily and total visits on your blog posts. Display the count as well as popular and trending posts.",
"author": "WebberZone",
"license": "GPL-2.0-or-later",
"main": "index.js",
"scripts": {
"build": "wp-scripts build --webpack-src-dir=includes/frontend/blocks/src/ --output-path=includes/frontend/blocks/build/",
"build:query": "wp-scripts build --webpack-src-dir=includes/pro/blocks/src/query/ --output-path=includes/pro/blocks/build/query/",
"build:featured-image": "wp-scripts build --webpack-src-dir=includes/pro/blocks/src/featured-image/ --output-path=includes/pro/blocks/build/featured-image/",
"build:popular-posts-pro": "wp-scripts build --webpack-src-dir=includes/pro/blocks/src/popular-posts-pro/ --output-path=includes/pro/blocks/build/popular-posts-pro/",
"build:pro": "npm run build:query && npm run build:featured-image && npm run build:popular-posts-pro",
"build:all": "npm run build && npm run build:pro",
"format": "wp-scripts format ./includes/pro/blocks/src/ ./includes/frontend/blocks/src/",
"format:free": "wp-scripts format ./includes/frontend/blocks/src/",
"format:pro": "wp-scripts format ./includes/pro/blocks/src/",
"lint:css": "wp-scripts lint-style ./includes/pro/blocks/src/ ./includes/frontend/blocks/src/",
"lint:js": "wp-scripts lint-js ./includes/pro/blocks/src/ ./includes/frontend/blocks/src/",
"packages-update": "wp-scripts packages-update",
"start": "wp-scripts start --webpack-src-dir=includes/frontend/blocks/src/ --output-path=includes/frontend/blocks/build/",
"start:featured-image": "wp-scripts start --webpack-src-dir=includes/pro/blocks/src/featured-image/ --output-path=includes/pro/blocks/build/featured-image/",
"start:popular-posts-pro": "wp-scripts start --webpack-src-dir=includes/pro/blocks/src/popular-posts-pro/ --output-path=includes/pro/blocks/build/popular-posts-pro/",
"start:query": "wp-scripts start --webpack-src-dir=includes/pro/blocks/src/query/ --output-path=includes/pro/blocks/build/query/",
"start:pro": "npm run start:query & npm run start:featured-image & npm run start:popular-posts-pro",
"start:all": "npm run start & npm run start:pro",
"zip": "wp-scripts plugin-zip"
},
"files": [
"css",
"freemius",
"includes",
"languages",
"README.md",
"composer.json",
"top-10.php",
"index.php",
"uninstaller.php",
"changelog.txt",
"readme.txt",
"default.png",
"default2.png",
"wpml-config.xml"
],
"devDependencies": {
"@wordpress/prettier-config": "^4.5.0",
"@wordpress/scripts": "^27"
},
"dependencies": {
"@wordpress/icons": "^10.5.0",
"clsx": "^2.1.1",
"uuid": "^10.0.0"
}
}