Skip to content

Commit

Permalink
2.5.1; publish via unpkg; close #25
Browse files Browse the repository at this point in the history
  • Loading branch information
justincy committed Nov 9, 2016
1 parent 6d2a97a commit d982708
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 12 deletions.
9 changes: 0 additions & 9 deletions .npmignore

This file was deleted.

14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ and the [GEDCOM X Atom Extensions](https://github.com/FamilySearch/gedcomx-rs/bl
Read the [documentation](http://rootsdev.org/gedcomx-js/) for a list of all
classes and methods.

## Install

NPM

```
npm install --save gedcomx-js
```

CDN via [unpkg](https://unpkg.com/#/)

```
<script src="https://unpkg.com/gedcomx-js@2.5.1/dist/gedcomx.min.js"></script>
```

## Usage

Create a document from a JSON object.
Expand Down
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gedcomx-js",
"version": "2.5.0",
"version": "2.5.1",
"description": "JavaScript object model for GEDCOM X",
"main": "src/index.js",
"scripts": {
Expand All @@ -10,10 +10,11 @@
"test:records": "mocha test/records/*.js",
"test:atom": "mocha test/atom/*.js",
"docs": "jsdoc -c jsdoc.json",
"prepublish": "npm run build",
"coverage": "istanbul cover --report lcovonly _mocha -- --recursive && codecov",
"build": "mkdir -p dist && npm run build:full && npm run build:min",
"build:full": "webpack --output-filename gedcomx.$npm_package_version.js",
"build:min": "webpack --output-filename gedcomx.$npm_package_version.min.js --optimize-minimize"
"build:full": "webpack --output-filename gedcomx.js",
"build:min": "webpack --output-filename gedcomx.min.js --optimize-minimize"
},
"devDependencies": {
"chai": "^3.5.0",
Expand All @@ -30,6 +31,10 @@
"type": "git",
"url": "git+https://github.com/rootsdev/gedcomx-js.git"
},
"files": [
"src",
"dist"
],
"keywords": [
"gedcomx",
"genealogy"
Expand Down

0 comments on commit d982708

Please sign in to comment.