Commit ffe2f2bc authored by Vadym Gidulian's avatar Vadym Gidulian

Added npm scripts for auto installing of dependencies

parent 95015689
......@@ -6,7 +6,6 @@ test:
script:
- node -v
- npm -v
- npm install
- npm start
- rm -rf .git .gitignore .gitlab-ci.yml
- rm -rf node_modules bs-config.json gulpfile.js package.json
......@@ -20,7 +19,6 @@ demo:
script:
- node -v
- npm -v
- npm install
- npm start
- rm -rf .git .gitignore .gitlab-ci.yml
- rm -rf node_modules bs-config.json gulpfile.js package.json
......
......@@ -2,7 +2,9 @@
"name": "project",
"version": "version",
"scripts": {
"pretest": "npm install",
"test": "gulp test && concurrently \"gulp watch\" \"lite-server\"",
"prestart": "npm install",
"start": "gulp"
},
"devDependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment