Update some metadata to publish to npm
This commit is contained in:
parent
3f40708637
commit
7b8797c920
5
.npmignore
Normal file
5
.npmignore
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
build
|
||||||
|
build/*
|
||||||
|
coverage
|
||||||
|
coverage/*
|
||||||
|
tests/config.json
|
@ -4,6 +4,12 @@ A node query builder for various SQL databases, based on CodeIgniter's query bui
|
|||||||
|
|
||||||
[![Build Status](https://travis-ci.org/timw4mail/node-query.svg?branch=master)](https://travis-ci.org/timw4mail/node-query)
|
[![Build Status](https://travis-ci.org/timw4mail/node-query.svg?branch=master)](https://travis-ci.org/timw4mail/node-query)
|
||||||
|
|
||||||
|
### Supported adapters
|
||||||
|
|
||||||
|
* mysql
|
||||||
|
* mysql2
|
||||||
|
* pg
|
||||||
|
|
||||||
### Basic use
|
### Basic use
|
||||||
|
|
||||||
var nodeQuery = require('node-query');
|
var nodeQuery = require('node-query');
|
||||||
|
@ -94,6 +94,11 @@
|
|||||||
<section class="readme-section">
|
<section class="readme-section">
|
||||||
<article><h1>Node-query</h1><p>A node query builder for various SQL databases, based on CodeIgniter's query builder.</p>
|
<article><h1>Node-query</h1><p>A node query builder for various SQL databases, based on CodeIgniter's query builder.</p>
|
||||||
<p><a href="https://travis-ci.org/timw4mail/node-query"><img src="https://travis-ci.org/timw4mail/node-query.svg?branch=master" alt="Build Status"></a></p>
|
<p><a href="https://travis-ci.org/timw4mail/node-query"><img src="https://travis-ci.org/timw4mail/node-query.svg?branch=master" alt="Build Status"></a></p>
|
||||||
|
<h3>Supported adapters</h3><ul>
|
||||||
|
<li>mysql</li>
|
||||||
|
<li>mysql2</li>
|
||||||
|
<li>pg</li>
|
||||||
|
</ul>
|
||||||
<h3>Basic use</h3><pre class="prettyprint source"><code>var nodeQuery = require('node-query');
|
<h3>Basic use</h3><pre class="prettyprint source"><code>var nodeQuery = require('node-query');
|
||||||
|
|
||||||
var connection = ... // Database module connection
|
var connection = ... // Database module connection
|
||||||
|
10
package.json
10
package.json
@ -1,11 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "node-query",
|
"name": "node-query",
|
||||||
"version": "0.0.0",
|
"version": "0.0.1",
|
||||||
"description": "A query builder for node based on the one in CodeIgniter",
|
"description": "A query builder for node based on the one in CodeIgniter",
|
||||||
"author": "Timothy J Warren <tim@timshomepage.net>",
|
"author": "Timothy J Warren <tim@timshomepage.net>",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.10.0"
|
||||||
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/timw4mail/node-query"
|
"url": "https://github.com/timw4mail/node-query.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/timw4mail/node-query/issues"
|
"url": "https://github.com/timw4mail/node-query/issues"
|
||||||
@ -15,6 +18,9 @@
|
|||||||
"async": "^0.9.0",
|
"async": "^0.9.0",
|
||||||
"getargs": ""
|
"getargs": ""
|
||||||
},
|
},
|
||||||
|
"bundledDependencies": [
|
||||||
|
"async","getargs"
|
||||||
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "^0.4.5",
|
"grunt": "^0.4.5",
|
||||||
"grunt-contrib-clean": "^0.6.0",
|
"grunt-contrib-clean": "^0.6.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user