67 Commits

Author SHA1 Message Date
Oscar Lorentzon
8066b9c52a Use Typings instead of TSD.
Remove deprecated TSD dependency.
Use Typings to install type definitions.
Install rx typings from npm package.
2016-02-29 16:58:56 +01:00
Kamil Nikel
7f1cc9e1b5 Enable uglify 2016-02-10 08:41:22 +01:00
Kamil Nikel
b1b26001f9 Clean up IViewerOptions docs 2016-02-05 17:03:31 +01:00
Kamil Nikel
e9acdada63 First look through Viewer API documentation 2016-02-04 16:47:05 +01:00
Kamil Nikel
08b8ffb704 Use single point of entry for documentation 2016-02-04 16:17:13 +01:00
Kamil Nikel
bcc09b7250 Disable sourcemaps for faster builds now 2016-02-03 17:49:24 +01:00
Kamil Nikel
b01e511a0b Use gulp-uglify and gulp-sourcemaps instead of uglifyify and exorcist 2016-02-03 15:35:12 +01:00
Kamil Nikel
5f9c89d67b Generate docs only for Viewer and IViewerOptions 2016-02-01 15:54:29 +01:00
Kamil Nikel
06a37e735f Run gulp tsd task on prepublish 2016-01-26 17:37:16 +01:00
Kamil Nikel
ce9c5eee88 Skip watchify plugin in TEST environment 2016-01-25 16:11:53 +01:00
Kamil Nikel
78b5d57793 Apply uglifyify transfrom only in the prepublish task
Fixes mapillary/mapillary-js#22
2016-01-25 10:56:59 +01:00
Kamil Nikel
542c0dc85d Move browserSync to ts:dev gulp task
This prevents hanging the ts task on CircleCI
2016-01-25 10:55:37 +01:00
Kamil Nikel
a7fc8d8572 Make sure to run css task when starting gulp 2016-01-22 15:45:39 +01:00
Kamil Nikel
62f3f08a46 Include gulp css into the gulp workflow
This commit adds browserSync support for changed css files

Fixes mapillary/mapillary-js#2
2016-01-22 14:46:00 +01:00
Kamil Nikel
8beba842d0 Add browserSync, change debug location to localhost:3000 2016-01-22 14:24:23 +01:00
Kamil Nikel
009fcf1999 Don't generate docs on every change 2016-01-19 14:39:53 +01:00
Kamil Nikel
72e3a1bdfa Fix CSS bundling process, update debug URLs 2016-01-18 12:14:23 +01:00
Kamil Nikel
2564fb3492 Move stylesheets to /styles directory
This commit moves all the CSS styles to `/styles` directory and adds a
couple of gulp tasks to generate these styles on prepublish. This
results in having a `/dist` directory being used just for distributing
the package and development. Currently the task has to be run manually
when developing.

Fixes mapillary/mapillary-js#2
2016-01-18 11:39:09 +01:00
Kamil Nikel
717c6e3970 Generate full API documentation 2016-01-14 16:58:23 +01:00
Kamil Nikel
bde70525c7 Remove browserify fullPaths 2016-01-14 11:05:35 +01:00
Kamil Nikel
25d0d71f3d Update package details 2016-01-13 17:39:18 +01:00
Kamil Nikel
48695a9dc0 Add initial prepublish gulp task 2016-01-13 17:38:11 +01:00
Kamil Nikel
b01c49b3f9 Add initial docs structure 2016-01-13 11:29:53 +01:00
Kamil Nikel
53be602a15 Tweak typedoc settings, use minimal theme 2016-01-11 11:46:40 +01:00
Kamil Nikel
25a451c06f Add typedoc, update gulp documentation task 2016-01-11 11:25:09 +01:00
Kamil Nikel
d6bf580258 Temporary: generate docs when TypeScript gets compiled 2016-01-07 17:36:24 +01:00
Kamil Nikel
f6fbae26da Add uglifyify browserify transform 2016-01-05 15:31:05 +01:00
Kamil Nikel
91757a3f95 Fix the gulp documentation task 2015-12-03 17:01:52 +01:00
Kamil Nikel
1e304d5b62 Run ts-lint task on while before running the ts task 2015-12-03 16:10:53 +01:00
Johan Gyllenspetz
464192231f Add slightly overengineered VCR 2015-12-02 12:51:57 -08:00
Johan Gyllenspetz
448e2d2cf6 Add protitype for VCR
* vcr.json is still failed
* Recording to vcr.json is not yet done
* A way to not do a big vcr.json include is also needed for none test
2015-12-01 19:26:17 -08:00
Johan Gyllenspetz
da4ae2f6d1 Update to use import in spec, mainly for prepping use of envify
* Update all tests to use import
* Add envify with MAP_ENV set to testing when in testing environment
2015-12-01 18:20:46 -08:00
Kamil Nikel
8457462139 Pass tsconfig options correctly 2015-12-01 17:40:16 +01:00
Kamil Nikel
27cff840b0 Simplify build with tsify, add karma-typescript-preprocessor 2015-12-01 15:25:28 +01:00
Kamil Nikel
4f9b6b7f2b Add tsify, exorcist for source map support 2015-12-01 14:46:45 +01:00
Kamil Nikel
f2d0bb5b48 Exit with correct EXIT CODE for Travis CI 2015-12-01 11:22:23 +01:00
Kamil Nikel
e7f63bb210 Add tsd task 2015-12-01 11:11:21 +01:00
Kamil Nikel
214aa58354 Bring back git-hooks 2015-12-01 11:00:15 +01:00
Kamil Nikel
92eb6b3b54 Make sure Gulpfile.js is linted 2015-12-01 10:38:28 +01:00
Kamil Nikel
1b7125f891 Fix gulp test --grep task
Not it's possible to use `gulp test` for running whole suite of tests and `gulp test --grep=%SuiteName%`
for runninng particular suite.
2015-12-01 10:14:35 +01:00
Kamil Nikel
d4376c7b7e Try plain tsd for installing typings 2015-11-25 15:34:28 +01:00
Oscar Lorentzon
c381b44f4e Parse shaders with brfs.
Read shaders from file and parse them with transform in browserify using brfs.
Add typings for node. Add dependency to brfs.
2015-11-15 20:31:25 +01:00
Oscar Lorentzon
25fc53bfa7 Read typescript compiler options from config. 2015-11-13 16:41:16 +01:00
Kamil Nikel
a674134187 Add option to test single test files through grep 2015-11-13 10:56:49 +01:00
Kamil Nikel
976b245acb Add ./build folder, distinguish from ./dist 2015-11-13 09:41:30 +01:00
Johan Gyllenspetz
23495dacd6 Try to organize code more in an angular way part II 2015-11-07 16:34:58 -08:00
Johan Gyllenspetz
453d728a52 Fix synch in gulp 2015-11-06 18:11:26 -08:00
Johan Gyllenspetz
9156af8f10 Retract to user viewer as enntry point for browserify in Gulp 2015-11-04 16:52:46 -08:00
Johan Gyllenspetz
3f3e110236 Some fake code to start thinking about structure 2015-11-04 16:32:21 -08:00
Johan Gyllenspetz
fc0f1f8d95 Update some paths for tests in Gulp 2015-11-04 15:07:35 -08:00