-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.73 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.73 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
{
"name": "wp-starter-theme",
"version": "1.0.0",
"description": "🌊 simple wordpress starter theme by wp-env & vite",
"scripts": {
"dev": "cross-env NODE_ENV=local vite --host",
"build:dev": "cross-env NODE_ENV=development vite build && npm run press:images",
"build:stg": "cross-env NODE_ENV=staging vite build && npm run press:images",
"build": "cross-env NODE_ENV=production vite build && npm run press:images",
"preview": "vite preview",
"press:images": "node convert.images.mjs",
"db:import": "gzip -dfk sql/wpenv.sql.gz && npm run wp:env run cli wp db import sql/wpenv.sql && rm -f sql/wpenv.sql",
"db:export": "npm run wp:env run cli wp db export sql/wpenv.sql; gzip -f sql/wpenv.sql",
"wp:env": "wp-env",
"wp:start": "npm run wp:env start",
"wp:restart": "npm run wp:env start --update && npm run wp:env run cli 'wp rewrite flush --hard'",
"wp:setup": "npm run wp:start && npm run db:import && npm run wp:env run cli 'wp rewrite flush --hard'",
"wp:destroy": "npm run wp:env destroy",
"lint:check": "npm run lint:html && npm run lint:style && npm run lint:es",
"lint:html": "markuplint 'src/**/*.{html,php}'",
"lint:style": "stylelint 'src/assets/**/*.{css,scss}'",
"lint:es": "eslint 'src/assets/**/*.js'",
"lint:fix": "markuplint 'src/**/*.{html,php}' && stylelint --fix 'src/assets/**/*.{css,scss}' && eslint --fix 'src/assets/**/*.js'",
"format": "prettier --write 'src/**/*.{html,css,scss,js,json,php}'",
"prepare": "husky install"
},
"lint-staged": {
"*.{html,php}": "markuplint",
"*.{js}": "eslint --fix",
"*.{css,scss}": "stylelint --fix",
"*.{html,css,scss,js,json,php}": "prettier --write"
},
"author": "HISAMI KURITA",
"license": "ISC",
"devDependencies": {
"@markuplint/php-parser": "^3.10.0",
"@wordpress/env": "^5.15.0",
"autoprefixer": "^10.4.14",
"commander": "^11.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"fs-extra": "^11.1.1",
"glob": "^10.3.10",
"gsap": "^3.12.1",
"husky": "^8.0.0",
"lint-staged": "^13.2.2",
"markuplint": "^3.13.0",
"path": "^0.12.7",
"postcss": "^8.4.22",
"prettier": "^3.0.3",
"sass": "^1.62.0",
"sharp": "^0.32.6",
"stylelint": "^15.10.3",
"stylelint-config-recess-order": "^4.2.0",
"stylelint-config-standard-scss": "^9.0.0",
"stylelint-prettier": "^4.0.2",
"svgo": "^3.0.2",
"vite": "^4.2.0",
"vite-plugin-browser-sync": "^1.0.6",
"vite-plugin-live-reload": "^3.0.2",
"vite-plugin-sass-glob-import": "^2.0.0",
"vite-plugin-static-copy": "^0.14.0",
"vite-plugin-svg-sprite-component": "^1.0.10",
"zlib": "^1.0.5"
},
"engines": {
"node": ">=18"
}
}