Skip to content

Commit

Permalink
fix package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
FvckSh1t committed Dec 28, 2013
1 parent dfbddac commit 621cea9
Showing 1 changed file with 36 additions and 41 deletions.
77 changes: 36 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,38 @@
{
"name": "execsql",
"version": "0.0.2",
"description": "Execute you *.sql file which contains multiple sql statements. Usate: init database.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"mysql",
"execsql",
"initsql"
],
"author": {
"name": "Camwide"
},
"contributors": [
{
"name": "Fritz-Lium"
}
],
"homepage": "https://github.com/Fritz-Lium/execsql",
"repository": {
"type": "git",
"url": "[email protected]:Fritz-Lium/execsql.git"
},
"license": "BSD-2-Clause",
"dependencies": {
"underscore": "1.5.2",
"optimist": "0.6.0",
"mysql": "2.0.0-rc2"
},
"bin": {
"execsql": "./bin/execsql"
},
"readme": "execsql\n=======\n\nAn npm project. Node.js\nExecute you *.sql file which contains multiple sql statements. Usate: init database.\n\n## Usage\n\n### As a CLI tool\n\n1. Make sure that you have `execsql` installed globally\n\t```shell\n\tnpm install -g execsql\n\t```\n\n2. Configure your db access for the first time\n\t```shell\n\texecsql -c \"localhost\" \"root\" \"root\"\n\t```\n\n3. Execute a `.sql` file\n\t```shell\n\texecsql ./db.sql\n\t```\n\n### As a Node dependency\n\n1. Make sure that you have `execsql` installed locally\n\t```shell\n\tnpm install execsql\n\t```\n\n2. Require and use\n\t```js\n\tvar execsql = require('execsql'),\n\t\tdbConfig = {\n\t\t\thost: 'localhost',\n\t\t\tuser: 'root',\n\t\t\tpassword: 'root'\n\t\t},\n\t\tsqlFile = __dirname + '/db.sql';\n\texecsql.config(dbConfig)\n\t\t.exec(sqlFile, function(err, results){\n\t\t\tconsole.log(results);\n\t\t});\n\t```\n",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/Fritz-Lium/execsql/issues"
},
"_id": "[email protected]",
"_from": "[email protected]"
"name": "execsql",
"version": "0.0.2",
"description": "Execute you *.sql file which contains multiple sql statements. Usate: init database.",
"main": "index.js",
"keywords": [
"mysql",
"execsql",
"initsql"
],
"author": {
"name": "Camwide",
"url": "https://github.com/ade951"
},
"contributors": [
{
"name": "Fritz-Lium",
"url": "https://github.com/Fritz-Lium"
}
],
"homepage": "https://github.com/Fritz-Lium/execsql",
"repository": {
"type": "git",
"url": "[email protected]:Fritz-Lium/execsql.git"
},
"license": "BSD-2-Clause",
"dependencies": {
"underscore": "1.5.2",
"optimist": "0.6.0",
"mysql": "2.0.0-rc2"
},
"bin": {
"execsql": "./bin/execsql"
},
"bugs": {
"url": "https://github.com/Fritz-Lium/execsql/issues"
}
}

0 comments on commit 621cea9

Please sign in to comment.