reiji-h 1 tahun lalu
induk
melakukan
1834459cc5
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      packages/remark-growi-directive/package.json

+ 1 - 2
packages/remark-growi-directive/package.json

@@ -17,9 +17,8 @@
   "main": "dist/index.js",
   "main": "dist/index.js",
   "typings": "dist/index.d.ts",
   "typings": "dist/index.d.ts",
   "scripts": {
   "scripts": {
-    "cp:declaration": "cp -RT ./src/mdast-util-growi-directive/index.d.ts ./dist/mdast-util-growi-directive/index.d.ts",
     "build": "yarn tsc -p tsconfig.build.json",
     "build": "yarn tsc -p tsconfig.build.json",
-    "postbuild": "yarn cp:declaration",
+    "postbuild": "shx cp ./src/mdast-util-growi-directive/index.d.ts ./dist/mdast-util-growi-directive/index.d.ts",
     "clean": "shx rm -rf dist",
     "clean": "shx rm -rf dist",
     "dev": "yarn build",
     "dev": "yarn build",
     "watch": "yarn tsc -w",
     "watch": "yarn tsc -w",