chess-rules
Advanced tools
Comparing version 0.10.1 to 0.10.2
{ | ||
"name": "chess-rules", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "Chess Rules implementation as a standalone module.", | ||
@@ -24,5 +24,7 @@ "homepage": "https://github.com/chesscorp/chess-rules", | ||
"main": "./src", | ||
"dependencies": {}, | ||
"dependencies": { | ||
"colors": "^1.1.2", | ||
"underscore-plus": "^1.6.6" | ||
}, | ||
"devDependencies": { | ||
"colors": "^1.1.2", | ||
"grunt": "^0.4.0", | ||
@@ -41,4 +43,3 @@ "grunt-browserify": "^4.0.0", | ||
"mocha": "^2.2.5", | ||
"time-grunt": "^1.1.0", | ||
"underscore-plus": "^1.6.6" | ||
"time-grunt": "^1.1.0" | ||
}, | ||
@@ -45,0 +46,0 @@ "scripts": { |
@@ -1,7 +0,7 @@ | ||
# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status](https://coveralls.io/repos/ChessCorp/chess-rules/badge.svg?branch=master&service=github)](https://coveralls.io/github/ChessCorp/chess-rules?branch=master) | ||
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status](https://coveralls.io/repos/ChessCorp/chess-rules/badge.svg?branch=master&service=github)](https://coveralls.io/github/ChessCorp/chess-rules?branch=master) | ||
> Chess Rules implementation as a standalone module. | ||
Chess Rules implementation as a standalone module. | ||
## Install | ||
## Install as node bundle | ||
@@ -12,17 +12,35 @@ ```sh | ||
This will install rules module in the node_modules folder and update your package.json. | ||
## Install using bower | ||
```sh | ||
$ bower install chess-rules | ||
bower chess-rules#* cached git://github.com/ChessCorp/chess-rules.git#0.8.0 | ||
bower chess-rules#* validate 0.8.0 against git://github.com/ChessCorp/chess-rules.git#* | ||
bower chess-rules#* new version for git://github.com/ChessCorp/chess-rules.git#* | ||
bower chess-rules#* resolve git://github.com/ChessCorp/chess-rules.git#* | ||
bower chess-rules#* download https://github.com/ChessCorp/chess-rules/archive/0.10.1.tar.gz | ||
bower chess-rules#* extract archive.tar.gz | ||
bower chess-rules#* resolved git://github.com/ChessCorp/chess-rules.git#0.10.1 | ||
bower chess-rules#~0.10.1 install chess-rules#0.10.1 | ||
chess-rules#0.10.1 bower_components/chess-rules | ||
``` | ||
## Usage | ||
### Import the main rules object | ||
```js | ||
var chessRules = require('chess-rules'); | ||
``` | ||
### Instantiate an initial position model | ||
```js | ||
var position = chessRules.getInitialPosition(); | ||
``` | ||
```sh | ||
# creates a browser.js | ||
$ npm run browser | ||
``` | ||
## License | ||
@@ -29,0 +47,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
175110
14
56
2
+ Addedcolors@^1.1.2
+ Addedunderscore-plus@^1.6.6
+ Addedcolors@1.4.0(transitive)
+ Addedunderscore@1.13.7(transitive)
+ Addedunderscore-plus@1.7.0(transitive)