Skip to content

Commit

Permalink
Merge pull request #2 from bluealba/feature/make-gics-library-runnabl…
Browse files Browse the repository at this point in the history
…e-in-browsers

make GICS library runnable in browsers
  • Loading branch information
gunthers authored Sep 7, 2017
2 parents 7ae0caa + 0827f0c commit bdb0d2f
Show file tree
Hide file tree
Showing 8 changed files with 2,514 additions and 25 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets" : ["es2015"]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
npm-debug*
coverage
.nyc_output
/dist
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"use strict";

module.exports = require("./lib/GICS");
module.exports = require("./dist/GICS");
16 changes: 10 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "gics",
"version": "1.0.3",
"version": "1.1.0",
"description": "A Javascript library to parse and manipulate GICS codes",
"main": "index.js",
"scripts": {
"test": "eslint '.' && nyc --reporter=html --reporter=text mocha",
"lint": "eslint '.'",
"build": "babel src --out-dir dist",
"test": "eslint ./src && nyc --reporter=html --reporter=text mocha",
"lint": "eslint ./src",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"keywords": [
Expand All @@ -20,6 +21,9 @@
"author": "Gunther Schneider <gunther.schneider@bluealba.com>",
"license": "ISC",
"devDependencies": {
"babel": "^6.23.0",
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"chai": "^4.1.0",
"chai-things": "^0.2.0",
"coveralls": "^2.13.1",
Expand All @@ -28,8 +32,8 @@
"nyc": "^11.0.3"
},
"dependencies": {},
"repository" : {
"type" : "git",
"url" : "https://github.com/bluealba/gics"
"repository": {
"type": "git",
"url": "https://github.com/bluealba/gics"
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion test/test-gics.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";

const GICS = require("../lib/GICS"),
const GICS = require("../src/GICS"),
chai = require("chai"),
expect = require("chai").expect,
chaiThings = require("chai-things");
Expand Down
17 changes: 0 additions & 17 deletions test/test-index.js

This file was deleted.

Loading

0 comments on commit bdb0d2f

Please sign in to comment.