Commit Graph

15 Commits

Author SHA1 Message Date
Arthur Lu
dd7d876f29 add dependencies to package.json,
add http-server script to package.json,
add simple e2e test in main.e2e.test.js

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-16 16:10:31 -08:00
Arthur Lu
e068e51575
Merge branch '45-adding-htmlhint-to-repo' into sprint-1 2022-11-13 13:49:04 -08:00
Arthur Lu
37ea4d7e6d fix merge conflicts
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-13 21:47:27 +00:00
Arthur Lu
1819f5042c remove npx call in package.json scripts
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-13 21:40:42 +00:00
Arthur Lu
34225f651f fix package.json
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-13 21:30:31 +00:00
Marc
22d29718e8 updated css linter and html linter 2022-11-13 06:11:56 +00:00
Arthur Lu
8b2ae89bd2 switch localStorage mock to mock-local-storage,
fix unit tests to work with ES6 import syntax,
remove testenv module
2022-11-11 02:39:40 +00:00
Arthur Lu
b85a73400d add another unit test to localStorage.test.js,
reflect fixes to packages.json from main
2022-11-10 22:33:47 +00:00
Graydogminer
d6929af27e
added lintHTML command 2022-11-10 14:16:42 -08:00
Arthur Lu
338eeac38f fix scripts in package.json for correct recursive calling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-10 01:41:27 +00:00
Arthur Lu
1718c7cedb move localStorage util to localStorage.js,
update main,js to rquire localStroage,
add simple unit tests to localStroage.test.js,
create symlink of testenv.js to source/assets/scripts,
update package.json with proper recursive call

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-10 01:35:41 +00:00
Arthur Lu
aa69ef1ab7 fix devDependencies list in package.json
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-08 17:53:55 +00:00
Arthur Lu
a6015aff3b implement basic linting with eslint,
fix linting errors in testenv module

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-08 03:09:10 +00:00
Arthur Lu
0f622d16de switch to mocha for test latency improvements
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-08 00:00:15 +00:00
Arthur Lu
2d4f8e48c2 move package.json to root dir 2022-11-06 22:39:30 +00:00