Browse code

Add platform independent npm postinstall script

Benjamin Roth authored on22/02/2023 21:54:52
Showing1 changed files
... ...
@@ -2,9 +2,10 @@
2 2
   "name": "contao-jbox",
3 3
   "version": "1.0.0",
4 4
   "dependencies": {
5
-    "jbox": "^1.3.3"
5
+    "jbox": "^1.3.3",
6
+    "gently-copy": "^3.2.0"
6 7
   },
7 8
   "scripts": {
8
-    "postinstall": "cp -r node_modules/jbox/dist/* public/"
9
+    "postinstall": "node ./npm-post-install.js"
9 10
   }
10 11
 }
Browse code

Initial commit

Benjamin Roth authored on12/01/2023 00:53:30
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,10 @@
1
+{
2
+  "name": "contao-jbox",
3
+  "version": "1.0.0",
4
+  "dependencies": {
5
+    "jbox": "^1.3.3"
6
+  },
7
+  "scripts": {
8
+    "postinstall": "cp -r node_modules/jbox/dist/* public/"
9
+  }
10
+}