Fixed install script
This commit is contained in:
+5
-2
@@ -6,10 +6,13 @@ cache:
|
|||||||
npm: true
|
npm: true
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
before_install:
|
addons:
|
||||||
- chmod +x src/postinstall.js
|
apt:
|
||||||
|
packages:
|
||||||
|
- graphviz
|
||||||
install:
|
install:
|
||||||
- npm install
|
- npm install
|
||||||
|
- npm install node-plantuml
|
||||||
before_script:
|
before_script:
|
||||||
- npm install -g jshint
|
- npm install -g jshint
|
||||||
script:
|
script:
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"install": "src/postinstall.js"
|
"install": "node src/postinstall.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
+1
-1
@@ -14,5 +14,5 @@ ncp('./sample_data/',dir, function(err){
|
|||||||
if(err)
|
if(err)
|
||||||
console.error(err);
|
console.error(err);
|
||||||
else
|
else
|
||||||
console.log('done');
|
console.log(`sample data copied to ${dir}`);
|
||||||
});
|
});
|
||||||
Reference in New Issue
Block a user