Skip to content

Commit

Permalink
build/ccxt.browser.js → dist/ccxt.browser.js
Browse files Browse the repository at this point in the history
  • Loading branch information
xpl committed Feb 28, 2019
1 parent 2b95f0e commit 147e479
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ccxt.browser.js
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion git-ignore-generated-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
LAST_COMMIT_MESSAGE="$(git log --no-merges -1 --pretty=%B)"
git config --global user.email "[email protected]"
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
Expand Down

0 comments on commit 147e479

Please sign in to comment.