146 Commits

Author SHA1 Message Date
李东云
c66b4840d9 init(build): 初始化 gitignore 和必需的文件 2022-04-14 16:38:47 +08:00
Chauncey McAskill
28aa6c7de6 Update NPM dependencies
Resolves #105

Updated:
- autoprefixer v10.4.2 → v10.4.4
- browser-sync v2.27.7 → v2.27.9
- esbuild v0.14.21 → v0.14.27
- postcss v8.4.6 → v8.4.12
2022-03-21 17:24:10 -04:00
Chauncey McAskill
9d18205b0f Update NPM dependencies
Updated:
- autoprefixer v10.4.0 → v10.4.2
- esbuild v0.13.12 → v0.14.14
- node-sass v6.0.1 → v7.0.1
- postcss v8.3.11 → v8.4.5
2022-01-28 16:00:57 -05:00
Chauncey McAskill
5c24fabaa2 Compile assets 2021-11-03 10:50:33 -04:00
Deven Caron
62601f22ed Build assets 2021-10-19 14:49:56 -04:00
Deven Caron
8b40b1a92e build assets 2021-10-18 16:45:40 -04:00
Deven Caron
a28848e8aa Remove toggleLazy call
Adapt lazy-load markup
Add svg viewbox ratio example
2021-10-18 16:44:41 -04:00
Deven Caron
b881003705 Fix stylesheet wrong id 2021-10-18 16:42:36 -04:00
Chauncey McAskill
21f6acf4a6 Update NPM dependencies
Updated:
- autoprefixer v10.3.4 → v10.3.5
- esbuild v0.12.28 → v0.13.0
- postcss v8.3.6 → v8.3.7
2021-09-22 13:26:28 -04:00
Chauncey McAskill
3a65683fd8 Compile assets 2021-09-21 17:52:17 -04:00
Chauncey McAskill
7e8a21f698 Update README and Boilerplate occurrences
Changed "Configuration" section to instruct developers on what occurrences to rename throughout the package.
2021-09-18 01:16:44 -04:00
Chauncey McAskill
b24014d8b1 Add autoprefixer and postcss
Added:
- autoprefixer v10.3.4
- postcss v8.3.6

Changed:
- Node Sass options to pass source map to PostCSS.
2021-09-18 01:16:44 -04:00
Chauncey McAskill
e9e0e5784e Refactor build tasks
Decouple static "main" keys in mconfig.json and refactor tasks to support many output files.

Added:
- scripts.js: Array of output files (such as 'app.js') to iterate over to bundle JS files.
- styles.js: Array of input files (such as 'main.css' and 'critical.css') to iterate over to compile Sass files.
- svgs.js: Array of output files (such as 'sprite.svg') to iterate over to compile SVG spritesheets.

