generated from Olein-jp/my-snow-monkey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
32 lines (32 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
30
31
32
{
"author": "Koji Kuno",
"license": "GPL-2.0+",
"scripts": {
"start": "wp-env start",
"stop": "wp-env stop",
"update": "wp-env start --update",
"db:import": "wp-env run cli wp db import sql/db.sql",
"db:export": "wp-env run cli wp db export sql/db.sql",
"destroy": "wp-env destroy",
"check": "composer format && composer lint",
"clean": "rimraf build",
"compile:css": "sass src/css:build/css/ --no-source-map --style expanded && npx postcss build/css/*.css --use autoprefixer -d build/css/",
"compile:js": "wp-scripts build src/js/scripts --output-path=build/js",
"compile": "npm run clean && npm-run-all -s compile:*",
"build": "npm run check && npm run compile",
"updateComposer": "composer update",
"checkNpmUpdate": "ncu -u",
"updateNpmPackage": "npm install"
},
"devDependencies": {
"@wordpress/env": "^10.0.0",
"@wordpress/scripts": "^28.0.0",
"autoprefixer": "^10.4.19",
"npm-check-updates": "^16.14.20",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.38",
"postcss-cli": "^11.0.0",
"rimraf": "^5.0.7",
"sass": "^1.77.4"
}
}