Skip to content
Permalink
Browse files

build/ccxt.browser.js → dist/ccxt.browser.js

  • Loading branch information
xpl committed Feb 28, 2019
1 parent 2b95f0e commit 147e479b345c496e4240f71fcc913192dbaa8626
Showing with 6 additions and 6 deletions.
  1. +1 −1 CONTRIBUTING.md
  2. +1 −1 ccxt.browser.js
  3. 0 {build → dist}/ccxt.browser.js
  4. +1 −1 git-ignore-generated-files.js
  5. +2 −2 package.json
  6. +1 −1 push.sh
@@ -161,7 +161,7 @@ The module entry points are:
- `./python/__init__.py` for the Python pip package
- `./python/async/__init__.py` for the Python 3.5.3+ ccxt.async_support subpackage
- `./ccxt.js` for the Node.js npm package
- `./build/ccxt.browser.js` for the browser bundle
- `./dist/ccxt.browser.js` for the browser bundle
- `./ccxt.php` for PHP

Generated versions and docs are transpiled from the source `ccxt.js` file and files in `./js/` by the `npm run build` command.
@@ -1,6 +1,6 @@
/* A entry point for the browser bundle version. This gets compiled by:
browserify --debug ./ccxt.browser.js > ./build/ccxt.browser.js
browserify --debug ./ccxt.browser.js > ./dist/ccxt.browser.js
*/

window.ccxt = require ('./ccxt')
File renamed without changes.
@@ -24,7 +24,7 @@ const log = require ('ololog')

const files = [

'build/ccxt.browser.js',
'dist/ccxt.browser.js',

'python/test/test_decimal_to_precision.py',
'php/test/decimal_to_precision.php',
@@ -3,7 +3,7 @@
"version": "1.18.292",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 100+ exchanges",
"main": "./ccxt.js",
"unpkg": "build/ccxt.browser.js",
"unpkg": "dist/ccxt.browser.js",
"engines": {
"node": ">=7.6.0"
},
@@ -34,7 +34,7 @@
"check-js-syntax": "eslint 'js/*.js'",
"check-python-syntax": "cd python && tox -e qa && cd ..",
"check-php-syntax": "php -f php/test/syntax.php",
"browserify": "browserify ./ccxt.browser.js > ./build/ccxt.browser.js",
"browserify": "browserify ./ccxt.browser.js > ./dist/ccxt.browser.js",
"pandoc-all": "npm run pandoc-python-readme && npm run pandoc-doc-readme && npm run pandoc-doc-faq && npm run pandoc-doc-manual && npm run pandoc-doc-install && npm run pandoc-doc-exchanges && npm run pandoc-doc-exchanges-by-country",
"pandoc-python-readme": "pandoc --wrap=preserve --columns=10000 --from=markdown --to=rst --output=python/README.rst README.md",
"pandoc-doc-readme": "pandoc --wrap=preserve --columns=10000 --from=markdown --to=rst --output=doc/README.rst README.md",
@@ -3,7 +3,7 @@
LAST_COMMIT_MESSAGE="$(git log --no-merges -1 --pretty=%B)"
git config --global user.email "travis@travis-ci.org"
git config --global user.name "Travis CI"
git add --force build/ccxt.browser.js
git add --force dist/ccxt.browser.js
git commit -a -m "${COMMIT_MESSAGE}" -m '[ci skip]'
git tag -a "${COMMIT_MESSAGE}" -m "${LAST_COMMIT_MESSAGE}" -m "" -m "[ci skip]"
git remote remove origin

0 comments on commit 147e479

Please sign in to comment.
You can’t perform that action at this time.