Changed:
- mconfig.json: Decouple entry points to individual tasks to allow for more flexibility in projects.
- concat.js: Refactor function to use promises to build list of JS files to concatenate.
- message.js: Replace if statements with switch for improved readability.
- message.js: If timerID provided with "waiting" type, log time.
- watch.js: Change CSS and JS reload watch paths to include all files.
- Sorted imports by path.
2021-09-18 01:16:44 -04:00
Quentin Hocdé
fbe2a6badf Fix app.js coding style and rename css id 2021-03-05 09:30:54 -05:00
Quentin Hocdé
7cc8cee0fd Updates coding styles Scroll.js and app.js 2021-03-05 09:22:43 -05:00
Quentin Hocdé
f15ec08784 Update notification + add built time + add nvmrc 2020-12-11 10:41:07 -05:00
Quentin Hocdé
6ab44c64a9 add indication for svg favicon and darkmode 2020-12-03 16:25:05 -05:00
Quentin Hocdé
2e7bb3b482 Update tasks - remove gulp (replaced by node scripts, working with mconfig) + esbuild (no more es5 support) + add critical css in config file 2020-11-27 16:01:54 -05:00
Deven Caron
43fc62950a Build 2020-10-26 15:28:35 -04:00
Deven Caron
59243317a7 Add more polyfills for cross-browser compatibility 2020-10-26 15:23:45 -04:00
Antoine Boulanger
e910afc384 Change async stylesheet method, check stylesheet onload before init app 2020-05-26 15:22:14 -04:00
Antoine Boulanger
cc181ed26c Fix polyfill link, update babel polyfill, add preload to css with inline polyfill, add defer to scripts, move lazy load demo to images.html 2019-10-17 09:08:11 -04:00
Jérémy Minié
61c9c0ac6f Add basic scroll-related lazy loading system w/ examples + Fix scrolling issues by putting header inside o-scroll + Use data-scroll-section 2019-09-25 16:25:14 -04:00
Antoine Boulanger
680d6af675 Add abortcontroller to polyfill.io and remove static file 2019-09-03 14:16:08 -04:00
Antoine Boulanger
3ed1175aaf Change loco-scroll version in package.json and add uppercase to import, add forEach to polyfill 2019-08-08 11:18:18 -04:00
Antoine Boulanger
1f589add29 Create heading, form and button component, remove objects, add form example to page.html, add rem to container, remove pjax scss, add scroll object. 2019-07-24 16:28:56 -04:00
Antoine Boulanger
88dd4dde3b Change favicons 2019-07-19 16:08:08 -04:00
Antoine Boulanger
41c3fe4b49 Remove jQuery and scrollTo util 2019-07-19 16:00:31 -04:00
Antoine Boulanger
9836c462b2 Update locomotive-scroll to v3: update scroll.js, add scrollbar css, remove copy task 2019-07-19 15:57:34 -04:00
Jérémy Minié
7d47ae0d82 Fix small warning in app.js + Add useful methods to html.js + Add maths.js to utils + Build 2019-06-25 14:21:03 -04:00
Antoine Boulanger
d166261d0a Add loco scroll v2, update load module and app, update html, add nomodule polyfills script tags 2019-05-23 10:06:45 -04:00
Antoine Boulanger
88aa667090 Start adding modularjs & modularload, start updating readme, update html files, change jquery cdn, remove IE from babelrc 2019-03-24 17:15:47 -04:00
Antoine Boulanger
581f82b441 Change meta order 2019-02-11 11:42:09 -05:00
Antoine Boulanger
5281c12e96 Add missing favicons and manifests, update html metas 2019-02-11 11:40:43 -05:00
Deven Caron
d372d1867f smoothscroll false by default, scroll module renaming 2018-10-17 12:05:33 -04:00
Deven Caron
6cf0bd8375 added scrollbar style 2018-10-17 11:45:20 -04:00
Deven Caron
4676d277f5 added scroll extends + LocomotiveScroll module + scroll basic style 2018-10-17 10:53:08 -04:00
Julien Martins Da Costa
5c77eb9c61 Merge pull request #62 from locomotivemtl/remove.jshintesnext
Remove jshint esnext and use esversion: 6
2018-05-10 11:47:58 -04:00
Deven Caron
580985fe27 Fix export event Transition 2018-05-10 11:12:05 -04:00
Julien Martins Da Costa
2116efb8c2 Remove jshint esnext: http://jshint.com/docs/options/#esnext and use esversion: 6 2018-05-01 09:50:13 -04:00
Quentin Hocdé
33d4c9637d compile prev commit 2018-02-26 14:21:50 -05:00
Quentin Hocdé
42d8fec62d init modules then add css class + exec script inline 2018-02-20 11:20:09 -05:00
Quentin Hocdé
93c50ddc9c remove useless things, update todo 2018-02-06 14:25:30 -05:00
Quentin Hocdé
f00fc2fcd2 Update : manage clickedLink via pjax:send, logs if isDebug, manage events, add schema to explain the order of executions, refactoring after tests in a real project 2018-02-05 15:17:39 -05:00
Quentin Hocdé
27c09301db update todo, and fix innerHTML view delay 2018-02-02 09:34:24 -05:00
Quentin Hocdé
bd33e8cb02 data-transition on link, and BaseTransition as interface 2018-02-01 16:14:35 -05:00
Quentin Hocdé
8b77d8ae40 update todo 2018-02-01 10:07:52 -05:00
Quentin Hocdé
75817d77f4 (WIP) : rewrite TransitionManager, init pjax, manage no-transition class, manage wrapper&container like barba, defaultTransition (interface?), add @todo. 2018-02-01 09:58:18 -05:00
Quentin Hocdé
60bb9cf347 add familly.scss 2017-12-07 11:16:46 -05:00
Julien Martins Da Costa
b9721dda89 Remove the border-radius in Chrome 62+ on macOS 2017-10-31 10:02:59 -04:00