13 Commits

Author SHA1 Message Date
Oscar Lorentzon
426f46326b chore: move configs to separate directory
Use module build in examples.
2021-03-25 16:48:40 +01:00
Oscar Lorentzon
b562a0b06c chore: build with rollup
Migrate to Rollup.
Emit umd, minified umd, module, type declarations
and source maps.
Work around problems with Falcor by using
virtual module.

Migrate to Jest.
Run tests in with CommonJS modules becasue ES6
is not supported.
Work around dependency problems by bootstrap
to ensure they are not loaded during test.

Remove all unused dependencies.

Create state transition matrix to avoid
circular dependencies.

chore: tsc and rollup watch build
chore: incremental watch build
Remove unused dependencies.
chore: use existing type packages
chore: mock favicon
chore: improve watch build
chore: fix styles build
chore: specific commonjs build for tests
chore: reset spec files
refactor: explicit state transition matrix
chore: make src commands work
chore: working unit tests and lib
chore: add serve docs script
chore: remove unused bundle config
chore: refactor rollup config to avoid duplication
fix: falcor imports
fix: transition from source to target

Fixes #87
Fixes #100
Fixes #159
Fixes #208
2021-03-15 11:23:22 +01:00
Oscar Lorentzon
15b0db262a chore: export shaders as strings
Remove brfs dependency and import shaders
directly as strings for simplification.
2021-02-24 10:07:39 +01:00
Oscar Lorentzon
743bee0fc9 chore: update dev dependencies
Use postcss directly in express server.
2021-02-24 10:07:39 +01:00
Oscar Lorentzon
151abd575c chore: add docker file and dev guide
Fixes #293
2021-01-20 08:12:35 +01:00
Oscar Lorentzon
af60482751 chore: make watch css build correspond to script 2020-09-08 14:52:05 +02:00
Oscar Lorentzon
a2416981c4 refactor: use package.json browsers list
Use browsers list config in debug server.
2017-06-29 12:05:12 +00:00
Oscar Lorentzon
6ea740c71b Remove js suffix from dist output files. 2016-10-28 11:16:16 +02:00
Oscar Lorentzon
d11f278d43 Simplify z-index approach.
Interactive (e.g. navigation, attribution) element have z-index 10.
Overlayed elements (slider, route bubble) have z-index 20.
Filling elements have z-index -1 to 9.
Cover have z-index 100.
Special elements (debug) have z-index 50.

Do not change z-index in server cssnano plugin (z-index are not
changed when built from npm script).
2016-08-26 13:22:25 -04:00
Oscar Lorentzon
72ff442775 Use postcss middleware to rebuild css when requested. 2016-07-14 09:36:17 -04:00
Oscar Lorentzon
90fa0bae0f Build everything to dist folder.
Node server does not need build folder because it generates
javascript and sourcemap on the fly.
2016-07-13 07:08:49 -04:00
Oscar Lorentzon
53878c56f0 Use tsconfig compiler options in node server.
Update running instructions.
Use npm script to run tests on git push.
2016-07-12 17:57:16 -04:00
Oscar Lorentzon
bd0ae51f2b Serve debug page with node server.
Use browserify middleware with dynamic caching for automatic
rebuild when files have changed and page is requested again.
Add watched build of bundle.
2016-07-12 17:40:36 -04:00