Commit Graph

21 Commits

Author SHA1 Message Date
Arthur Lu
0ca848e26b add prettier to devDependencies,
add lint-prettier and fix-prettier commands
2022-11-29 08:15:59 -08:00
Arthur Lu
d284f0ddf2 change some npm scripts
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-20 14:17:10 -08:00
Arthur Lu
c3944d476b fix lintHTML and lintCSS commands
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-20 14:12:26 -08:00
Arthur Lu
5f84e700d1 update e2e test layout 2022-11-18 12:34:59 -08:00
Arthur Lu
1518fda766 add e2e tests for update and delete,
fix package.json commadns for lint and fix-style

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-17 13:54:58 -08:00
Arthur Lu
0ebf9f8a20 fix typo in package.json
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2022-11-17 11:38:05 -08:00
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