-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
22 lines (22 loc) · 811 Bytes
/
Copy pathpackage.json
File metadata and controls
22 lines (22 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "driven",
"version": "1.0.0",
"description": "Driven WordPress Theme",
"author": "ThemeZee",
"license": "GPL-2.0-or-later",
"devDependencies": {
"@apidevtools/json-schema-ref-parser": "^15.5.1",
"@wordpress/scripts": "wp-7.0",
"ajv": "^8.20.0",
"jsonfile": "^6.2.1"
},
"scripts": {
"build": "wp-scripts build",
"format": "wp-scripts format *.{js,json} ./sass/**/*.{sass,scss} ./theme-json/**/*.{js,json}",
"start": "wp-scripts start",
"prebuild": "npm run theme-json",
"theme-json": "npm run build-theme-json && npm run validate-theme-json",
"build-theme-json": "node ./bin/theme-json.js --theme-json-dir ./theme-json && wp-scripts format ./theme.json",
"validate-theme-json": "node ./bin/validate-theme-json.js ./theme.json https://schemas.wp.org/trunk/theme.json"
}
}