diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 659fad87..59439c71 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,6 +23,7 @@ install-deps: stage: install script: - yarn install --cache-folder .yarn-cache + - cd demo && yarn install --cache-folder ../.yarn-cache - yarn build tests: diff --git a/README.md b/README.md index 5aeb0035..8c1c8aee 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,9 @@ yarn add @d0whc3r/vue-auth-plugin git clone https://github.com/d0whc3r/vue-auth-plugin.git cd vue-auth-plugin yarn install -yarn demo +cd demo +yarn install +yarn start ``` ## :bar_chart: Project tests diff --git a/package.json b/package.json index aad7046b..bc35fc46 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "typescript" ], "scripts": { - "postinstall": "cd demo && yarn install", "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint",