-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 1.64 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
{
"name": "accordion-faq-block",
"version": "1.1.3",
"description": "Accordion FAQ Block.",
"author": "Elmastudio",
"license": "GPL-2.0-or-later",
"main": "./src/index.js'",
"scripts": {
"start": "wp-scripts start",
"build": "wp-scripts build",
"server:start": "npx wp-env start && npm run cli:install-gutenberg && npm run cli:permalinks",
"server:stop": "npx wp-env stop",
"server:clean": "npx wp-env clean all && npm run server:stop && rm -rf node_modules wordpress",
"server:destroy": "npx wp-env destroy",
"format:js": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"test:e2e": "wp-scripts test-e2e",
"test:unit": "wp-scripts test-unit-js",
"wp": "npx wp-env run cli wp",
"zip": "npm run build && npm run zip:mkdir && bestzip $npm_package_config_slug-$npm_package_version.zip ./$npm_package_config_slug/* && npm run zip:rmdir",
"cli:install-gutenberg": "npx wp-env run cli wp plugin install gutenberg && npx wp-env run cli wp plugin activate gutenberg",
"cli:permalinks": "npx wp-env run cli wp rewrite structure /%postname%/ --hard",
"server:setup": "npm run setup && npm run server:start",
"setup": "npm install && npm run build",
"zip:mkdir": "mkdir $npm_package_config_slug && cp -r build LICENSE README.MD index.php ./$npm_package_config_slug",
"zip:rmdir": "rm -r ./$npm_package_config_slug"
},
"dependencies": {
"alpinejs": "^3.3.3",
"classnames": "^2.2.6"
},
"devDependencies": {
"@wordpress/env": "^4.0.3",
"@wordpress/scripts": "^16.1.4",
"bestzip": "^2.1.5"
}
}