Skip to content
Client-side Flask URL building
JavaScript Python HTML CSS Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
flask-cli
packages
react-example
test-data
tests
.babelrc
.browserslistrc
.coveragerc Initial commit Apr 12, 2018
.editorconfig
.eslintignore
.eslintrc.yml
.gitignore Use lerna to manage the monorepo Jun 25, 2019
.isort.cfg
.npmignore Initial commit Apr 12, 2018
.prettierrc Reformat code using prettier Jul 2, 2019
.travis.yml
LICENSE
README.md
babel-jest.js Run eslint on example/config files as well Jul 3, 2019
generate-url-map.sh
lerna.json
package.json
pytest.ini Initial commit Apr 12, 2018
requirements.dev.txt Initial commit Apr 12, 2018

README.md

Flask URLs in JS - the clean way!

I should really write something nicer here. Later. Or maybe you want to send a PR? For now, check out the example and react-example folder for small example apps showing how to use this. The react-example uses the Babel macro which can be used with an unejected create-react-app setup.

Releases

As a user of library, you can safely ignore this section. This is just for maintainers to know how to make releases.

JavaScript releases

  • npm run check to ensure everything is fine (tests + eslint)
  • npx lerna publish to publish a new version (choose a version according to semver!)
  • git push the new commit and tags to the upstream repo (not your fork!)

Python releases

  • pytest to ensure the tests pass
  • Bump the version in setup.py manually (according to semver)
  • python setup.py bdist_wheel to build the wheel
  • git tag -s flask-cli@x.y.z to tag the release (with x.y.z being the new version)
  • twine upload ... to publish the wheel
  • git push the new commit and tags to the upstream repo (not your fork!)

Note

In applying the MIT license, CERN does not waive the privileges and immunities granted to it by virtue of its status as an Intergovernmental Organization or submit itself to any jurisdiction.

You can’t perform that action at this time.