{
"name": "pinhideout",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "postcss src/source.css -o wp-content/themes/pinhideout/css/style.css",
"minfy": "cssnano wp-content/themes/pinhideout/css/style.css -o wp-content/themes/pinhideout/css/style.min.css",
"prod": " npm run dev && npm run minfy"
},
...
我这样做不对吗?是否有关于编写 package.json 脚本的文档?或者你能告诉我我做错了什么吗?