Commit Graph

15 Commits

Author SHA1 Message Date
pxlvxl
f367474b16
Update package.json 2022-03-13 12:56:35 -04:00
pxlvxl
a1757553cf Various changes
- added `/:paletteSlug/:resolution` functionality for localhost testing
	- created `currFile.sublayers` for *things that should zoom with the canvas layers*
	- `currFile.layers` now solely contains the canvas layers
	- added `getProjectData` to `FileManager`'s exported methods
	---
	- added `FileManager.localStorageSave` (it's basically just: localStorage.setItem("lpe-cache",FileManager.getProjectData()))
	- added `FileManager.localStorageCheck` (it's basically just: `!!localStorage.getItem("lpe-cache")`)
	- added `FileManager.localStorageLoad` (it's basically just: `return localStorage.getItem("lpe-cache")`)
	- added `FileManager.localStorageReset` (for debugging purity)
	---
	- calling `FileManager.localStorageSave()` on mouse up (we should stress test this)
	---
	- changed lpe file format to `{canvasWidth:number,canvasHeight:number,selectedLayer:number,colors:[],layers:[]}`
	- added backward compatibility for the old lpe file format
	---
	- added some canvas utility functions in `canvas_util`
	- added Unsettled's color similarity utility functions in `color_util2`
	---
	- html boilerplate - wang tiles
	-
	- POC - tiny text boilerplate
	- POC - tiny text font scraper
	---
	- WIP - added two optional url route parameters `/:paletteSlug/:resolution/:prefillWidth/:prefillBinaryStr`
	- WIP POC - hbs_parser.js (outputs tree data about hbs file relationships)
2022-02-23 11:16:23 -05:00
Nicola
dfa9810a75 Merge remote-tracking branch 'upstream/master' 2021-12-09 08:39:04 +01:00
Sam Keddy
fd064ebb21 finally removed node-gyp dependency
updated gulp-sass and switched it to use the official sass package, which is pure javascript. it should now be buildable out of the box on windows. closes #64
2021-12-08 18:42:09 -05:00
Leamsi Escribano
b8ae07adff audit fix and pan issue fixed 2021-07-18 10:03:46 -05:00
skeddles
1f820fd97e ported to static site, removed _ext folder, split hbs files into partials 2021-07-06 17:24:20 -04:00
nkoder
7e40df507e Make it possible to run server with file-watching but without automatic webpage reload 2021-04-28 23:51:14 +02:00
Julian Webb
2771508561 Readded page open and added auto-refresh
Added npm modules 'open-cli', 'concurrently', 'reload', and 'wait-cli'
NPM script 'hot' will now open the page once the server is up the first time thanks to 'wait-cli' and 'open-cli'
After that, 'reload' will take care of refresing the page when it's dead-man switch triggers

Co-authored-by: ndoker <pawelbarszcz@gmail.com>
2021-04-25 13:03:55 -07:00
Julian Webb
8fbe48e1b1 Removed relative path to nodemon in package.json as it is not required 2021-04-25 12:05:38 -07:00
Julian Webb
ecae10e1ec Removed 'open' dependancy and added 'nodemon' dependacy. Also added a 'hot' script to 'package.json' for hot-reloads 2021-04-25 10:19:01 -07:00
Theo Cavignac
24af6b38a3 Update opn into open, make all build steps gulp based 2020-04-12 10:58:23 +02:00
Theo Cavignac
4123c069e2 Enforce style, split build into build and server, parametrize build.js and server.js 2020-04-12 09:36:10 +02:00
npalomba
5bbfff5fae Added eraser icon, added management of eraser size, added event listener for R key (connected to the eraser tool). Started eraser cursor management in _updateCursors.js
Signed-off-by: npalomba <nicola.palomba@studenti.galileilivorno.gov.it>
2019-03-31 12:17:32 +02:00
skeddles
548fea2909 finish build file 2019-03-27 22:19:15 -04:00
Sam Keddy
7126e83f5f first commit 2019-03-26 23:20:54 +00:00