* update package information

* Formatting of list

* Add badge
This commit is contained in:
Christopher Anderson 2018-06-29 14:27:23 -07:00 коммит произвёл GitHub
Родитель 9163ff4c57
Коммит 7d31a2a95b
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 2005 добавлений и 2005 удалений

4
.gitignore поставляемый
Просмотреть файл

@ -257,4 +257,6 @@ node_modules
*.dat
lib/**
lib/**
*.tgz

7
.npmignore Normal file
Просмотреть файл

@ -0,0 +1,7 @@
.git
.vscode
samples
.gitattributes
.gitignore
*.code-workspace
*.tgz

Просмотреть файл

@ -3,6 +3,8 @@
This project provides JavaScript & Node.js SDK library for [SQL API](https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-sql-query) of [Azure Cosmos
Database Service](https://azure.microsoft.com/en-us/services/cosmos-db/). This project also includes samples, tools, and utilities.
[![latest npm badge](https://img.shields.io/npm/v/%40azure%2Fcosmos/latest.svg)](https://www.npmjs.com/package/@azure/cosmos)
Useful links:
- [Welcome to Azure Cosmos DB](https://docs.microsoft.com/en-us/azure/cosmos-db/community)
- [Quick start](https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-nodejs-get-started)
@ -28,16 +30,6 @@ The core module uses the callbacks model for responses, exposed through the Docu
npm install @azure/cosmos
### Install Core Module From Github
1. Clone Azure/azure-documentdb-node repository
Please clone the source and tests from [https://github.com/Azure/azure-documentdb-node](https://github.com/Azure/azure-documentdb-node)
2. Install documentdb
npm install azure-documentdb-node\source
## Prerequisites
To use the SDK, first [create an account](https://docs.microsoft.com/en-us/azure/cosmos-db/create-documentdb-nodejs) and follow [tutorial](https://docs.microsoft.com/en-us/azure/cosmos-db/documentdb-nodejs-application).
@ -53,9 +45,9 @@ Follow these instructions to run the tests locally.
1. Clone Azure/azure-cosmos-js repository
```bash
git clone https://github.com/azure/azure-cosmos-js.git
```
```bash
git clone https://github.com/azure/azure-cosmos-js.git
```
2. Install Node.js and npm
[https://docs.npmjs.com/getting-started/installing-node](https://docs.npmjs.com/getting-started/installing-node)

3975
package-lock.json сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -13,10 +13,10 @@
],
"version": "2.0.0-0",
"author": "Microsoft Corporation",
"main": "./lib/src/index.js",
"types": "./lib/src/index.d.ts",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"engine": {
"node": ">=0.8"
"node": ">=6.0.0"
},
"scripts": {
"clean": "rimraf lib",