-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
38 lines (38 loc) · 1.09 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
{
"name": "wp-plugin-scaffold",
"version": "0.1.0",
"scripts": {
"start": "npm run watch",
"watch": "10up-toolkit watch --port=5000",
"build": "10up-toolkit build",
"build:docs": "rm -rf docs/ && jsdoc -c docs-conf.json",
"format-js": "10up-toolkit format-js",
"lint-js": "10up-toolkit lint-js",
"lint-style": "10up-toolkit lint-style",
"test": "10up-toolkit test-unit-jest",
"clean-dist": "rm -rf ./dist",
"scaffold:block": "cd includes/blocks/ && wp-create-block --no-plugin --template ../../../../bin/create-block-template"
},
"engines": {
"node": ">=12.0.0"
},
"devDependencies": {
"@commitlint/config-conventional": "^18.4.3",
"10up-toolkit": "^5.2.2",
"husky": "^8.0.3",
"jsdoc": "^3.6.11",
"wp-hookdoc": "^0.2.0"
},
"dependencies": {
"modern-normalize": "^2.0.0"
},
"10up-toolkit": {
"useBlockAssets": true,
"entry": {
"admin": "./assets/js/admin/admin.js",
"editor-style-overrides": "./assets/js/admin/editor-style-overrides.js",
"frontend": "./assets/js/frontend/frontend.js",
"core-block-overrides": "./includes/core-block-overrides.js"
}
}
}