2018-01-06 15:51:25 -08:00
|
|
|
{
|
2018-03-11 20:37:24 -07:00
|
|
|
"name": "pinafore",
|
|
|
|
"description": "Alternative web client for Mastodon",
|
2021-04-03 09:03:47 -07:00
|
|
|
"version": "1.24.2",
|
2018-01-06 15:51:25 -08:00
|
|
|
"scripts": {
|
2018-12-11 07:31:48 -08:00
|
|
|
"lint": "standard && standard --plugin html 'src/routes/**/*.html'",
|
|
|
|
"lint-fix": "standard --fix && standard --fix --plugin html 'src/routes/**/*.html'",
|
2019-03-02 19:02:06 -08:00
|
|
|
"dev": "run-s build-template-html build-assets serve-dev",
|
2018-12-17 22:42:39 -08:00
|
|
|
"serve-dev": "run-p --race build-template-html-watch sapper-dev",
|
2021-04-11 07:43:53 -07:00
|
|
|
"sapper-dev": "cross-env NODE_ENV=development PORT=4002 node -r esm ./node_modules/sapper/sapper dev",
|
2019-03-02 19:02:06 -08:00
|
|
|
"before-build": "run-s build-template-html build-assets",
|
2019-01-27 17:44:30 -08:00
|
|
|
"build": "cross-env NODE_ENV=production run-s build-steps",
|
2020-08-25 16:45:53 -07:00
|
|
|
"build-steps": "run-s before-build sapper-export build-vercel-json",
|
2021-04-11 07:43:53 -07:00
|
|
|
"sapper-build": "node -r esm ./node_modules/sapper/sapper build",
|
2019-02-12 23:12:50 -08:00
|
|
|
"start": "node server.js",
|
2018-02-18 17:28:08 -08:00
|
|
|
"build-and-start": "run-s build start",
|
2018-12-17 17:21:29 -08:00
|
|
|
"build-template-html": "node -r esm ./bin/build-template-html.js",
|
|
|
|
"build-template-html-watch": "node -r esm ./bin/build-template-html.js --watch",
|
2019-03-02 19:02:06 -08:00
|
|
|
"build-assets": "node -r esm ./bin/build-assets.js",
|
2020-11-23 12:45:01 -08:00
|
|
|
"clone-mastodon": "node -r esm ./bin/clone-mastodon.js",
|
2021-03-06 09:06:42 -08:00
|
|
|
"install-mastodon": "node -r esm ./bin/install-mastodon.js",
|
2018-05-24 20:07:43 -07:00
|
|
|
"run-mastodon": "node -r esm ./bin/run-mastodon.js",
|
2019-01-27 17:44:30 -08:00
|
|
|
"test": "cross-env BROWSER=chrome:headless run-s test-browser",
|
2018-05-26 13:51:41 -07:00
|
|
|
"test-browser": "run-p --race run-mastodon build-and-start test-mastodon",
|
|
|
|
"test-mastodon": "run-s wait-for-mastodon-to-start wait-for-mastodon-data testcafe",
|
2018-05-27 09:27:29 -07:00
|
|
|
"testcafe": "run-s testcafe-suite0 testcafe-suite1",
|
2021-03-19 07:22:47 -07:00
|
|
|
"testcafe-suite0": "cross-env-shell testcafe -c 2 $BROWSER tests/spec/0*",
|
2019-11-09 17:25:33 -05:00
|
|
|
"testcafe-suite1": "cross-env-shell testcafe $BROWSER tests/spec/1*",
|
2020-11-29 14:13:27 -08:00
|
|
|
"test-unit": "NODE_ENV=test mocha -r esm -r bin/browser-shim.js tests/unit/",
|
2021-03-06 09:06:42 -08:00
|
|
|
"test-in-ci": "cross-env BROWSER=chrome:headless run-p --race run-mastodon start test-mastodon",
|
2018-03-28 18:22:30 -07:00
|
|
|
"wait-for-mastodon-to-start": "node -r esm bin/wait-for-mastodon-to-start.js",
|
|
|
|
"wait-for-mastodon-data": "node -r esm bin/wait-for-mastodon-data.js",
|
2018-12-11 07:31:48 -08:00
|
|
|
"backup-mastodon-data": "./bin/backup-mastodon-data.sh",
|
2021-04-11 07:43:53 -07:00
|
|
|
"sapper-export": "cross-env PORT=22939 node -r esm ./node_modules/sapper/sapper export",
|
2018-12-11 07:31:48 -08:00
|
|
|
"print-export-info": "node ./bin/print-export-info.js",
|
2019-01-12 10:17:37 -08:00
|
|
|
"export-steps": "run-s before-build sapper-export print-export-info",
|
2019-02-15 19:46:27 -08:00
|
|
|
"export": "cross-env NODE_ENV=production run-s export-steps",
|
2019-02-16 14:30:34 -08:00
|
|
|
"now-build": "run-s export",
|
2020-08-25 16:45:53 -07:00
|
|
|
"build-vercel-json": "node -r esm bin/build-vercel-json.js"
|
2018-01-06 15:51:25 -08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-03-13 17:31:17 -08:00
|
|
|
"@formatjs/intl-listformat": "^5.0.10",
|
2021-02-15 15:07:19 -08:00
|
|
|
"@formatjs/intl-locale": "^2.4.14",
|
|
|
|
"@formatjs/intl-pluralrules": "^4.0.6",
|
|
|
|
"@formatjs/intl-relativetimeformat": "^8.0.4",
|
2020-07-05 12:07:17 -07:00
|
|
|
"@rollup/plugin-replace": "^2.3.3",
|
2020-06-28 23:12:14 -07:00
|
|
|
"arrow-key-navigation": "^1.2.0",
|
2019-08-17 20:54:45 +03:00
|
|
|
"blurhash": "^1.1.3",
|
2020-01-12 09:56:57 -08:00
|
|
|
"cheerio": "^1.0.0-rc.3",
|
2018-06-03 15:30:37 -07:00
|
|
|
"child-process-promise": "^2.2.1",
|
2021-02-15 15:07:26 -08:00
|
|
|
"chokidar": "^3.5.1",
|
2021-02-20 13:40:45 -08:00
|
|
|
"circular-dependency-plugin": "^5.2.2",
|
2019-03-21 12:51:08 -07:00
|
|
|
"compression": "^1.7.4",
|
2021-02-15 15:07:35 -08:00
|
|
|
"cross-env": "^7.0.3",
|
2019-02-11 21:04:19 -08:00
|
|
|
"css-dedoupe": "^0.1.1",
|
2021-01-23 15:58:07 -08:00
|
|
|
"emoji-picker-element": "^1.4.0",
|
|
|
|
"emoji-picker-element-data": "^1.1.0",
|
2021-02-15 16:47:31 -08:00
|
|
|
"emoji-regex": "^9.2.1",
|
2020-07-20 07:02:05 -07:00
|
|
|
"encoding": "^0.1.13",
|
2018-06-03 15:30:37 -07:00
|
|
|
"escape-html": "^1.0.3",
|
2019-05-25 08:19:05 -07:00
|
|
|
"esm": "^3.2.25",
|
2018-12-04 06:44:13 -08:00
|
|
|
"events-light": "^1.0.5",
|
2019-05-27 15:15:47 -07:00
|
|
|
"express": "^4.17.1",
|
2018-06-03 15:30:37 -07:00
|
|
|
"file-api": "^0.10.4",
|
2021-02-15 15:07:13 -08:00
|
|
|
"file-drop-element": "^1.0.1",
|
2021-02-20 13:40:45 -08:00
|
|
|
"file-loader": "^6.2.0",
|
|
|
|
"focus-visible": "^5.2.0",
|
2019-11-08 18:36:50 -08:00
|
|
|
"form-data": "^3.0.0",
|
2020-11-29 14:13:27 -08:00
|
|
|
"format-message-interpret": "^6.2.3",
|
2021-02-14 11:32:04 -08:00
|
|
|
"format-message-parse": "^6.2.3",
|
2019-11-24 12:11:54 -08:00
|
|
|
"glob": "^7.1.6",
|
2021-04-11 07:42:30 -07:00
|
|
|
"is-emoji-supported": "^0.0.5",
|
2020-06-29 21:16:22 -07:00
|
|
|
"li": "^1.3.0",
|
2018-12-05 21:34:30 -08:00
|
|
|
"localstorage-memory": "^1.0.3",
|
2021-02-20 13:40:50 -08:00
|
|
|
"lodash-es": "4.17.15",
|
|
|
|
"lodash-webpack-plugin": "^0.11.6",
|
2020-07-05 12:07:17 -07:00
|
|
|
"mkdirp": "^1.0.4",
|
2020-09-06 20:01:55 -07:00
|
|
|
"node-fetch": "^2.6.1",
|
2018-11-24 21:21:42 -08:00
|
|
|
"npm-run-all": "^4.1.5",
|
2020-02-22 16:42:02 -08:00
|
|
|
"p-any": "^3.0.0",
|
2019-10-15 17:27:41 -07:00
|
|
|
"page-lifecycle": "^0.1.2",
|
2018-06-03 15:30:37 -07:00
|
|
|
"performance-now": "^2.1.0",
|
2019-02-23 23:34:48 -08:00
|
|
|
"pinch-zoom-element": "^1.1.1",
|
2019-08-17 14:36:13 -07:00
|
|
|
"promise-worker": "^2.0.1",
|
2019-02-14 19:38:42 -08:00
|
|
|
"prop-types": "^15.7.2",
|
2018-06-03 15:30:37 -07:00
|
|
|
"requestidlecallback": "^0.3.0",
|
2020-09-07 14:42:50 -07:00
|
|
|
"rollup": "^2.26.10",
|
2020-07-05 12:07:17 -07:00
|
|
|
"rollup-plugin-babel": "^4.4.0",
|
2020-09-07 14:42:50 -07:00
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2020-11-29 14:13:27 -08:00
|
|
|
"rtl-detect": "^1.0.2",
|
2021-02-27 18:31:09 -08:00
|
|
|
"sapper": "nolanlawson/sapper#for-pinafore-25",
|
2021-02-20 13:40:45 -08:00
|
|
|
"sass": "^1.32.8",
|
2020-03-03 05:53:18 -08:00
|
|
|
"stringz": "^2.1.0",
|
2019-02-14 19:38:42 -08:00
|
|
|
"svelte": "^2.16.1",
|
2018-06-03 15:30:37 -07:00
|
|
|
"svelte-extras": "^2.0.2",
|
2019-10-15 17:27:36 -07:00
|
|
|
"svelte-loader": "^2.13.6",
|
2018-06-03 15:30:37 -07:00
|
|
|
"svelte-transitions": "^1.2.0",
|
2019-10-30 07:50:05 -07:00
|
|
|
"svgo": "^1.3.2",
|
2021-02-20 15:30:58 -08:00
|
|
|
"terser-webpack-plugin": "^5.1.1",
|
2020-11-14 14:13:31 -08:00
|
|
|
"tesseract.js": "^2.1.4",
|
2020-07-05 12:37:33 -07:00
|
|
|
"tesseract.js-core": "^2.2.0",
|
2019-02-11 21:04:19 -08:00
|
|
|
"text-encoding": "^0.7.0",
|
2018-06-03 15:30:37 -07:00
|
|
|
"tiny-queue": "^0.2.1",
|
2021-02-20 15:30:58 -08:00
|
|
|
"webpack": "^5.23.0",
|
2021-02-20 12:39:25 -08:00
|
|
|
"webpack-bundle-analyzer": "^4.4.0",
|
2021-02-20 13:40:45 -08:00
|
|
|
"worker-loader": "^3.0.8"
|
2018-01-06 15:51:25 -08:00
|
|
|
},
|
2018-03-28 18:46:46 -07:00
|
|
|
"devDependencies": {
|
2019-05-19 08:07:27 -07:00
|
|
|
"assert": "^2.0.0",
|
2021-02-20 13:40:33 -08:00
|
|
|
"eslint-plugin-html": "^6.1.1",
|
2020-09-06 20:01:48 -07:00
|
|
|
"fake-indexeddb": "^3.1.2",
|
2020-11-29 14:13:27 -08:00
|
|
|
"globby": "^11.0.1",
|
2021-02-15 15:07:03 -08:00
|
|
|
"husky": "^5.0.9",
|
|
|
|
"lint-staged": "^10.5.4",
|
2021-02-15 16:47:42 -08:00
|
|
|
"mocha": "^8.3.0",
|
2021-02-20 13:40:33 -08:00
|
|
|
"standard": "^16.0.3",
|
2021-02-15 12:54:13 -08:00
|
|
|
"testcafe": "^1.11.0",
|
2020-09-06 20:01:48 -07:00
|
|
|
"vercel": "^20.1.0"
|
2018-03-28 18:46:46 -07:00
|
|
|
},
|
2018-01-06 15:51:25 -08:00
|
|
|
"engines": {
|
|
|
|
"node": ">= 8"
|
2018-02-08 22:29:29 -08:00
|
|
|
},
|
|
|
|
"standard": {
|
|
|
|
"globals": [
|
2019-09-07 20:27:47 -07:00
|
|
|
"AbortController",
|
|
|
|
"Blob",
|
|
|
|
"CSS",
|
|
|
|
"DOMParser",
|
|
|
|
"Element",
|
|
|
|
"Element",
|
|
|
|
"Event",
|
|
|
|
"FormData",
|
2020-06-28 23:12:14 -07:00
|
|
|
"HTMLElement",
|
2018-02-08 22:29:29 -08:00
|
|
|
"IDBKeyRange",
|
|
|
|
"IDBObjectStore",
|
2019-09-07 20:27:47 -07:00
|
|
|
"Image",
|
|
|
|
"ImageData",
|
2018-02-08 22:29:29 -08:00
|
|
|
"IntersectionObserver",
|
2019-09-07 20:27:47 -07:00
|
|
|
"MessageChannel",
|
|
|
|
"NodeList",
|
|
|
|
"NotificationEvent",
|
|
|
|
"OffscreenCanvas",
|
2019-10-07 07:15:05 -07:00
|
|
|
"PointerEvent",
|
2019-10-18 19:03:04 -07:00
|
|
|
"Response",
|
2018-02-08 22:31:05 -08:00
|
|
|
"URL",
|
2019-09-07 20:27:47 -07:00
|
|
|
"WebSocket",
|
|
|
|
"__assets__",
|
2018-02-08 22:31:05 -08:00
|
|
|
"__routes__",
|
|
|
|
"__shell__",
|
2018-03-02 17:54:38 -08:00
|
|
|
"atob",
|
|
|
|
"btoa",
|
2019-09-07 20:27:47 -07:00
|
|
|
"caches",
|
2019-05-06 20:29:43 -07:00
|
|
|
"customElements",
|
2019-09-07 20:27:47 -07:00
|
|
|
"fetch",
|
|
|
|
"fixture",
|
|
|
|
"getComputedStyle",
|
|
|
|
"history",
|
|
|
|
"indexedDB",
|
|
|
|
"localStorage",
|
|
|
|
"location",
|
2019-08-04 13:31:51 -07:00
|
|
|
"matchMedia",
|
2019-09-07 20:27:47 -07:00
|
|
|
"performance",
|
2019-08-22 09:09:21 -07:00
|
|
|
"postMessage",
|
2020-04-26 16:54:00 -07:00
|
|
|
"queueMicrotask",
|
2019-09-07 20:27:47 -07:00
|
|
|
"requestAnimationFrame",
|
|
|
|
"requestIdleCallback",
|
|
|
|
"self",
|
|
|
|
"test"
|
2018-02-08 22:29:29 -08:00
|
|
|
]
|
2018-03-05 20:29:49 -08:00
|
|
|
},
|
2018-03-28 18:22:30 -07:00
|
|
|
"esm": {
|
|
|
|
"mode": "auto",
|
2018-03-05 20:51:42 -08:00
|
|
|
"cjs": "vars"
|
2018-03-11 20:37:24 -07:00
|
|
|
},
|
2018-06-23 09:51:37 -07:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/nolanlawson/pinafore.git"
|
|
|
|
},
|
|
|
|
"keywords": [],
|
|
|
|
"author": "Nolan Lawson <nolan@nolanlawson.com>",
|
|
|
|
"license": "AGPL-3.0-only",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/nolanlawson/pinafore/issues"
|
|
|
|
},
|
2020-08-29 19:18:59 -07:00
|
|
|
"homepage": "https://github.com/nolanlawson/pinafore#readme",
|
|
|
|
"lint-staged": {
|
|
|
|
"*.js": "standard --fix",
|
|
|
|
"*.html": "standard --fix --plugin html 'src/routes/**/*.html'"
|
|
|
|
}
|
2018-01-06 15:51:25 -08:00
|
|
|
}
|