Browse Source

feat: render task list

node 6 years ago
parent
commit
ef9e2d194d

+ 0
- 6
build/asset-manifest.json View File

@@ -1,6 +0,0 @@
1
-{
2
-  "main.css": "lib/css/main.css",
3
-  "main.css.map": "lib/css/main.css.map",
4
-  "main.js": "lib/js/main.js",
5
-  "main.js.map": "lib/js/main.js.map"
6
-}

BIN
build/favicon.ico View File


+ 0
- 1
build/index.html View File

@@ -1 +0,0 @@
1
-<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/manifest.json"><link rel="shortcut icon" href="/favicon.ico"><title>React App</title><link href="/lib/css/main.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="/lib/js/main.js"></script></body></html>

+ 0
- 2
build/lib/css/main.css
File diff suppressed because it is too large
View File


+ 0
- 1
build/lib/css/main.css.map
File diff suppressed because it is too large
View File


+ 0
- 2
build/lib/js/main.js
File diff suppressed because it is too large
View File


+ 0
- 1
build/lib/js/main.js.map
File diff suppressed because it is too large
View File


+ 0
- 15
build/manifest.json View File

@@ -1,15 +0,0 @@
1
-{
2
-  "short_name": "React App",
3
-  "name": "Create React App Sample",
4
-  "icons": [
5
-    {
6
-      "src": "favicon.ico",
7
-      "sizes": "64x64 32x32 24x24 16x16",
8
-      "type": "image/x-icon"
9
-    }
10
-  ],
11
-  "start_url": "./index.html",
12
-  "display": "standalone",
13
-  "theme_color": "#000000",
14
-  "background_color": "#ffffff"
15
-}

+ 0
- 1
build/service-worker.js View File

@@ -1 +0,0 @@
1
-"use strict";var precacheConfig=[["/index.html","48052400c08cf5f6351fc116a510ec4b"],["/lib/css/main.css","13c5173a695f1fecbe06c8c66443819c"],["/lib/js/main.js","597f24450ca69734896612349faaad73"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,n,r){var a=new URL(e);return r&&a.pathname.match(r)||(a.search+=(a.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),a.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,n){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return n.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],r=new URL(t,self.location),a=createCacheKey(r,hashParamName,n,/\.\w{8}\./);return[r.toString(),a]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(r){return setOfCachedUrls(r).then(function(n){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!n.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return r.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var n=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!n.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,n=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),r="index.html";(e=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,r),e=urlsToCacheKeys.has(n));var a="/index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(n=new URL(a,self.location).toString(),e=urlsToCacheKeys.has(n)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}});

+ 14432
- 0
package-lock.json
File diff suppressed because it is too large
View File


+ 1
- 1
package.json View File

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "editor",
3
-  "version": "0.1.0",
3
+  "version": "0.2.0",
4 4
   "private": true,
5 5
   "main": "lib/index.js",
6 6
   "dependencies": {