Browse code

Add tom select npm package

Benjamin Roth authored on02/02/2023 12:00:30
Showing1 changed files
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/tom-select/dist/*']
12
+
13
+// public directory
14
+var publicPath = './public/lib/tomselect'
15
+
16
+// Moving files to user's local directory
17
+gentlyCopy(filesToCopy, publicPath, {overwrite: true})