sqlaravel 1.0.9 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +4 -5
  2. package/postprepare.js +0 -18
package/package.json CHANGED
@@ -1,12 +1,8 @@
1
1
  {
2
2
  "name": "sqlaravel",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "Base to start projects in Laravel, simply and quickly",
5
5
  "main": "index.js",
6
- "scripts": {
7
- "postinstall": "node install",
8
- "prepublishOnly": "node postprepare"
9
- },
10
6
  "repository": {
11
7
  "type": "git",
12
8
  "url": "git+https://github.com/esutoraiki/sqLARAVEL.git"
@@ -37,5 +33,8 @@
37
33
  "postcss-inline-svg": "^5.0.0",
38
34
  "sass": "^1.54.0",
39
35
  "sisass": "^1.1.13"
36
+ },
37
+ "scripts": {
38
+ "postinstall": "sisass install --path ../../resources/ --dir files/assets/"
40
39
  }
41
40
  }
package/postprepare.js DELETED
@@ -1,18 +0,0 @@
1
- const
2
- fs = require("fs"),
3
-
4
- // args = process.argv.slice(2),
5
- dest = "../../resources/",
6
- filesDir = "assets/"
7
- ;
8
-
9
- // Copy files to the project
10
- fs.cp(filesDir, dest, {recursive: true, force: false}, (err, data) => {
11
- if (err) {
12
- console.error("Error Install");
13
- console.error(err);
14
- } else {
15
- console.log("successful resource installation");
16
- }
17
- });
18
-