-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
104 lines (104 loc) · 3.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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "bathe",
"version": "3.0.2",
"description": "The simplest WordPress starter theme including full setup for Tailwind CSS, Sass, PostCSS, Autoprefixer, Vite, TypeScript, Browsersync, imagemin, Prettier, stylelint, ESLint.",
"browserslist": [
"> 1%",
"last 2 versions",
"Firefox ESR"
],
"config": {
"browsersync": {
"proxy": "http://localhost:8888",
"port": 3000
},
"image": {
"src": "src/images",
"dist": "assets/images"
},
"js": {
"entry": "src/js/main.js",
"output": "assets/js"
},
"css": {
"src": "src/sass",
"dist": "assets/css",
"style": "compressed",
"map": "--map"
},
"tailwind": {
"src": "src/tailwind/tailwind.css",
"dist": "assets/css/tailwind.css"
}
},
"scripts": {
"dev": "npm-run-all -p imagemin css -p browser watch",
"browser": "cross-conf-env browser-sync \"$npm_package_config_browsersync_proxy\" -f \"**/*.php\" \"$npm_package_config_css_dist\" \"$npm_package_config_js_output\" \"$npm_package_config_image_dist\" --port $npm_package_config_browsersync_port",
"build": "run-p imagemin css vite",
"css": "run-p sass tailwind",
"imagemin": "cross-conf-env node imagemin.mjs \"$npm_package_config_image_src/**/*\" $npm_package_config_image_dist",
"presass": "cross-conf-env stylelint \"$npm_package_config_css_src/**/*\" --fix",
"sass": "cross-conf-env sass $npm_package_config_css_src:$npm_package_config_css_dist --style=compressed",
"postsass": "cross-conf-env postcss $npm_package_config_css_dist/*.css --use=autoprefixer --dir=$npm_package_config_css_dist $npm_package_config_css_map",
"tailwind": "cross-conf-env tailwindcss -i $npm_package_config_tailwind_src -o $npm_package_config_tailwind_dist --minify",
"vite": "vite build",
"watch:imagemin": "cross-conf-env onchange \"$npm_package_config_image_src/**/*\" -e \".DS_Store\" -- npm run imagemin",
"watch:sass": "cross-conf-env onchange \"$npm_package_config_css_src/**/*\" -e \".DS_Store\" -- npm run sass",
"watch:tailwind": "npm run tailwind -- --watch",
"watch:vite": "npm run vite -- --watch --mode development",
"watch": "run-p watch:*"
},
"repository": {
"type": "git",
"url": "https://github.com/wp-bathe/bathe.git"
},
"keywords": [
"WordPress",
"Browsersync",
"Sass",
"PostCSS",
"Autoprefixer",
"imagemin",
"vite",
"stylelint",
"ESLint"
],
"author": "Kite",
"license": "GPL-2.0+",
"bugs": {
"url": "https://github.com/wp-bathe/bathe/issues"
},
"homepage": "https://github.com/wp-bathe/bathe",
"engines": {
"node": ">= 18.16",
"npm": ">= 9.5"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@ixkaito/imagemin": "^0.1.0",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"autoprefixer": "^10.4.14",
"browser-sync": "^3.0.2",
"cross-conf-env": "^1.3.0",
"eslint": "^8.43.0",
"eslint-plugin-tailwindcss": "^3.12.1",
"globby": "^13.2.0",
"imagemin-gifsicle": "^7.0.0",
"imagemin-jpegtran": "^7.0.0",
"imagemin-optipng": "^8.0.0",
"imagemin-svgo": "^10.0.1",
"mini-css-extract-plugin": "^2.7.6",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"postcss-cli": "^10.1.0",
"sass": "^1.77.8",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-sass-guidelines": "^9.0.1",
"tailwindcss": "^3.4.10",
"typescript": "^5.1.3",
"vite": "^4.3.9"
}
}