-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 2.61 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "vite-wordpress-template",
"version": "0.4.2",
"type": "module",
"engines": {
"node": "^20.11.0"
},
"scripts": {
"dev": "wp-env run cli wp theme activate dev && vite",
"build": "tsc && vite build",
"preview": "tsc && vite build && wp-env run cli wp theme activate prod",
"start": "npm run wp:start && npm run docker:start",
"stop": "npm run docker:stop && npm run wp:stop",
"wp-env": "wp-env",
"wp:start": "wp-env start --xdebug",
"wp:stop": "wp-env stop",
"wp:update": "wp-env start --xdebug --update && npm run wp:language-plugin",
"wp:language-plugin": "wp-env run cli wp language plugin install --all ja",
"wp:import": "wp-env run cli wp db import sql/database.sql",
"wp:export": "wp-env run cli wp db export sql/database.sql",
"wp:reset": "wp-env clear all",
"wp:destroy": "wp-env destroy",
"docker:start": "docker compose up -d",
"docker:stop": "docker compose down",
"typecheck": "tsc --noEmit",
"lint": "npm run lint:html && npm run lint:script && npm run lint:style",
"lint:html": "markuplint './src/**/*.{html,php}'",
"lint:script": "eslint --ext .js,.cjs,.mjs,.ts .",
"lint:style": "stylelint './src/**/*.{scss,css}'",
"lint:fix": "npm run lint:html --fix && npm run lint:script --fix && npm run lint:style --fix",
"lint-staged": "lint-staged",
"init": "npm ci && npm run start && npm run wp:language-plugin && tsc && vite build",
"prepare": "husky"
},
"dependencies": {
"@iwbc/sass-utils": "^0.2.1"
},
"devDependencies": {
"@markuplint/php-parser": "^4.0.0",
"@types/glob": "^8.1.0",
"@types/ip": "^1.1.3",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@wordpress/env": "^9.2.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-unused-imports": "^3.0.0",
"execa": "^8.0.1",
"glob": "^10.3.10",
"husky": "^9.0.10",
"ip": "^2.0.0",
"lint-staged": "^15.2.2",
"markuplint": "^4.0.2",
"prettier": "^3.2.5",
"sass": "^1.70.0",
"sharp": "^0.33.2",
"stylelint": "^16.2.1",
"stylelint-config-recess-order": "^4.6.0",
"stylelint-config-standard-scss": "^13.0.0",
"svgo": "^3.2.0",
"typescript": "^5.3.3",
"vite": "^5.1.0",
"vite-plugin-image-optimizer": "^1.1.7",
"vite-plugin-live-reload": "^3.0.3",
"vite-plugin-sass-glob-import": "^3.0.2",
"vite-plugin-static-copy": "^1.0.1",
"vite-svg-sprite-wrapper": "^1.3.0",
"vite-tsconfig-paths": "^4.3.1"
}
}