Skip to content

Commit

Permalink
refactor: remove plotly, express dependency and add webpack, jest
Browse files Browse the repository at this point in the history
Plots now react to browser resizing. Refactored web server.
Remove mocha and chai and use jest instead.
Copies plotly.min.js and types to project build from node_modules.
  • Loading branch information
ngfelixl committed Feb 16, 2019
1 parent ed308f9 commit 11cf453
Show file tree
Hide file tree
Showing 43 changed files with 14,426 additions and 1,578 deletions.
10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
node_modules/
yarn.lock
dist/

yarn.lock

coverage/

**/plotly.js/**

**/*.tgz
4 changes: 0 additions & 4 deletions .npmignore

This file was deleted.

5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 120,
"trailingComma": "all",
"singleQuote": true
}
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
language : node_js
node_js :
- stable
- 10.15.0
install:
- npm install
script:
- npm run test
- npm run lint

# Send coverage data to Coveralls
after_script: "cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js"
after_script: npm run coverage
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,23 @@ at `http://localhost:8080/data/:id`. After all pending plots are opened in a uni
tab and all the data is requested, the server shuts down. If you fire another plot
the server starts again provides your plot and shuts down automatically.

## Contributing

Contributions in all forms are welcome.

## Developers guide

Fork the [Github repository](https://github.com/ngfelixl/nodeplotlib) and clone
it to your PC. Install the npm dependencies using the `install` command. Add the
plotly types by running

```
npm run types
```

These won't be registered in the git tree.


## Get in contact

- Check the [authors website](https://felixlemke.com)
Expand Down
1 change: 0 additions & 1 deletion coverage/coverage.json

This file was deleted.

213 changes: 0 additions & 213 deletions coverage/lcov-report/base.css

This file was deleted.

93 changes: 0 additions & 93 deletions coverage/lcov-report/dist/index.html

This file was deleted.

0 comments on commit 11cf453

Please sign in to comment.