Skip to content

Commit

Permalink
ccxt.es5.js → ccxt-es5.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Aug 11, 2017
1 parent 93fcd21 commit 92f1ad7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The contents of the repository are structured as follows:
/README.rst # slave reStructuredText for PyPI
/ccxt/ # Python ccxt module/package folder for PyPI
/ccxt/__init__.py # slave Python-version of the ccxt library
/ccxt.es5.js # slave JavaScript ES5 version of the ccxt library
/ccxt-es5.js # slave JavaScript ES5 version of the ccxt library
/ccxt.js # master JS ES6 version of the ccxt library
/ccxt.php # slave PHP version of the ccxt library
/countries.js # a list of ISO 2-letter country codes in JS for testing, not very important
Expand Down Expand Up @@ -75,7 +75,7 @@ The ccxt library includes one single file per each language:

```shell
/ccxt/__init__.py # slave Python-version of the ccxt library
/ccxt.es5.js # slave JavaScript ES5 version of the ccxt library
/ccxt-es5.js # slave JavaScript ES5 version of the ccxt library
/ccxt.js # master JS ES6 version of the ccxt library
/ccxt.php # slave PHP version of the ccxt library
```
Expand Down
2 changes: 1 addition & 1 deletion examples/js/exchanges.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";

const ccxt = require ('../../ccxt.es5.js')
const ccxt = require ('../../ccxt-es5.js')
const countries = require ('../../countries.js')
const asTable = require ('as-table')
const util = require ('util')
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ccxt",
"version": "1.3.43",
"description": "A library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs",
"main": "ccxt.es5.js",
"main": "ccxt-es5.js",
"repository": {
"type": "git",
"url": "https://github.com/kroitor/ccxt.git"
Expand All @@ -16,7 +16,7 @@
"mdrst": "pandoc --wrap=preserve --columns=10000 --from=markdown --to=rst --output=README.rst README.md",
"transpile": "node transpile",
"vss": "node vss",
"babel": "babel ccxt.js --source-maps inline --out-file ccxt.es5.js"
"babel": "babel ccxt.js --source-maps inline --out-file ccxt-es5.js"
},
"dependencies": {
"crypto-js": "3.1.9-1",
Expand Down
2 changes: 1 addition & 1 deletion run-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const keys = {
'--php': false, // run PHP tests only
'--python': false, // run Python 2 tests only
'--python3': false, // run Python 3 tests only
'--es6': false, // run JS tests against ccxt.js instead of ccxt.es5.js (no need to `npm run build` before)
'--es6': false, // run JS tests against ccxt.js instead of ccxt-es5.js (no need to `npm run build` before)
}

let exchanges = []
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/* ------------------------------------------------------------------------ */

const [processPath, , exchangeId = null, exchangeSymbol = null] = process.argv.filter (x => !x.startsWith ('--'))
const ccxtFile = process.argv.includes ('--es6') ? 'ccxt.js' : 'ccxt.es5.js'
const ccxtFile = process.argv.includes ('--es6') ? 'ccxt.js' : 'ccxt-es5.js'

/* ------------------------------------------------------------------------ */

Expand Down

0 comments on commit 92f1ad7

Please sign in to comment.