-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
executable file
·46 lines (46 loc) · 1.41 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
{
"name": "tenup-wp-scaffold",
"version": "1.0.0",
"description": "Project Description",
"homepage": "https://project-domain.tld",
"repository": {
"type": "git",
"url": "https://project-git-repo.tld"
},
"workspaces": [
"themes/*",
"mu-plugins/10up-plugin"
],
"scripts": {
"prepare": "TEN=\"$(pwd)\"; UP=\"$(git rev-parse --show-toplevel)\"; TENUP=\"${TEN#\"$UP\"}\"; cd \"$(git rev-parse --show-toplevel)\"; husky .\"${TENUP}\"/.husky",
"build": "npm run build --workspaces --if-present",
"start": "npm run watch",
"watch:theme": "npm run watch -w=tenup-theme",
"watch:plugin": "npm run watch -w=tenup-plugin",
"watch": "run-p watch:theme watch:plugin",
"lint-js": "npm run lint-js --workspaces --if-present",
"format-js": "npm run format-js --workspaces --if-present",
"lint-style": "npm run lint-style --workspaces --if-present",
"test": "npm run test --workspaces --if-present",
"clean-dist": "npm run clean-dist --workspaces --if-present"
},
"author": {
"name": "10up",
"email": "info@10up.com",
"url": "https://10up.com",
"role": "developer"
},
"engineStrict": true,
"engines": {
"node": ">=20.0.0",
"npm": ">=9.0.0"
},
"devDependencies": {
"@wordpress/create-block": "4.55.0",
"10up-toolkit": "^6.0.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.0",
"npm-run-all": "^4.1.5",
"prettier": "3.3.3"
}
}