-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 3.45 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 3.45 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "@phcdevworks/spectre-base",
"version": "1.0.0",
"description": "Spectre-backed WordPress theme foundation with Vite, TypeScript, and Tailwind CSS 4",
"type": "module",
"keywords": [
"theme-foundation",
"vite",
"wordpress",
"wordpress-theme",
"tailwindcss",
"typescript",
"phcdevworks",
"spectre"
],
"author": "PHCDevworks",
"license": "MIT",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/phcdevworks"
},
{
"type": "buymeacoffee",
"url": "https://buymeacoffee.com/phcdevworks"
}
],
"repository": {
"type": "git",
"url": "https://github.com/phcdevworks/spectre-base.git"
},
"bugs": {
"url": "https://github.com/phcdevworks/spectre-base/issues"
},
"homepage": "https://github.com/phcdevworks/spectre-base#readme",
"engines": {
"node": "^22.12.0 || >=24.0.0"
},
"packageManager": "npm@11.17.0",
"scripts": {
"clean": "rm -rf spectre-theme/dist",
"dev": "vite",
"build": "tsc && vite build",
"check:assets": "node --experimental-strip-types scripts/check-theme-asset-contract.ts",
"check:version-sync": "node --experimental-strip-types scripts/check-readme-version.ts",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"release:propose": "node --experimental-strip-types scripts/propose-version.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:php": "find spectre-theme -name \"*.php\" -print0 | xargs -0 -n1 php -l",
"check:drift": "grep -rEn \"#[0-9a-fA-F]{3,8}|rgb\\(|rgba\\(|hsl\\(|hsla\\(|oklch\\(|linear-gradient|\\btext-white\\b|rounded-|shadow-|tracking-|\\bprose\\b|\\btext-[0-9]|\\bp-[0-9]|\\bpx-[0-9]|\\bpy-[0-9]|\\bgap-[0-9]|\\bspace-y-|\\bmax-w-|\\bw-[0-9]|\\bh-[0-9]|min-width: [0-9]|[0-9]+px|[0-9]+rem|[0-9]+em\" src spectre-theme package.json || true",
"validate": "npm run build && npm run check:assets && npm run check:version-sync && npm run lint && npm run lint:php && npm run check:drift",
"check:ecosystem": "spectre-manifest-validate spectre.manifest.json && spectre-manifest-check spectre.manifest.json .",
"check": "npm run validate && npm run check:ecosystem",
"create:child": "node --experimental-strip-types scripts/create-child-theme.ts",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,md}\"",
"wp-env:start": "NODE_OPTIONS=--dns-result-order=ipv4first wp-env start",
"wp-env:stop": "wp-env stop",
"wp-env:setup": "wp-env run cli -- wp theme activate spectre-theme",
"screenshot:install": "playwright install chromium",
"screenshot:setup": "npm run wp-env:start && npm run wp-env:setup",
"screenshot": "node --experimental-strip-types scripts/capture-screenshot.ts"
},
"devDependencies": {
"@phcdevworks/spectre-manifest": "^1.0.0",
"@types/node": "^26.0.1",
"@wordpress/env": "^11.9.0",
"playwright": "^1.61.1",
"@typescript-eslint/eslint-plugin": "^8.62.0",
"@typescript-eslint/parser": "^8.62.0",
"autoprefixer": "^10.5.2",
"eslint": "^10.6.0",
"globals": "^17.7.0",
"jiti": "^2.7.0",
"postcss": "^8.5.15",
"prettier": "^3.9.0",
"tailwindcss": "^4.3.1",
"typescript": "~6.0.3",
"typescript-eslint": "^8.62.0",
"vite": "^8.1.0"
},
"dependencies": {
"@phcdevworks/spectre-components": "^1.5.0",
"@phcdevworks/spectre-tokens": "^3.2.0",
"@phcdevworks/spectre-ui": "^2.5.0"
},
"allowScripts": {
"fs-ext-extra-prebuilt@2.2.7": true
}
}