-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
29 lines (29 loc) · 1.11 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
{
"name": "holdmywp",
"description": "",
"version": "0.0.1",
"repository": "",
"license": "GPL-3.0-only",
"devDependencies": {
"autoprefixer": "^10.4.20",
"chokidar": "^4.0.1",
"chokidar-cli": "^3.0.0",
"css-declaration-sorter": "^7.2.0",
"cssnano": "^7.0.6",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.47",
"postcss-cli": "^11.0.0",
"postcss-merge-rules": "^7.0.4",
"postcss-scss": "^4.0.9",
"sass": "^1.79.4"
},
"scripts": {
"sort-scss": "postcss assets/scss/**/*.scss --config postcss.config.js --replace",
"build-css": "npm run sort-scss && sass assets/scss/main.scss assets/css/main.css && postcss assets/css/main.css --use autoprefixer postcss-merge-rules --no-map --output assets/css/main.css && npm run inject-css",
"watch-css": "chokidar 'assets/scss/**/*.scss' -c 'npm run build-css'",
"watch-php": "chokidar '**/*.php' -c 'echo PHP file changed'",
"inject-css": "node inject-css.js",
"zip-theme": "node zip-theme.js",
"watch": "npm-run-all --parallel watch-css watch-php"
}
}