-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
57 lines (57 loc) · 2.83 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
52
53
54
55
56
57
{
"private": true,
"devDependencies": {
"@_tw/themejson": "^0.2.0",
"@_tw/typography": "^0.5.12",
"@angular-eslint/template-parser": "^18.3.0",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/forms": "^0.5.7",
"@wordpress/prettier-config": "^4.5.0",
"adm-zip": "^0.5.15",
"archiver": "^7.0.1",
"chokidar-cli": "^3.0.0",
"cross-env": "^7.0.3",
"esbuild": "^0.23.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-php-markup": "^6.0.0",
"eslint-plugin-tailwindcss": "^3.17.4",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.41",
"postcss-import-ext-glob": "^2.1.1",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.6",
"tailwindcss": "^3.4.10",
"touch": "^3.1.1"
},
"scripts": {
"development:tailwind:frontend": "npx tailwindcss --postcss -i ./tailwind/tailwind.css -c ./tailwind/tailwind.config.js -o ./theme/style.css",
"development:tailwind:editor": "cross-env _TW_TARGET=editor npx tailwindcss --postcss -i ./tailwind/tailwind.css -c ./tailwind/tailwind.config.js -o ./theme/style-editor.css",
"development:tailwind:editor:extra": "cross-env _TW_TARGET=editor npx tailwindcss --postcss -i tailwind/tailwind-editor-extra.css -c ./tailwind/tailwind.config.js -o ./theme/style-editor-extra.css",
"development:esbuild": "npx esbuild ./javascript/script.js ./javascript/block-editor.js --target=esnext --bundle --outdir=./theme/js --out-extension:.js=.min.js",
"development": "run-p \"development:**\"",
"dev": "npm run development",
"watch:tailwind:frontend": "npm run development:tailwind:frontend -- --watch",
"watch:tailwind:editor": "npm run development:tailwind:editor -- --watch",
"watch:tailwind:editor:extra": "npm run development:tailwind:editor:extra -- --watch",
"watch:tailwind:themejson": "chokidar \"./theme/theme.json\" -c \"nodetouch ./tailwind/tailwind.config.js\"",
"watch:esbuild": "npm run development:esbuild -- --watch",
"watch": "run-p \"watch:**\"",
"lint:eslint": "npx eslint theme/",
"lint:prettier": "npx prettier --check .",
"lint": "run-p \"lint:*\"",
"lint-fix:eslint": "npx eslint theme/ --fix",
"lint-fix:prettier": "npx prettier --write .",
"lint-fix": "run-p \"lint-fix:*\"",
"production:tailwind:frontend": "cross-env NODE_ENV=production npm run development:tailwind:frontend -- --minify",
"production:tailwind:editor": "cross-env NODE_ENV=production npm run development:tailwind:editor -- --minify",
"production:tailwind:editor:extra": "cross-env NODE_ENV=production npm run development:tailwind:editor:extra -- --minify",
"production:esbuild": "npm run development:esbuild -- --minify",
"production": "run-p \"production:**\"",
"prod": "npm run production",
"zip": "node node_scripts/zip.js _tw",
"bundle": "run-s production zip"
},
"prettier": "@wordpress/prettier-config"
}