Gathering detailed insights and metrics for dash-callback-chain
Gathering detailed insights and metrics for dash-callback-chain
npm install dash-callback-chain
Typescript
Module System
Node Version
NPM Version
38.9
Supply Chain
66.9
Quality
74.1
Maintenance
25
Vulnerability
94.3
License
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
1,119
Last Day
2
Last Week
5
Last Month
23
Last Year
136
Latest Version
0.0.1
Package Id
dash-callback-chain@0.0.1
Unpacked Size
4.60 MB
Size
1.12 MB
File Count
37
NPM Version
5.6.0
Node Version
8.9.1
Cumulative downloads
Total Downloads
Last day
100%
2
Compared to previous day
Last week
-58.3%
5
Compared to previous week
Last month
666.7%
23
Compared to previous month
Last year
-12.3%
136
Compared to previous year
Dash component to visualize callback chains
Go to this link to learn about Dash.
1# Install dependencies 2$ npm install 3 4# Watch source for changes and build to `lib/` 5$ npm start
You can start up a demo development server to see a demo of the rendered components:
1$ builder run demo 2$ open http://localhost:9000
You have to maintain the list of components in demo/Demo.react.js
.
1$ npm test
1$ npm run test-watch
1$ npm run test-debug
Cmd+opt+i
).webpack:// -> . -> spec/components
to find your test source files.webpack:// -> [your/repo/path]] -> dash-callback-chain -> src
to find your component source files.In your test, append .only
to a describe
or it
statement:
1describe.only('Foo component', () => { 2 // ... 3})l
Build development bundle to lib/
and watch for changes
# Once this is started, you can just leave it running.
$ npm start
Install module locally (after every change)
# Generate metadata, and build the JavaScript bundle
$ npm run install-local
# Now you're done. For subsequent changes, if you've got `npm start`
# running in a separate process, it's enough to just do:
$ python setup.py install
Run the dash layout you want to test
# Import dash-callback-chain to your layout, then run it:
$ python my_dash_layout.py
TODO: There is a workflow that links your module into site-packages
which would
make it unnecessary to re-run 2.
on every change: python setup.py develop
.
Unfortunately, this doesn't seem to work with resources defined in
package_data
.
See https://github.com/plotly/dash-components-archetype/issues/20
Before publishing to PyPi, you can test installing the module locally:
1# Install in `site-packages` on your machine 2$ npm run install-local
1$ npm run uninstall-local
For now, multiple steps are necessary for publishing to NPM and PyPi, respectively. TODO: #5 will roll up publishing steps into one workflow.
Ask @chriddyp to get NPM / PyPi package publishing accesss.
Preparing to publish to NPM
# Bump the package version
$ npm version major|minor|patch
# Push branch and tags to repo
$ git push --follow-tags
Preparing to publish to PyPi
# Bump the PyPi package to the same version
$ vi setup.py
# Commit to github
$ git add setup.py
$ git commit -m "Bump pypi package version to vx.x.x"
Publish to npm and PyPi
$ npm run publish-all
We use Builder to centrally manage build configuration, dependencies, and scripts.
To see all builder
scripts available:
1$ builder help
See the dash-components-archetype repo for more information.
No vulnerabilities found.
No security vulnerabilities found.