Simon Brunel
6572c94bd6
Fix missing Chart.js.zip file for Travis release
2016-07-15 13:01:55 +02:00
Simon Brunel
c6318749da
Drop official support for Bower
...
Remove the bower.json file and update the documentation with the alternative bower-npm-resolver solution.
2016-06-18 12:18:30 +02:00
Simon Brunel
53a0c5442e
New Chart.js.zip package
...
Samples need to be packaged with built libraries (which one have been removed from the repository), so create a new `gulp package` task to generate a ZIP archive with dist files, samples and the license file. This archive is generated in the ./dist/ folder and will be deployed by Travis along the GH release. Note that the ./dist/ folder is not preserved but merged in the archive root. Also change samples requiring moment.js to load this lib from the CDN instead of the ./node_module folder.
2016-06-18 12:14:31 +02:00
Simon Brunel
5c56f5cd9d
Use bundle-collapser to reduce build size
...
This browserify plugin converts required string paths to int (see https://github.com/substack/bundle-collapser ), lowering our *.min.js by ~1.8KB.
2016-06-05 09:56:41 +02:00
Eric D. Lewis
204021007f
Amend build task with flag for AMD compatible builds ( #2298 )
2016-06-03 20:21:49 -04:00
Zach Panzarino
050a6cb7c0
Clean up gulpfile even more
2016-05-24 15:04:20 +00:00
Zach Panzarino
cd7b975c95
Clean up gulpfile
2016-05-24 13:02:02 +00:00
Zach Panzarino
5a79b42a46
Update CDN on bump
2016-05-10 15:12:22 +00:00
Zach Panzarino
27b6791e73
Fix build to remove all comments other than header
2016-05-04 22:54:10 +00:00
Zach Panzarino
2c77f1b065
Enable line tests
2016-04-28 23:05:18 +00:00
Evert Timberg
73bc52f196
Update radial linear tests
2016-04-28 18:28:57 -04:00
Evert Timberg
9fe9305992
Reenable time scale tests
2016-04-27 21:50:31 -04:00
Evert Timberg
5c146a9da5
Linear scale tests
2016-04-27 21:19:02 -04:00
Evert Timberg
405fda6655
Fix radar tests & reenable. support new lineTension attribute like line controller
2016-04-27 19:03:52 -04:00
Evert Timberg
40405ebc80
disable time tests for same reason as others
2016-04-27 17:45:39 -04:00
Simon Brunel
eb14481d02
Fix legend tests and disable other failing tests
2016-04-27 19:58:36 +02:00
Zach Panzarino
0420965b49
Update gulpfile.js
2016-04-25 13:18:25 -04:00
Zach Panzarino
900d249646
Fix build to include comment at top of file
2016-04-22 15:03:52 +00:00
Zach Panzarino
fdec346206
Fix case-sensitive error in gulpfile
2016-04-20 23:42:07 +00:00
etimberg
a84f9d9177
Update other test tasks to use karma-browserify
2016-02-13 21:58:49 -05:00
etimberg
96551c20db
begin fixing coverage tests
2016-02-13 21:50:12 -05:00
etimberg
f6951816a0
Improve joshing reporting. Added a JSHint config file.
...
Fixed JSHint warnings.
2016-02-13 20:12:26 -05:00
Tanner Linsley
999125c521
Testing for the new build system
2016-02-11 23:25:06 -07:00
Tanner Linsley
813d18bd78
Passing All Tests, Updated Dependencies
2016-02-11 23:16:43 -07:00
Tanner Linsley
007d029837
Bundled builds
...
Possible usages are:
src/Chart.js (umd)
dist/Chart.js (ChartJS)
dist/Chart.min.js (ChartJS minified)
dist/Chart.bundle.js (ChartJS with Moment.js)
dist/Chart.bundle.min.js (ChartJS with Moment.js minified)
2016-02-11 21:29:26 -07:00
Tanner Linsley
f2780bb825
Browserify for easier UMD consumptions and vanilla builds
2016-02-11 20:30:53 -07:00
Kirushanth Sakthivetpillai
1e91cf816b
Update gulpfile.js
...
root can be either window, globals but without this, JS will not lookup in globals object
2016-01-05 11:19:48 -05:00
Tanner Linsley
ac9fe08068
Offer window alternative to this
context. Fixes Webspack and Browserify support
2015-12-30 09:43:51 -07:00
Kriss
1221d8311a
gulp-umd
...
Explicitly pass root to the factory function.
2015-12-22 13:21:23 +00:00
etimberg
b388a1e873
Pipe the build through UMD to get proper UMD headers
2015-12-02 21:08:52 -05:00
wuchangming
dae1e429b8
no such file
2015-11-26 19:35:25 +08:00
Evert Timberg
2e77651dd2
Test in firefox on travis
2015-10-20 20:08:41 -04:00
Tanner Linsley
e0918817ae
Testing fixes for time scale
2015-10-16 21:14:07 -06:00
Evert Timberg
6001a1e4e7
Fix JSHint task
2015-10-13 10:33:59 -04:00
Tanner Linsley
5543041fcd
Add Moment.js back into test reps
2015-09-28 12:45:53 -06:00
Tanner Linsley
39b15b98e6
Removed moment from build, import color lib first
2015-09-28 11:28:34 -06:00
Evert Timberg
80b2ffe3ee
Fix bar controller unit tests
2015-09-27 18:28:09 -04:00
Evert Timberg
9474d72491
Revert "Fix resize problems when charts are initially hidden"
2015-09-19 17:52:58 -04:00
Evert Timberg
bcbd9a85e6
Merge remote-tracking branch 'upstream/v2.0-dev' into feature/resize_problems
...
Conflicts:
gulpfile.js
2015-09-18 18:38:47 -04:00
Tanner Linsley
8762ae2f28
Add moment.js as dependency
2015-09-10 22:46:51 -06:00
Tanner Linsley
98eea76195
Do not test on gulp watch
2015-09-10 22:46:07 -06:00
Evert Timberg
2f38a3894a
Get resize listener helper
2015-09-04 22:55:41 -04:00
Evert Timberg
7fed38f1ab
Merge remote-tracking branch 'upstream/v2.0-dev' into feature/unit-test
...
Conflicts:
gulpfile.js
2015-08-28 19:09:39 -04:00
Evert Timberg
92f1c65c1c
Install coverage metrics. Use gulp coverage
to generate coverage reports
2015-08-28 19:02:37 -04:00
Tanner Linsley
edf95175a7
Organize Gulpfile, Integrate unit tests with Travis
2015-08-28 16:58:23 -06:00
Evert Timberg
9c1a0cbc16
This should run the unit tests from the CI system
2015-08-28 18:52:46 -04:00
Evert Timberg
f636a78977
Watch mode runs tests.
2015-08-23 15:55:10 -04:00
Evert Timberg
c1cca356df
Initial test setup
2015-08-23 14:58:19 -04:00
Evert Timberg
056b9550d0
Create interfaces similar to the old interfaces. Ensure that scales always have IDs before controllers are built.
2015-06-16 19:20:26 -04:00
Tanner Linsley
aaa2484e1b
Controller function organization
2015-06-14 19:42:39 -06:00