Fixed configure script not working with global installation
This commit is contained in:
1 parent
c764fcd316
commit
265efd8583
1 file changed
+3
-2
+3
-2
@@ -14,6 +14,7 @@
|
|||||||
"author": "Zaid Abdulla",
|
"author": "Zaid Abdulla",
|
||||||
"license": "AGPL3",
|
"license": "AGPL3",
|
||||||
"readmeFilename": "README.md",
|
"readmeFilename": "README.md",
|
||||||
|
"preferGlobal": true,
|
||||||
"directories": {
|
"directories": {
|
||||||
"test": "test",
|
"test": "test",
|
||||||
"bin": "bin"
|
"bin": "bin"
|
||||||
@@ -32,8 +33,8 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "npm run compile",
|
"prepublish": "npm run compile",
|
||||||
"compile": "./node_modules/.bin/coffee -c *.coffee test/*.coffee tools/*.coffee",
|
"compile": "coffee -cb *.coffee test/*.coffee tools/*.coffee",
|
||||||
"configure": "cp config/config-sample.json config/config.json; cp config/parameters-sample.json config/parameters.json; cp config/custom_commands-sample.json config/custom_commands.json; cp config/auth-sample.js config/auth.js",
|
"configure": "cp ./config/config-sample.json ./config/config.json; cp ./config/parameters-sample.json ./config/parameters.json; cp ./config/custom_commands-sample.json ./config/custom_commands.json; cp ./config/auth-sample.js ./config/auth.js",
|
||||||
"install": "npm run configure",
|
"install": "npm run configure",
|
||||||
"test": "node test"
|
"test": "node test"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user