Browse Source

ensure not to clean when `npm run build`

Yuki Takei 7 years ago
parent
commit
1fe4733c33
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/growi-plugin-lsx/package.json

+ 2 - 1
packages/growi-plugin-lsx/package.json

@@ -16,7 +16,8 @@
     "clean": "npm run rimraf -- lib",
     "resources": "mkdirp lib/resource/css && ncp src/resource/css lib/resource/css",
     "prebuild:watch": "npm run clean && npm run resources",
-    "prebuild": "npm run clean && npm run resources",
+    "prebuild": "npm run resources",
+    "prepublish": "npm run clean && npm run resources && npm run build",
     "rimraf": "rimraf",
     "test": ""
   },