Skip to content

Suggestions for build script updates #713

@simonbengtsson

Description

@simonbengtsson

The build scripts works great as is, but thought I would suggest a few changes I think would make it more streamlined to contribute to the project. Mostly these are changes that aligns the project with common build scripts I have seen in the javascript/node community.

Practical

  • 1. Use semver instead of time based versioning
  • 2. Add script that makes it easier to publish new version to npm (would fix Update version in NPM #549)
  • 3. Install and use uglifyjs locally instead of globally
  • 4. Use npm scripts instead of a makefile
  • 5. Use npm to fetch dependencies instead of git submodules

Philosophical

I am sure you have thought of many of those things already, but which of these do you think sound like a good idea @MrRio? I have just made similar updates to the jspdf-autotable plugin so it would be fairly straight forward for me to submit pull requests for the proposed changes you like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions