1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,17 @@ |
1 |
+/** |
|
2 |
+ * Script to run after npm install |
|
3 |
+ * |
|
4 |
+ * Copy selected files to public directory |
|
5 |
+ */ |
|
6 |
+ |
|
7 |
+'use strict' |
|
8 |
+ |
|
9 |
+var gentlyCopy = require('gently-copy') |
|
10 |
+ |
|
11 |
+var filesToCopy = ['./node_modules/cirrus-ui/dist/*'] |
|
12 |
+ |
|
13 |
+// public directory |
|
14 |
+var publicPath = './public/' |
|
15 |
+ |
|
16 |
+// Moving files to user's local directory |
|
17 |
+gentlyCopy(filesToCopy, publicPath, {overwrite: true}) |