-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.53 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
{
"name": "theme-json",
"private": true,
"description": "Split WordPress theme.json into smaller files.",
"author": "Dekode Interaktiv AS",
"homepage": "https://github.com/DekodeInteraktiv/create-theme-json/blob/main/README.md",
"repository": {
"type": "git",
"url": "https://github.com/DekodeInteraktiv/create-theme-json.git"
},
"bugs": "https://github.com/DekodeInteraktiv/create-theme-json/issues",
"license": "GPL-2.0-or-later",
"type": "module",
"engines": {
"node": ">=16",
"npm": ">=6.9"
},
"scripts": {
"build:create": "del-cli ./packages/create/dist && tsc -p ./packages/create/tsconfig.json && chmod u+x ./packages/create/dist/bin/theme-json.mjs",
"build:validate": "del-cli ./packages/validate/dist && tsc -p ./packages/validate/tsconfig.json",
"build": "npm run build:create && npm run build:validate",
"format": "prettier --write .",
"test": "jest",
"test:build": "npm run build && node ./packages/create/dist/bin/theme-json.mjs build",
"test:watch": "npm run build && node ./packages/create/dist/bin/theme-json.mjs watch"
},
"workspaces": [
"packages/*",
"tests/plugins/*"
],
"devDependencies": {
"@types/cross-spawn": "6.0.6",
"@types/jest": "^29.5.2",
"@types/lodash": "^4.14.195",
"del-cli": "^5.0.0",
"jest": "29.7.0",
"lerna": "^7.0.2",
"prettier": "^3.0.3",
"typescript": "^5.1.3"
},
"theme-json": {
"src": "./tests/data/theme-json",
"dest": "./tests/theme.json",
"addSchema": true,
"pretty": true,
"plugins": [
"@theme-json/test-plugin",
"@theme-json/validate"
]
}
}