-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
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
- 6.
Remove version property from bower.jsonEDIT: Already done... - 7. Rewrite
build.sh
as a node script - 8. Use a module bundler to bundle plugins and libs (would hopefully fix Uncaught SyntaxError: Unexpected token ; #506 and Uncaught SyntaxError: Unexpected token ; #684).
- 9. Integrate
babeljs
to enable es2015 features
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.
erikhellq and markokostovski
Metadata
Metadata
Assignees
Labels
No labels