diff options
author | 2019-01-09 11:05:32 +0100 | |
---|---|---|
committer | 2019-01-09 11:05:32 +0100 | |
commit | 2c514e58eabd71af280b727514dccb7c8db4e6cf (patch) | |
tree | b9677f450fe300c6ff16d1ea1e2af7ea35a7bc02 | |
parent | Make packages work in electron, node and web (diff) | |
download | ferdium-app-2c514e58eabd71af280b727514dccb7c8db4e6cf.tar.gz ferdium-app-2c514e58eabd71af280b727514dccb7c8db4e6cf.tar.zst ferdium-app-2c514e58eabd71af280b727514dccb7c8db4e6cf.zip |
Finalize packages & replace storybook with homegrown `uidev`
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .storybook/addons.ts | 2 | ||||
-rw-r--r-- | .storybook/config.ts | 15 | ||||
-rw-r--r-- | .storybook/preview-head.html | 7 | ||||
-rw-r--r-- | .storybook/webpack.config.js | 17 | ||||
-rw-r--r-- | package-lock.json | 852 | ||||
-rw-r--r-- | package.json | 20 | ||||
-rw-r--r-- | packages/forms/tslint.json | 11 | ||||
-rw-r--r-- | packages/theme/tslint.json | 12 | ||||
-rw-r--r-- | tsconfig.storybook.json | 3 | ||||
-rw-r--r-- | tslint.json | 12 | ||||
-rw-r--r-- | uidev/src/app.html | 18 | ||||
-rw-r--r-- | uidev/src/app.tsx | 89 | ||||
-rw-r--r-- | uidev/src/index.tsx | 9 | ||||
-rw-r--r-- | uidev/src/stores/index.ts | 5 | ||||
-rw-r--r-- | uidev/src/stores/stories.ts | 43 | ||||
-rw-r--r-- | uidev/src/stories/input.tsx (renamed from stories/input.stories.tsx) | 19 | ||||
-rw-r--r-- | uidev/src/withTheme/index.tsx (renamed from .storybook/withTheme/index.tsx) | 31 | ||||
-rw-r--r-- | uidev/tsconfig.json | 13 | ||||
-rw-r--r-- | uidev/tslint.json | 3 | ||||
-rw-r--r-- | uidev/webpack.config.js | 22 |
21 files changed, 1091 insertions, 113 deletions
diff --git a/.gitignore b/.gitignore index c83f52b2f..192a261f0 100644 --- a/.gitignore +++ b/.gitignore | |||
@@ -9,3 +9,4 @@ build | |||
9 | yarn-error.log | 9 | yarn-error.log |
10 | npm-debug.log* | 10 | npm-debug.log* |
11 | lerna-debug.log | 11 | lerna-debug.log |
12 | uidev/lib | ||
diff --git a/.storybook/addons.ts b/.storybook/addons.ts deleted file mode 100644 index 6aed412d0..000000000 --- a/.storybook/addons.ts +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | import '@storybook/addon-actions/register'; | ||
2 | import '@storybook/addon-links/register'; | ||
diff --git a/.storybook/config.ts b/.storybook/config.ts deleted file mode 100644 index d1f3d3053..000000000 --- a/.storybook/config.ts +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | import { configure, addDecorator } from '@storybook/react'; | ||
2 | import { withInfo } from '@storybook/addon-info'; | ||
3 | import withTheme from '../.storybook/withTheme'; | ||
4 | |||
5 | // automatically import all files ending in *.stories.js | ||
6 | const req = require.context('../stories', true, /.stories.tsx$/); | ||
7 | |||
8 | addDecorator(withInfo()); | ||
9 | addDecorator(withTheme()); | ||
10 | |||
11 | function loadStories() { | ||
12 | req.keys().forEach(filename => req(filename)); | ||
13 | } | ||
14 | |||
15 | configure(loadStories, module); | ||
diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html deleted file mode 100644 index f5bf78b7a..000000000 --- a/.storybook/preview-head.html +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,800" rel="stylesheet"> | ||
2 | <style> | ||
3 | * { | ||
4 | font-family: 'Open Sans', sans-serif; | ||
5 | font-size: 14px; | ||
6 | } | ||
7 | </style> | ||
diff --git a/.storybook/webpack.config.js b/.storybook/webpack.config.js deleted file mode 100644 index e542f1387..000000000 --- a/.storybook/webpack.config.js +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | const path = require('path'); | ||
2 | |||
3 | module.exports = (baseConfig, env, config) => { | ||
4 | config.module.rules.push({ | ||
5 | test: /\.(ts|tsx)$/, | ||
6 | use: [{ | ||
7 | loader: require.resolve('awesome-typescript-loader'), | ||
8 | options: { | ||
9 | configFileName: path.join(__dirname, '..', 'tsconfig.storybook.json'), | ||
10 | } | ||
11 | }, { | ||
12 | loader: require.resolve('react-docgen-typescript-loader'), | ||
13 | }] | ||
14 | }); | ||
15 | config.resolve.extensions.push('.ts', '.tsx'); | ||
16 | return config; | ||
17 | }; | ||
diff --git a/package-lock.json b/package-lock.json index 0ba40f38c..22d14de2b 100644 --- a/package-lock.json +++ b/package-lock.json | |||
@@ -4766,6 +4766,15 @@ | |||
4766 | "csstype": "^2.2.0" | 4766 | "csstype": "^2.2.0" |
4767 | } | 4767 | } |
4768 | }, | 4768 | }, |
4769 | "@types/react-dom": { | ||
4770 | "version": "16.0.11", | ||
4771 | "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.0.11.tgz", | ||
4772 | "integrity": "sha512-x6zUx9/42B5Kl2Vl9HlopV8JF64wLpX3c+Pst9kc1HgzrsH+mkehe/zmHMQTplIrR48H2gpU7ZqurQolYu8XBA==", | ||
4773 | "dev": true, | ||
4774 | "requires": { | ||
4775 | "@types/react": "*" | ||
4776 | } | ||
4777 | }, | ||
4769 | "@types/react-jss": { | 4778 | "@types/react-jss": { |
4770 | "version": "8.6.0", | 4779 | "version": "8.6.0", |
4771 | "resolved": "https://registry.npmjs.org/@types/react-jss/-/react-jss-8.6.0.tgz", | 4780 | "resolved": "https://registry.npmjs.org/@types/react-jss/-/react-jss-8.6.0.tgz", |
@@ -6777,6 +6786,28 @@ | |||
6777 | } | 6786 | } |
6778 | } | 6787 | } |
6779 | }, | 6788 | }, |
6789 | "bonjour": { | ||
6790 | "version": "3.5.0", | ||
6791 | "resolved": "https://registry.npmjs.org/bonjour/-/bonjour-3.5.0.tgz", | ||
6792 | "integrity": "sha1-jokKGD2O6aI5OzhExpGkK897yfU=", | ||
6793 | "dev": true, | ||
6794 | "requires": { | ||
6795 | "array-flatten": "^2.1.0", | ||
6796 | "deep-equal": "^1.0.1", | ||
6797 | "dns-equal": "^1.0.0", | ||
6798 | "dns-txt": "^2.0.2", | ||
6799 | "multicast-dns": "^6.0.1", | ||
6800 | "multicast-dns-service-types": "^1.1.0" | ||
6801 | }, | ||
6802 | "dependencies": { | ||
6803 | "array-flatten": { | ||
6804 | "version": "2.1.2", | ||
6805 | "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", | ||
6806 | "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==", | ||
6807 | "dev": true | ||
6808 | } | ||
6809 | } | ||
6810 | }, | ||
6780 | "boolbase": { | 6811 | "boolbase": { |
6781 | "version": "1.0.0", | 6812 | "version": "1.0.0", |
6782 | "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", | 6813 | "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", |
@@ -7062,6 +7093,12 @@ | |||
7062 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", | 7093 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", |
7063 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" | 7094 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" |
7064 | }, | 7095 | }, |
7096 | "buffer-indexof": { | ||
7097 | "version": "1.1.1", | ||
7098 | "resolved": "https://registry.npmjs.org/buffer-indexof/-/buffer-indexof-1.1.1.tgz", | ||
7099 | "integrity": "sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g==", | ||
7100 | "dev": true | ||
7101 | }, | ||
7065 | "buffer-xor": { | 7102 | "buffer-xor": { |
7066 | "version": "1.0.3", | 7103 | "version": "1.0.3", |
7067 | "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", | 7104 | "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", |
@@ -7916,6 +7953,48 @@ | |||
7916 | "integrity": "sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=", | 7953 | "integrity": "sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=", |
7917 | "dev": true | 7954 | "dev": true |
7918 | }, | 7955 | }, |
7956 | "compressible": { | ||
7957 | "version": "2.0.15", | ||
7958 | "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.15.tgz", | ||
7959 | "integrity": "sha512-4aE67DL33dSW9gw4CI2H/yTxqHLNcxp0yS6jB+4h+wr3e43+1z7vm0HU9qXOH8j+qjKuL8+UtkOxYQSMq60Ylw==", | ||
7960 | "dev": true, | ||
7961 | "requires": { | ||
7962 | "mime-db": ">= 1.36.0 < 2" | ||
7963 | } | ||
7964 | }, | ||
7965 | "compression": { | ||
7966 | "version": "1.7.3", | ||
7967 | "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.3.tgz", | ||
7968 | "integrity": "sha512-HSjyBG5N1Nnz7tF2+O7A9XUhyjru71/fwgNb7oIsEVHR0WShfs2tIS/EySLgiTe98aOK18YDlMXpzjCXY/n9mg==", | ||
7969 | "dev": true, | ||
7970 | "requires": { | ||
7971 | "accepts": "~1.3.5", | ||
7972 | "bytes": "3.0.0", | ||
7973 | "compressible": "~2.0.14", | ||
7974 | "debug": "2.6.9", | ||
7975 | "on-headers": "~1.0.1", | ||
7976 | "safe-buffer": "5.1.2", | ||
7977 | "vary": "~1.1.2" | ||
7978 | }, | ||
7979 | "dependencies": { | ||
7980 | "accepts": { | ||
7981 | "version": "1.3.5", | ||
7982 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", | ||
7983 | "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=", | ||
7984 | "dev": true, | ||
7985 | "requires": { | ||
7986 | "mime-types": "~2.1.18", | ||
7987 | "negotiator": "0.6.1" | ||
7988 | } | ||
7989 | }, | ||
7990 | "negotiator": { | ||
7991 | "version": "0.6.1", | ||
7992 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", | ||
7993 | "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", | ||
7994 | "dev": true | ||
7995 | } | ||
7996 | } | ||
7997 | }, | ||
7919 | "concat-map": { | 7998 | "concat-map": { |
7920 | "version": "0.0.1", | 7999 | "version": "0.0.1", |
7921 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", | 8000 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", |
@@ -8283,6 +8362,12 @@ | |||
8283 | } | 8362 | } |
8284 | } | 8363 | } |
8285 | }, | 8364 | }, |
8365 | "connect-history-api-fallback": { | ||
8366 | "version": "1.6.0", | ||
8367 | "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz", | ||
8368 | "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==", | ||
8369 | "dev": true | ||
8370 | }, | ||
8286 | "connect-inject": { | 8371 | "connect-inject": { |
8287 | "version": "0.3.2", | 8372 | "version": "0.3.2", |
8288 | "resolved": "https://registry.npmjs.org/connect-inject/-/connect-inject-0.3.2.tgz", | 8373 | "resolved": "https://registry.npmjs.org/connect-inject/-/connect-inject-0.3.2.tgz", |
@@ -9505,6 +9590,33 @@ | |||
9505 | } | 9590 | } |
9506 | } | 9591 | } |
9507 | }, | 9592 | }, |
9593 | "default-gateway": { | ||
9594 | "version": "2.7.2", | ||
9595 | "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-2.7.2.tgz", | ||
9596 | "integrity": "sha512-lAc4i9QJR0YHSDFdzeBQKfZ1SRDG3hsJNEkrpcZa8QhBfidLAilT60BDEIVUUGqosFp425KOgB3uYqcnQrWafQ==", | ||
9597 | "dev": true, | ||
9598 | "requires": { | ||
9599 | "execa": "^0.10.0", | ||
9600 | "ip-regex": "^2.1.0" | ||
9601 | }, | ||
9602 | "dependencies": { | ||
9603 | "execa": { | ||
9604 | "version": "0.10.0", | ||
9605 | "resolved": "https://registry.npmjs.org/execa/-/execa-0.10.0.tgz", | ||
9606 | "integrity": "sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw==", | ||
9607 | "dev": true, | ||
9608 | "requires": { | ||
9609 | "cross-spawn": "^6.0.0", | ||
9610 | "get-stream": "^3.0.0", | ||
9611 | "is-stream": "^1.1.0", | ||
9612 | "npm-run-path": "^2.0.0", | ||
9613 | "p-finally": "^1.0.0", | ||
9614 | "signal-exit": "^3.0.0", | ||
9615 | "strip-eof": "^1.0.0" | ||
9616 | } | ||
9617 | } | ||
9618 | } | ||
9619 | }, | ||
9508 | "default-resolution": { | 9620 | "default-resolution": { |
9509 | "version": "2.0.0", | 9621 | "version": "2.0.0", |
9510 | "resolved": "https://registry.npmjs.org/default-resolution/-/default-resolution-2.0.0.tgz", | 9622 | "resolved": "https://registry.npmjs.org/default-resolution/-/default-resolution-2.0.0.tgz", |
@@ -9578,6 +9690,49 @@ | |||
9578 | } | 9690 | } |
9579 | } | 9691 | } |
9580 | }, | 9692 | }, |
9693 | "del": { | ||
9694 | "version": "3.0.0", | ||
9695 | "resolved": "https://registry.npmjs.org/del/-/del-3.0.0.tgz", | ||
9696 | "integrity": "sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU=", | ||
9697 | "dev": true, | ||
9698 | "requires": { | ||
9699 | "globby": "^6.1.0", | ||
9700 | "is-path-cwd": "^1.0.0", | ||
9701 | "is-path-in-cwd": "^1.0.0", | ||
9702 | "p-map": "^1.1.1", | ||
9703 | "pify": "^3.0.0", | ||
9704 | "rimraf": "^2.2.8" | ||
9705 | }, | ||
9706 | "dependencies": { | ||
9707 | "globby": { | ||
9708 | "version": "6.1.0", | ||
9709 | "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", | ||
9710 | "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", | ||
9711 | "dev": true, | ||
9712 | "requires": { | ||
9713 | "array-union": "^1.0.1", | ||
9714 | "glob": "^7.0.3", | ||
9715 | "object-assign": "^4.0.1", | ||
9716 | "pify": "^2.0.0", | ||
9717 | "pinkie-promise": "^2.0.0" | ||
9718 | }, | ||
9719 | "dependencies": { | ||
9720 | "pify": { | ||
9721 | "version": "2.3.0", | ||
9722 | "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", | ||
9723 | "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", | ||
9724 | "dev": true | ||
9725 | } | ||
9726 | } | ||
9727 | }, | ||
9728 | "pify": { | ||
9729 | "version": "3.0.0", | ||
9730 | "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", | ||
9731 | "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", | ||
9732 | "dev": true | ||
9733 | } | ||
9734 | } | ||
9735 | }, | ||
9581 | "delayed-stream": { | 9736 | "delayed-stream": { |
9582 | "version": "1.0.0", | 9737 | "version": "1.0.0", |
9583 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", | 9738 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", |
@@ -9630,6 +9785,12 @@ | |||
9630 | "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", | 9785 | "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", |
9631 | "dev": true | 9786 | "dev": true |
9632 | }, | 9787 | }, |
9788 | "detect-node": { | ||
9789 | "version": "2.0.4", | ||
9790 | "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz", | ||
9791 | "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==", | ||
9792 | "dev": true | ||
9793 | }, | ||
9633 | "detect-port": { | 9794 | "detect-port": { |
9634 | "version": "1.3.0", | 9795 | "version": "1.3.0", |
9635 | "resolved": "https://registry.npmjs.org/detect-port/-/detect-port-1.3.0.tgz", | 9796 | "resolved": "https://registry.npmjs.org/detect-port/-/detect-port-1.3.0.tgz", |
@@ -9710,6 +9871,31 @@ | |||
9710 | "sanitize-filename": "^1.6.1" | 9871 | "sanitize-filename": "^1.6.1" |
9711 | } | 9872 | } |
9712 | }, | 9873 | }, |
9874 | "dns-equal": { | ||
9875 | "version": "1.0.0", | ||
9876 | "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", | ||
9877 | "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=", | ||
9878 | "dev": true | ||
9879 | }, | ||
9880 | "dns-packet": { | ||
9881 | "version": "1.3.1", | ||
9882 | "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.1.tgz", | ||
9883 | "integrity": "sha512-0UxfQkMhYAUaZI+xrNZOz/as5KgDU0M/fQ9b6SpkyLbk3GEswDi6PADJVaYJradtRVsRIlF1zLyOodbcTCDzUg==", | ||
9884 | "dev": true, | ||
9885 | "requires": { | ||
9886 | "ip": "^1.1.0", | ||
9887 | "safe-buffer": "^5.0.1" | ||
9888 | } | ||
9889 | }, | ||
9890 | "dns-txt": { | ||
9891 | "version": "2.0.2", | ||
9892 | "resolved": "https://registry.npmjs.org/dns-txt/-/dns-txt-2.0.2.tgz", | ||
9893 | "integrity": "sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY=", | ||
9894 | "dev": true, | ||
9895 | "requires": { | ||
9896 | "buffer-indexof": "^1.0.0" | ||
9897 | } | ||
9898 | }, | ||
9713 | "doctrine": { | 9899 | "doctrine": { |
9714 | "version": "2.1.0", | 9900 | "version": "2.1.0", |
9715 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", | 9901 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", |
@@ -11949,6 +12135,26 @@ | |||
11949 | "readable-stream": "^2.0.4" | 12135 | "readable-stream": "^2.0.4" |
11950 | } | 12136 | } |
11951 | }, | 12137 | }, |
12138 | "follow-redirects": { | ||
12139 | "version": "1.6.1", | ||
12140 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.6.1.tgz", | ||
12141 | "integrity": "sha512-t2JCjbzxQpWvbhts3l6SH1DKzSrx8a+SsaVf4h6bG4kOXUuPYS/kg2Lr4gQSb7eemaHqJkOThF1BGyjlUkO1GQ==", | ||
12142 | "dev": true, | ||
12143 | "requires": { | ||
12144 | "debug": "=3.1.0" | ||
12145 | }, | ||
12146 | "dependencies": { | ||
12147 | "debug": { | ||
12148 | "version": "3.1.0", | ||
12149 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", | ||
12150 | "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", | ||
12151 | "dev": true, | ||
12152 | "requires": { | ||
12153 | "ms": "2.0.0" | ||
12154 | } | ||
12155 | } | ||
12156 | } | ||
12157 | }, | ||
11952 | "for-in": { | 12158 | "for-in": { |
11953 | "version": "1.0.2", | 12159 | "version": "1.0.2", |
11954 | "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", | 12160 | "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", |
@@ -14131,6 +14337,12 @@ | |||
14131 | } | 14337 | } |
14132 | } | 14338 | } |
14133 | }, | 14339 | }, |
14340 | "handle-thing": { | ||
14341 | "version": "2.0.0", | ||
14342 | "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.0.tgz", | ||
14343 | "integrity": "sha512-d4sze1JNC454Wdo2fkuyzCr6aHcbL6PGGuFAz0Li/NcOm1tCHGnWDRmJP85dh9IhQErTc2svWFEX5xHIOo//kQ==", | ||
14344 | "dev": true | ||
14345 | }, | ||
14134 | "handlebars": { | 14346 | "handlebars": { |
14135 | "version": "4.0.12", | 14347 | "version": "4.0.12", |
14136 | "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.12.tgz", | 14348 | "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.12.tgz", |
@@ -14397,6 +14609,18 @@ | |||
14397 | "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", | 14609 | "integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==", |
14398 | "dev": true | 14610 | "dev": true |
14399 | }, | 14611 | }, |
14612 | "hpack.js": { | ||
14613 | "version": "2.1.6", | ||
14614 | "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", | ||
14615 | "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=", | ||
14616 | "dev": true, | ||
14617 | "requires": { | ||
14618 | "inherits": "^2.0.1", | ||
14619 | "obuf": "^1.0.0", | ||
14620 | "readable-stream": "^2.0.1", | ||
14621 | "wbuf": "^1.1.0" | ||
14622 | } | ||
14623 | }, | ||
14400 | "html-element-attributes": { | 14624 | "html-element-attributes": { |
14401 | "version": "1.3.1", | 14625 | "version": "1.3.1", |
14402 | "resolved": "https://registry.npmjs.org/html-element-attributes/-/html-element-attributes-1.3.1.tgz", | 14626 | "resolved": "https://registry.npmjs.org/html-element-attributes/-/html-element-attributes-1.3.1.tgz", |
@@ -14482,6 +14706,12 @@ | |||
14482 | "integrity": "sha1-ObDhat2bYFvwqe89nar0hDtMrNI=", | 14706 | "integrity": "sha1-ObDhat2bYFvwqe89nar0hDtMrNI=", |
14483 | "dev": true | 14707 | "dev": true |
14484 | }, | 14708 | }, |
14709 | "http-deceiver": { | ||
14710 | "version": "1.2.7", | ||
14711 | "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", | ||
14712 | "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=", | ||
14713 | "dev": true | ||
14714 | }, | ||
14485 | "http-errors": { | 14715 | "http-errors": { |
14486 | "version": "1.6.3", | 14716 | "version": "1.6.3", |
14487 | "resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", | 14717 | "resolved": "http://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", |
@@ -14508,6 +14738,17 @@ | |||
14508 | "integrity": "sha512-cZdEF7r4gfRIq7ezX9J0T+kQmJNOub71dWbgAXVHDct80TKP4MCETtZQ31xyv38UwgzkWPYF/Xc0ge55dW9Z9w==", | 14738 | "integrity": "sha512-cZdEF7r4gfRIq7ezX9J0T+kQmJNOub71dWbgAXVHDct80TKP4MCETtZQ31xyv38UwgzkWPYF/Xc0ge55dW9Z9w==", |
14509 | "dev": true | 14739 | "dev": true |
14510 | }, | 14740 | }, |
14741 | "http-proxy": { | ||
14742 | "version": "1.17.0", | ||
14743 | "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.17.0.tgz", | ||
14744 | "integrity": "sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==", | ||
14745 | "dev": true, | ||
14746 | "requires": { | ||
14747 | "eventemitter3": "^3.0.0", | ||
14748 | "follow-redirects": "^1.0.0", | ||
14749 | "requires-port": "^1.0.0" | ||
14750 | } | ||
14751 | }, | ||
14511 | "http-proxy-agent": { | 14752 | "http-proxy-agent": { |
14512 | "version": "2.1.0", | 14753 | "version": "2.1.0", |
14513 | "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz", | 14754 | "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz", |
@@ -14529,6 +14770,18 @@ | |||
14529 | } | 14770 | } |
14530 | } | 14771 | } |
14531 | }, | 14772 | }, |
14773 | "http-proxy-middleware": { | ||
14774 | "version": "0.18.0", | ||
14775 | "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.18.0.tgz", | ||
14776 | "integrity": "sha512-Fs25KVMPAIIcgjMZkVHJoKg9VcXcC1C8yb9JUgeDvVXY0S/zgVIhMb+qVswDIgtJe2DfckMSY2d6TuTEutlk6Q==", | ||
14777 | "dev": true, | ||
14778 | "requires": { | ||
14779 | "http-proxy": "^1.16.2", | ||
14780 | "is-glob": "^4.0.0", | ||
14781 | "lodash": "^4.17.5", | ||
14782 | "micromatch": "^3.1.9" | ||
14783 | } | ||
14784 | }, | ||
14532 | "http-signature": { | 14785 | "http-signature": { |
14533 | "version": "1.2.0", | 14786 | "version": "1.2.0", |
14534 | "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", | 14787 | "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", |
@@ -15145,6 +15398,16 @@ | |||
15145 | "integrity": "sha512-+7thTb4Rpvs9mnlhHKGZFJbGOO6kyMgy+gg0sgM5vFzIFK0wrCYXqdlaM71Bi289DTuPHf61puMFsaZBcwDIrg==", | 15398 | "integrity": "sha512-+7thTb4Rpvs9mnlhHKGZFJbGOO6kyMgy+gg0sgM5vFzIFK0wrCYXqdlaM71Bi289DTuPHf61puMFsaZBcwDIrg==", |
15146 | "dev": true | 15399 | "dev": true |
15147 | }, | 15400 | }, |
15401 | "internal-ip": { | ||
15402 | "version": "3.0.1", | ||
15403 | "resolved": "https://registry.npmjs.org/internal-ip/-/internal-ip-3.0.1.tgz", | ||
15404 | "integrity": "sha512-NXXgESC2nNVtU+pqmC9e6R8B1GpKxzsAQhffvh5AL79qKnodd+L7tnEQmTiUAVngqLalPbSqRA7XGIEL5nCd0Q==", | ||
15405 | "dev": true, | ||
15406 | "requires": { | ||
15407 | "default-gateway": "^2.6.0", | ||
15408 | "ipaddr.js": "^1.5.2" | ||
15409 | } | ||
15410 | }, | ||
15148 | "interpret": { | 15411 | "interpret": { |
15149 | "version": "1.1.0", | 15412 | "version": "1.1.0", |
15150 | "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", | 15413 | "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", |
@@ -15203,6 +15466,12 @@ | |||
15203 | "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", | 15466 | "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", |
15204 | "dev": true | 15467 | "dev": true |
15205 | }, | 15468 | }, |
15469 | "ip-regex": { | ||
15470 | "version": "2.1.0", | ||
15471 | "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz", | ||
15472 | "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=", | ||
15473 | "dev": true | ||
15474 | }, | ||
15206 | "ipaddr.js": { | 15475 | "ipaddr.js": { |
15207 | "version": "1.8.0", | 15476 | "version": "1.8.0", |
15208 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz", | 15477 | "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz", |
@@ -15459,6 +15728,21 @@ | |||
15459 | "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", | 15728 | "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", |
15460 | "dev": true | 15729 | "dev": true |
15461 | }, | 15730 | }, |
15731 | "is-path-cwd": { | ||
15732 | "version": "1.0.0", | ||
15733 | "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", | ||
15734 | "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", | ||
15735 | "dev": true | ||
15736 | }, | ||
15737 | "is-path-in-cwd": { | ||
15738 | "version": "1.0.1", | ||
15739 | "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", | ||
15740 | "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", | ||
15741 | "dev": true, | ||
15742 | "requires": { | ||
15743 | "is-path-inside": "^1.0.0" | ||
15744 | } | ||
15745 | }, | ||
15462 | "is-path-inside": { | 15746 | "is-path-inside": { |
15463 | "version": "1.0.1", | 15747 | "version": "1.0.1", |
15464 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", | 15748 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", |
@@ -15946,6 +16230,12 @@ | |||
15946 | "resolved": "https://registry.npmjs.org/keymaster/-/keymaster-1.6.2.tgz", | 16230 | "resolved": "https://registry.npmjs.org/keymaster/-/keymaster-1.6.2.tgz", |
15947 | "integrity": "sha1-4a5U0OqUiPn2C2a2aPAumhlGxus=" | 16231 | "integrity": "sha1-4a5U0OqUiPn2C2a2aPAumhlGxus=" |
15948 | }, | 16232 | }, |
16233 | "killable": { | ||
16234 | "version": "1.0.1", | ||
16235 | "resolved": "https://registry.npmjs.org/killable/-/killable-1.0.1.tgz", | ||
16236 | "integrity": "sha512-LzqtLKlUwirEUyl/nicirVmNiPvYs7l5n8wOPP7fyJVpUPkvCnW/vuiXGpylGUlnPDnB7311rARzAt3Mhswpjg==", | ||
16237 | "dev": true | ||
16238 | }, | ||
15949 | "kind-of": { | 16239 | "kind-of": { |
15950 | "version": "6.0.2", | 16240 | "version": "6.0.2", |
15951 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", | 16241 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", |
@@ -16725,6 +17015,12 @@ | |||
16725 | } | 17015 | } |
16726 | } | 17016 | } |
16727 | }, | 17017 | }, |
17018 | "loglevel": { | ||
17019 | "version": "1.6.1", | ||
17020 | "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.1.tgz", | ||
17021 | "integrity": "sha1-4PyVEztu8nbNyIh82vJKpvFW+Po=", | ||
17022 | "dev": true | ||
17023 | }, | ||
16728 | "loglevelnext": { | 17024 | "loglevelnext": { |
16729 | "version": "1.0.5", | 17025 | "version": "1.0.5", |
16730 | "resolved": "https://registry.npmjs.org/loglevelnext/-/loglevelnext-1.0.5.tgz", | 17026 | "resolved": "https://registry.npmjs.org/loglevelnext/-/loglevelnext-1.0.5.tgz", |
@@ -17417,6 +17713,22 @@ | |||
17417 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | 17713 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", |
17418 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | 17714 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" |
17419 | }, | 17715 | }, |
17716 | "multicast-dns": { | ||
17717 | "version": "6.2.3", | ||
17718 | "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz", | ||
17719 | "integrity": "sha512-ji6J5enbMyGRHIAkAOu3WdV8nggqviKCEKtXcOqfphZZtQrmHKycfynJ2V7eVPUA4NhJ6V7Wf4TmGbTwKE9B6g==", | ||
17720 | "dev": true, | ||
17721 | "requires": { | ||
17722 | "dns-packet": "^1.3.1", | ||
17723 | "thunky": "^1.0.2" | ||
17724 | } | ||
17725 | }, | ||
17726 | "multicast-dns-service-types": { | ||
17727 | "version": "1.1.0", | ||
17728 | "resolved": "https://registry.npmjs.org/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz", | ||
17729 | "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=", | ||
17730 | "dev": true | ||
17731 | }, | ||
17420 | "multimatch": { | 17732 | "multimatch": { |
17421 | "version": "2.1.0", | 17733 | "version": "2.1.0", |
17422 | "resolved": "http://registry.npmjs.org/multimatch/-/multimatch-2.1.0.tgz", | 17734 | "resolved": "http://registry.npmjs.org/multimatch/-/multimatch-2.1.0.tgz", |
@@ -17568,6 +17880,12 @@ | |||
17568 | "safe-buffer": "^5.1.1" | 17880 | "safe-buffer": "^5.1.1" |
17569 | } | 17881 | } |
17570 | }, | 17882 | }, |
17883 | "node-forge": { | ||
17884 | "version": "0.7.5", | ||
17885 | "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz", | ||
17886 | "integrity": "sha512-MmbQJ2MTESTjt3Gi/3yG1wGpIMhUfcIypUCGtTizFR9IiccFwxSpfp0vtIZlkFclEqERemxfnSdZEMR9VqqEFQ==", | ||
17887 | "dev": true | ||
17888 | }, | ||
17571 | "node-gyp": { | 17889 | "node-gyp": { |
17572 | "version": "3.8.0", | 17890 | "version": "3.8.0", |
17573 | "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz", | 17891 | "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz", |
@@ -21236,6 +21554,12 @@ | |||
21236 | "has": "^1.0.3" | 21554 | "has": "^1.0.3" |
21237 | } | 21555 | } |
21238 | }, | 21556 | }, |
21557 | "obuf": { | ||
21558 | "version": "1.1.2", | ||
21559 | "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", | ||
21560 | "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", | ||
21561 | "dev": true | ||
21562 | }, | ||
21239 | "on-finished": { | 21563 | "on-finished": { |
21240 | "version": "2.1.0", | 21564 | "version": "2.1.0", |
21241 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.1.0.tgz", | 21565 | "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.1.0.tgz", |
@@ -21245,6 +21569,12 @@ | |||
21245 | "ee-first": "1.0.5" | 21569 | "ee-first": "1.0.5" |
21246 | } | 21570 | } |
21247 | }, | 21571 | }, |
21572 | "on-headers": { | ||
21573 | "version": "1.0.1", | ||
21574 | "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz", | ||
21575 | "integrity": "sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c=", | ||
21576 | "dev": true | ||
21577 | }, | ||
21248 | "once": { | 21578 | "once": { |
21249 | "version": "1.4.0", | 21579 | "version": "1.4.0", |
21250 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", | 21580 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", |
@@ -21959,6 +22289,25 @@ | |||
21959 | "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==", | 22289 | "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==", |
21960 | "dev": true | 22290 | "dev": true |
21961 | }, | 22291 | }, |
22292 | "portfinder": { | ||
22293 | "version": "1.0.20", | ||
22294 | "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.20.tgz", | ||
22295 | "integrity": "sha512-Yxe4mTyDzTd59PZJY4ojZR8F+E5e97iq2ZOHPz3HDgSvYC5siNad2tLooQ5y5QHyQhc3xVqvyk/eNA3wuoa7Sw==", | ||
22296 | "dev": true, | ||
22297 | "requires": { | ||
22298 | "async": "^1.5.2", | ||
22299 | "debug": "^2.2.0", | ||
22300 | "mkdirp": "0.5.x" | ||
22301 | }, | ||
22302 | "dependencies": { | ||
22303 | "async": { | ||
22304 | "version": "1.5.2", | ||
22305 | "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", | ||
22306 | "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", | ||
22307 | "dev": true | ||
22308 | } | ||
22309 | } | ||
22310 | }, | ||
21962 | "posix-character-classes": { | 22311 | "posix-character-classes": { |
21963 | "version": "0.1.1", | 22312 | "version": "0.1.1", |
21964 | "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", | 22313 | "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", |
@@ -24139,6 +24488,21 @@ | |||
24139 | } | 24488 | } |
24140 | } | 24489 | } |
24141 | }, | 24490 | }, |
24491 | "select-hose": { | ||
24492 | "version": "2.0.0", | ||
24493 | "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", | ||
24494 | "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=", | ||
24495 | "dev": true | ||
24496 | }, | ||
24497 | "selfsigned": { | ||
24498 | "version": "1.10.4", | ||
24499 | "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.4.tgz", | ||
24500 | "integrity": "sha512-9AukTiDmHXGXWtWjembZ5NDmVvP2695EtpgbCsxCa68w3c88B+alqbmZ4O3hZ4VWGXeGWzEVdvqgAJD8DQPCDw==", | ||
24501 | "dev": true, | ||
24502 | "requires": { | ||
24503 | "node-forge": "0.7.5" | ||
24504 | } | ||
24505 | }, | ||
24142 | "semver": { | 24506 | "semver": { |
24143 | "version": "5.6.0", | 24507 | "version": "5.6.0", |
24144 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", | 24508 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", |
@@ -24729,6 +25093,27 @@ | |||
24729 | } | 25093 | } |
24730 | } | 25094 | } |
24731 | }, | 25095 | }, |
25096 | "sockjs": { | ||
25097 | "version": "0.3.19", | ||
25098 | "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.19.tgz", | ||
25099 | "integrity": "sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw==", | ||
25100 | "dev": true, | ||
25101 | "requires": { | ||
25102 | "faye-websocket": "^0.10.0", | ||
25103 | "uuid": "^3.0.1" | ||
25104 | }, | ||
25105 | "dependencies": { | ||
25106 | "faye-websocket": { | ||
25107 | "version": "0.10.0", | ||
25108 | "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz", | ||
25109 | "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=", | ||
25110 | "dev": true, | ||
25111 | "requires": { | ||
25112 | "websocket-driver": ">=0.5.1" | ||
25113 | } | ||
25114 | } | ||
25115 | } | ||
25116 | }, | ||
24732 | "sockjs-client": { | 25117 | "sockjs-client": { |
24733 | "version": "1.1.5", | 25118 | "version": "1.1.5", |
24734 | "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.1.5.tgz", | 25119 | "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.1.5.tgz", |
@@ -24899,6 +25284,78 @@ | |||
24899 | "integrity": "sha512-TfOfPcYGBB5sDuPn3deByxPhmfegAhpDYKSOXZQN81Oyrrif8ZCodOLzK3AesELnCx03kikhyDwh0pfvvQvF8w==", | 25284 | "integrity": "sha512-TfOfPcYGBB5sDuPn3deByxPhmfegAhpDYKSOXZQN81Oyrrif8ZCodOLzK3AesELnCx03kikhyDwh0pfvvQvF8w==", |
24900 | "dev": true | 25285 | "dev": true |
24901 | }, | 25286 | }, |
25287 | "spdy": { | ||
25288 | "version": "4.0.0", | ||
25289 | "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.0.tgz", | ||
25290 | "integrity": "sha512-ot0oEGT/PGUpzf/6uk4AWLqkq+irlqHXkrdbk51oWONh3bxQmBuljxPNl66zlRRcIJStWq0QkLUCPOPjgjvU0Q==", | ||
25291 | "dev": true, | ||
25292 | "requires": { | ||
25293 | "debug": "^4.1.0", | ||
25294 | "handle-thing": "^2.0.0", | ||
25295 | "http-deceiver": "^1.2.7", | ||
25296 | "select-hose": "^2.0.0", | ||
25297 | "spdy-transport": "^3.0.0" | ||
25298 | }, | ||
25299 | "dependencies": { | ||
25300 | "debug": { | ||
25301 | "version": "4.1.1", | ||
25302 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", | ||
25303 | "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", | ||
25304 | "dev": true, | ||
25305 | "requires": { | ||
25306 | "ms": "^2.1.1" | ||
25307 | } | ||
25308 | }, | ||
25309 | "ms": { | ||
25310 | "version": "2.1.1", | ||
25311 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", | ||
25312 | "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", | ||
25313 | "dev": true | ||
25314 | } | ||
25315 | } | ||
25316 | }, | ||
25317 | "spdy-transport": { | ||
25318 | "version": "3.0.0", | ||
25319 | "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz", | ||
25320 | "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==", | ||
25321 | "dev": true, | ||
25322 | "requires": { | ||
25323 | "debug": "^4.1.0", | ||
25324 | "detect-node": "^2.0.4", | ||
25325 | "hpack.js": "^2.1.6", | ||
25326 | "obuf": "^1.1.2", | ||
25327 | "readable-stream": "^3.0.6", | ||
25328 | "wbuf": "^1.7.3" | ||
25329 | }, | ||
25330 | "dependencies": { | ||
25331 | "debug": { | ||
25332 | "version": "4.1.1", | ||
25333 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", | ||
25334 | "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", | ||
25335 | "dev": true, | ||
25336 | "requires": { | ||
25337 | "ms": "^2.1.1" | ||
25338 | } | ||
25339 | }, | ||
25340 | "ms": { | ||
25341 | "version": "2.1.1", | ||
25342 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", | ||
25343 | "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", | ||
25344 | "dev": true | ||
25345 | }, | ||
25346 | "readable-stream": { | ||
25347 | "version": "3.1.1", | ||
25348 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.1.1.tgz", | ||
25349 | "integrity": "sha512-DkN66hPyqDhnIQ6Jcsvx9bFjhw214O4poMBcIMgPVpQvNy9a0e0Uhg5SqySyDKAmUlwt8LonTBz1ezOnM8pUdA==", | ||
25350 | "dev": true, | ||
25351 | "requires": { | ||
25352 | "inherits": "^2.0.3", | ||
25353 | "string_decoder": "^1.1.1", | ||
25354 | "util-deprecate": "^1.0.1" | ||
25355 | } | ||
25356 | } | ||
25357 | } | ||
25358 | }, | ||
24902 | "speedometer": { | 25359 | "speedometer": { |
24903 | "version": "0.1.4", | 25360 | "version": "0.1.4", |
24904 | "resolved": "https://registry.npmjs.org/speedometer/-/speedometer-0.1.4.tgz", | 25361 | "resolved": "https://registry.npmjs.org/speedometer/-/speedometer-0.1.4.tgz", |
@@ -25653,6 +26110,12 @@ | |||
25653 | "xtend": "~4.0.0" | 26110 | "xtend": "~4.0.0" |
25654 | } | 26111 | } |
25655 | }, | 26112 | }, |
26113 | "thunky": { | ||
26114 | "version": "1.0.3", | ||
26115 | "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.0.3.tgz", | ||
26116 | "integrity": "sha512-YwT8pjmNcAXBZqrubu22P4FYsh2D4dxRmnWBOL8Jk8bUcRUtc5326kx32tuTmFDAZtLOGEVNl8POAR8j896Iow==", | ||
26117 | "dev": true | ||
26118 | }, | ||
25656 | "tildify": { | 26119 | "tildify": { |
25657 | "version": "1.2.0", | 26120 | "version": "1.2.0", |
25658 | "resolved": "https://registry.npmjs.org/tildify/-/tildify-1.2.0.tgz", | 26121 | "resolved": "https://registry.npmjs.org/tildify/-/tildify-1.2.0.tgz", |
@@ -26865,6 +27328,15 @@ | |||
26865 | "neo-async": "^2.5.0" | 27328 | "neo-async": "^2.5.0" |
26866 | } | 27329 | } |
26867 | }, | 27330 | }, |
27331 | "wbuf": { | ||
27332 | "version": "1.7.3", | ||
27333 | "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", | ||
27334 | "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", | ||
27335 | "dev": true, | ||
27336 | "requires": { | ||
27337 | "minimalistic-assert": "^1.0.0" | ||
27338 | } | ||
27339 | }, | ||
26868 | "wcwidth": { | 27340 | "wcwidth": { |
26869 | "version": "1.0.1", | 27341 | "version": "1.0.1", |
26870 | "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", | 27342 | "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", |
@@ -27236,6 +27708,386 @@ | |||
27236 | "webpack-log": "^2.0.0" | 27708 | "webpack-log": "^2.0.0" |
27237 | } | 27709 | } |
27238 | }, | 27710 | }, |
27711 | "webpack-dev-server": { | ||
27712 | "version": "3.1.14", | ||
27713 | "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-3.1.14.tgz", | ||
27714 | "integrity": "sha512-mGXDgz5SlTxcF3hUpfC8hrQ11yhAttuUQWf1Wmb+6zo3x6rb7b9mIfuQvAPLdfDRCGRGvakBWHdHOa0I9p/EVQ==", | ||
27715 | "dev": true, | ||
27716 | "requires": { | ||
27717 | "ansi-html": "0.0.7", | ||
27718 | "bonjour": "^3.5.0", | ||
27719 | "chokidar": "^2.0.0", | ||
27720 | "compression": "^1.5.2", | ||
27721 | "connect-history-api-fallback": "^1.3.0", | ||
27722 | "debug": "^3.1.0", | ||
27723 | "del": "^3.0.0", | ||
27724 | "express": "^4.16.2", | ||
27725 | "html-entities": "^1.2.0", | ||
27726 | "http-proxy-middleware": "~0.18.0", | ||
27727 | "import-local": "^2.0.0", | ||
27728 | "internal-ip": "^3.0.1", | ||
27729 | "ip": "^1.1.5", | ||
27730 | "killable": "^1.0.0", | ||
27731 | "loglevel": "^1.4.1", | ||
27732 | "opn": "^5.1.0", | ||
27733 | "portfinder": "^1.0.9", | ||
27734 | "schema-utils": "^1.0.0", | ||
27735 | "selfsigned": "^1.9.1", | ||
27736 | "semver": "^5.6.0", | ||
27737 | "serve-index": "^1.7.2", | ||
27738 | "sockjs": "0.3.19", | ||
27739 | "sockjs-client": "1.3.0", | ||
27740 | "spdy": "^4.0.0", | ||
27741 | "strip-ansi": "^3.0.0", | ||
27742 | "supports-color": "^5.1.0", | ||
27743 | "url": "^0.11.0", | ||
27744 | "webpack-dev-middleware": "3.4.0", | ||
27745 | "webpack-log": "^2.0.0", | ||
27746 | "yargs": "12.0.2" | ||
27747 | }, | ||
27748 | "dependencies": { | ||
27749 | "accepts": { | ||
27750 | "version": "1.3.5", | ||
27751 | "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", | ||
27752 | "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=", | ||
27753 | "dev": true, | ||
27754 | "requires": { | ||
27755 | "mime-types": "~2.1.18", | ||
27756 | "negotiator": "0.6.1" | ||
27757 | } | ||
27758 | }, | ||
27759 | "ansi-regex": { | ||
27760 | "version": "3.0.0", | ||
27761 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", | ||
27762 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", | ||
27763 | "dev": true | ||
27764 | }, | ||
27765 | "batch": { | ||
27766 | "version": "0.6.1", | ||
27767 | "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", | ||
27768 | "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", | ||
27769 | "dev": true | ||
27770 | }, | ||
27771 | "camelcase": { | ||
27772 | "version": "4.1.0", | ||
27773 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", | ||
27774 | "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", | ||
27775 | "dev": true | ||
27776 | }, | ||
27777 | "cliui": { | ||
27778 | "version": "4.1.0", | ||
27779 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz", | ||
27780 | "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", | ||
27781 | "dev": true, | ||
27782 | "requires": { | ||
27783 | "string-width": "^2.1.1", | ||
27784 | "strip-ansi": "^4.0.0", | ||
27785 | "wrap-ansi": "^2.0.0" | ||
27786 | }, | ||
27787 | "dependencies": { | ||
27788 | "strip-ansi": { | ||
27789 | "version": "4.0.0", | ||
27790 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", | ||
27791 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", | ||
27792 | "dev": true, | ||
27793 | "requires": { | ||
27794 | "ansi-regex": "^3.0.0" | ||
27795 | } | ||
27796 | } | ||
27797 | } | ||
27798 | }, | ||
27799 | "debug": { | ||
27800 | "version": "3.2.6", | ||
27801 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", | ||
27802 | "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", | ||
27803 | "dev": true, | ||
27804 | "requires": { | ||
27805 | "ms": "^2.1.1" | ||
27806 | } | ||
27807 | }, | ||
27808 | "decamelize": { | ||
27809 | "version": "2.0.0", | ||
27810 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-2.0.0.tgz", | ||
27811 | "integrity": "sha512-Ikpp5scV3MSYxY39ymh45ZLEecsTdv/Xj2CaQfI8RLMuwi7XvjX9H/fhraiSuU+C5w5NTDu4ZU72xNiZnurBPg==", | ||
27812 | "dev": true, | ||
27813 | "requires": { | ||
27814 | "xregexp": "4.0.0" | ||
27815 | } | ||
27816 | }, | ||
27817 | "escape-html": { | ||
27818 | "version": "1.0.3", | ||
27819 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", | ||
27820 | "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", | ||
27821 | "dev": true | ||
27822 | }, | ||
27823 | "eventsource": { | ||
27824 | "version": "1.0.7", | ||
27825 | "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-1.0.7.tgz", | ||
27826 | "integrity": "sha512-4Ln17+vVT0k8aWq+t/bF5arcS3EpT9gYtW66EPacdj/mAFevznsnyoHLPy2BA8gbIQeIHoPsvwmfBftfcG//BQ==", | ||
27827 | "dev": true, | ||
27828 | "requires": { | ||
27829 | "original": "^1.0.0" | ||
27830 | } | ||
27831 | }, | ||
27832 | "execa": { | ||
27833 | "version": "1.0.0", | ||
27834 | "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", | ||
27835 | "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", | ||
27836 | "dev": true, | ||
27837 | "requires": { | ||
27838 | "cross-spawn": "^6.0.0", | ||
27839 | "get-stream": "^4.0.0", | ||
27840 | "is-stream": "^1.1.0", | ||
27841 | "npm-run-path": "^2.0.0", | ||
27842 | "p-finally": "^1.0.0", | ||
27843 | "signal-exit": "^3.0.0", | ||
27844 | "strip-eof": "^1.0.0" | ||
27845 | } | ||
27846 | }, | ||
27847 | "find-up": { | ||
27848 | "version": "3.0.0", | ||
27849 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", | ||
27850 | "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", | ||
27851 | "dev": true, | ||
27852 | "requires": { | ||
27853 | "locate-path": "^3.0.0" | ||
27854 | } | ||
27855 | }, | ||
27856 | "get-stream": { | ||
27857 | "version": "4.1.0", | ||
27858 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", | ||
27859 | "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", | ||
27860 | "dev": true, | ||
27861 | "requires": { | ||
27862 | "pump": "^3.0.0" | ||
27863 | } | ||
27864 | }, | ||
27865 | "import-local": { | ||
27866 | "version": "2.0.0", | ||
27867 | "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", | ||
27868 | "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==", | ||
27869 | "dev": true, | ||
27870 | "requires": { | ||
27871 | "pkg-dir": "^3.0.0", | ||
27872 | "resolve-cwd": "^2.0.0" | ||
27873 | } | ||
27874 | }, | ||
27875 | "invert-kv": { | ||
27876 | "version": "2.0.0", | ||
27877 | "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz", | ||
27878 | "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==", | ||
27879 | "dev": true | ||
27880 | }, | ||
27881 | "is-fullwidth-code-point": { | ||
27882 | "version": "2.0.0", | ||
27883 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", | ||
27884 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", | ||
27885 | "dev": true | ||
27886 | }, | ||
27887 | "lcid": { | ||
27888 | "version": "2.0.0", | ||
27889 | "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz", | ||
27890 | "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==", | ||
27891 | "dev": true, | ||
27892 | "requires": { | ||
27893 | "invert-kv": "^2.0.0" | ||
27894 | } | ||
27895 | }, | ||
27896 | "locate-path": { | ||
27897 | "version": "3.0.0", | ||
27898 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", | ||
27899 | "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", | ||
27900 | "dev": true, | ||
27901 | "requires": { | ||
27902 | "p-locate": "^3.0.0", | ||
27903 | "path-exists": "^3.0.0" | ||
27904 | } | ||
27905 | }, | ||
27906 | "ms": { | ||
27907 | "version": "2.1.1", | ||
27908 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", | ||
27909 | "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", | ||
27910 | "dev": true | ||
27911 | }, | ||
27912 | "negotiator": { | ||
27913 | "version": "0.6.1", | ||
27914 | "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", | ||
27915 | "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", | ||
27916 | "dev": true | ||
27917 | }, | ||
27918 | "os-locale": { | ||
27919 | "version": "3.1.0", | ||
27920 | "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz", | ||
27921 | "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==", | ||
27922 | "dev": true, | ||
27923 | "requires": { | ||
27924 | "execa": "^1.0.0", | ||
27925 | "lcid": "^2.0.0", | ||
27926 | "mem": "^4.0.0" | ||
27927 | } | ||
27928 | }, | ||
27929 | "p-limit": { | ||
27930 | "version": "2.1.0", | ||
27931 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.1.0.tgz", | ||
27932 | "integrity": "sha512-NhURkNcrVB+8hNfLuysU8enY5xn2KXphsHBaC2YmRNTZRc7RWusw6apSpdEj3jo4CMb6W9nrF6tTnsJsJeyu6g==", | ||
27933 | "dev": true, | ||
27934 | "requires": { | ||
27935 | "p-try": "^2.0.0" | ||
27936 | } | ||
27937 | }, | ||
27938 | "p-locate": { | ||
27939 | "version": "3.0.0", | ||
27940 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", | ||
27941 | "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", | ||
27942 | "dev": true, | ||
27943 | "requires": { | ||
27944 | "p-limit": "^2.0.0" | ||
27945 | } | ||
27946 | }, | ||
27947 | "p-try": { | ||
27948 | "version": "2.0.0", | ||
27949 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.0.0.tgz", | ||
27950 | "integrity": "sha512-hMp0onDKIajHfIkdRk3P4CdCmErkYAxxDtP3Wx/4nZ3aGlau2VKh3mZpcuFkH27WQkL/3WBCPOktzA9ZOAnMQQ==", | ||
27951 | "dev": true | ||
27952 | }, | ||
27953 | "path-exists": { | ||
27954 | "version": "3.0.0", | ||
27955 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", | ||
27956 | "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", | ||
27957 | "dev": true | ||
27958 | }, | ||
27959 | "pkg-dir": { | ||
27960 | "version": "3.0.0", | ||
27961 | "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", | ||
27962 | "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", | ||
27963 | "dev": true, | ||
27964 | "requires": { | ||
27965 | "find-up": "^3.0.0" | ||
27966 | } | ||
27967 | }, | ||
27968 | "pump": { | ||
27969 | "version": "3.0.0", | ||
27970 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", | ||
27971 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", | ||
27972 | "dev": true, | ||
27973 | "requires": { | ||
27974 | "end-of-stream": "^1.1.0", | ||
27975 | "once": "^1.3.1" | ||
27976 | } | ||
27977 | }, | ||
27978 | "serve-index": { | ||
27979 | "version": "1.9.1", | ||
27980 | "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", | ||
27981 | "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", | ||
27982 | "dev": true, | ||
27983 | "requires": { | ||
27984 | "accepts": "~1.3.4", | ||
27985 | "batch": "0.6.1", | ||
27986 | "debug": "2.6.9", | ||
27987 | "escape-html": "~1.0.3", | ||
27988 | "http-errors": "~1.6.2", | ||
27989 | "mime-types": "~2.1.17", | ||
27990 | "parseurl": "~1.3.2" | ||
27991 | }, | ||
27992 | "dependencies": { | ||
27993 | "debug": { | ||
27994 | "version": "2.6.9", | ||
27995 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", | ||
27996 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", | ||
27997 | "dev": true, | ||
27998 | "requires": { | ||
27999 | "ms": "2.0.0" | ||
28000 | } | ||
28001 | }, | ||
28002 | "ms": { | ||
28003 | "version": "2.0.0", | ||
28004 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | ||
28005 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", | ||
28006 | "dev": true | ||
28007 | } | ||
28008 | } | ||
28009 | }, | ||
28010 | "sockjs-client": { | ||
28011 | "version": "1.3.0", | ||
28012 | "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.3.0.tgz", | ||
28013 | "integrity": "sha512-R9jxEzhnnrdxLCNln0xg5uGHqMnkhPSTzUZH2eXcR03S/On9Yvoq2wyUZILRUhZCNVu2PmwWVoyuiPz8th8zbg==", | ||
28014 | "dev": true, | ||
28015 | "requires": { | ||
28016 | "debug": "^3.2.5", | ||
28017 | "eventsource": "^1.0.7", | ||
28018 | "faye-websocket": "~0.11.1", | ||
28019 | "inherits": "^2.0.3", | ||
28020 | "json3": "^3.3.2", | ||
28021 | "url-parse": "^1.4.3" | ||
28022 | } | ||
28023 | }, | ||
28024 | "string-width": { | ||
28025 | "version": "2.1.1", | ||
28026 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", | ||
28027 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", | ||
28028 | "dev": true, | ||
28029 | "requires": { | ||
28030 | "is-fullwidth-code-point": "^2.0.0", | ||
28031 | "strip-ansi": "^4.0.0" | ||
28032 | }, | ||
28033 | "dependencies": { | ||
28034 | "strip-ansi": { | ||
28035 | "version": "4.0.0", | ||
28036 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", | ||
28037 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", | ||
28038 | "dev": true, | ||
28039 | "requires": { | ||
28040 | "ansi-regex": "^3.0.0" | ||
28041 | } | ||
28042 | } | ||
28043 | } | ||
28044 | }, | ||
28045 | "supports-color": { | ||
28046 | "version": "5.5.0", | ||
28047 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", | ||
28048 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", | ||
28049 | "dev": true, | ||
28050 | "requires": { | ||
28051 | "has-flag": "^3.0.0" | ||
28052 | } | ||
28053 | }, | ||
28054 | "which-module": { | ||
28055 | "version": "2.0.0", | ||
28056 | "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", | ||
28057 | "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", | ||
28058 | "dev": true | ||
28059 | }, | ||
28060 | "yargs": { | ||
28061 | "version": "12.0.2", | ||
28062 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.2.tgz", | ||
28063 | "integrity": "sha512-e7SkEx6N6SIZ5c5H22RTZae61qtn3PYUE8JYbBFlK9sYmh3DMQ6E5ygtaG/2BW0JZi4WGgTR2IV5ChqlqrDGVQ==", | ||
28064 | "dev": true, | ||
28065 | "requires": { | ||
28066 | "cliui": "^4.0.0", | ||
28067 | "decamelize": "^2.0.0", | ||
28068 | "find-up": "^3.0.0", | ||
28069 | "get-caller-file": "^1.0.1", | ||
28070 | "os-locale": "^3.0.0", | ||
28071 | "require-directory": "^2.1.1", | ||
28072 | "require-main-filename": "^1.0.1", | ||
28073 | "set-blocking": "^2.0.0", | ||
28074 | "string-width": "^2.0.0", | ||
28075 | "which-module": "^2.0.0", | ||
28076 | "y18n": "^3.2.1 || ^4.0.0", | ||
28077 | "yargs-parser": "^10.1.0" | ||
28078 | } | ||
28079 | }, | ||
28080 | "yargs-parser": { | ||
28081 | "version": "10.1.0", | ||
28082 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz", | ||
28083 | "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==", | ||
28084 | "dev": true, | ||
28085 | "requires": { | ||
28086 | "camelcase": "^4.1.0" | ||
28087 | } | ||
28088 | } | ||
28089 | } | ||
28090 | }, | ||
27239 | "webpack-hot-middleware": { | 28091 | "webpack-hot-middleware": { |
27240 | "version": "2.24.3", | 28092 | "version": "2.24.3", |
27241 | "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.24.3.tgz", | 28093 | "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.24.3.tgz", |
diff --git a/package.json b/package.json index 2abc78249..87c1175a4 100644 --- a/package.json +++ b/package.json | |||
@@ -24,8 +24,7 @@ | |||
24 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", | 24 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", |
25 | "reformat-files": "./node_modules/.bin/prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,jsx,scss}\"", | 25 | "reformat-files": "./node_modules/.bin/prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,jsx,scss}\"", |
26 | "packages": "npx lerna publish --no-git-tag-version", | 26 | "packages": "npx lerna publish --no-git-tag-version", |
27 | "storybook": "start-storybook -p 6006", | 27 | "uidev": "cd uidev && webpack-dev-server" |
28 | "build-storybook": "build-storybook" | ||
29 | }, | 28 | }, |
30 | "keywords": [], | 29 | "keywords": [], |
31 | "author": "Stefan Malzner <stefan@adlk.io>", | 30 | "author": "Stefan Malzner <stefan@adlk.io>", |
@@ -97,24 +96,14 @@ | |||
97 | "@babel/preset-env": "^7.0.0", | 96 | "@babel/preset-env": "^7.0.0", |
98 | "@babel/preset-react": "^7.0.0", | 97 | "@babel/preset-react": "^7.0.0", |
99 | "@babel/register": "7.0.0", | 98 | "@babel/register": "7.0.0", |
100 | "@storybook/addon-a11y": "^4.1.4", | ||
101 | "@storybook/addon-actions": "^4.1.4", | ||
102 | "@storybook/addon-info": "^4.1.4", | ||
103 | "@storybook/addon-links": "^4.1.4", | ||
104 | "@storybook/addons": "^4.1.4", | ||
105 | "@storybook/react": "^4.1.4", | ||
106 | "@types/classnames": "^2.2.6", | 99 | "@types/classnames": "^2.2.6", |
107 | "@types/color": "^3.0.0", | 100 | "@types/color": "^3.0.0", |
108 | "@types/color-convert": "^1.9.0", | 101 | "@types/color-convert": "^1.9.0", |
109 | "@types/jss": "^9.5.7", | 102 | "@types/jss": "^9.5.7", |
110 | "@types/lodash": "^4.14.119", | 103 | "@types/lodash": "^4.14.119", |
111 | "@types/react": "^16.7.18", | 104 | "@types/react": "^16.7.18", |
105 | "@types/react-dom": "16.0.11", | ||
112 | "@types/react-jss": "^8.6.0", | 106 | "@types/react-jss": "^8.6.0", |
113 | "@types/storybook__addon-actions": "3.4.1", | ||
114 | "@types/storybook__addon-info": "3.4.2", | ||
115 | "@types/storybook__addon-options": "4.0.0", | ||
116 | "@types/storybook__react": "4.0.0", | ||
117 | "awesome-typescript-loader": "5.2.1", | ||
118 | "babel-eslint": "10.0.1", | 107 | "babel-eslint": "10.0.1", |
119 | "babel-loader": "^8.0.4", | 108 | "babel-loader": "^8.0.4", |
120 | "cross-env": "^5.0.5", | 109 | "cross-env": "^5.0.5", |
@@ -137,6 +126,7 @@ | |||
137 | "gulp-sass-variables": "^1.1.1", | 126 | "gulp-sass-variables": "^1.1.1", |
138 | "gulp-server-livereload": "^1.9.2", | 127 | "gulp-server-livereload": "^1.9.2", |
139 | "hex-rgb": "3.0.0", | 128 | "hex-rgb": "3.0.0", |
129 | "html-webpack-plugin": "4.0.0-beta.5", | ||
140 | "husky": "^1.1.4", | 130 | "husky": "^1.1.4", |
141 | "i": "0.3.6", | 131 | "i": "0.3.6", |
142 | "install": "0.12.2", | 132 | "install": "0.12.2", |
@@ -146,9 +136,6 @@ | |||
146 | "node-sass": "4.11.0", | 136 | "node-sass": "4.11.0", |
147 | "npm": "6.5.0", | 137 | "npm": "6.5.0", |
148 | "prettier": "1.15.2", | 138 | "prettier": "1.15.2", |
149 | "react-docgen-typescript-loader": "3.0.0", | ||
150 | "react-docgen-typescript-webpack-plugin": "1.1.0", | ||
151 | "storybook-addon-jss-theme": "^1.0.2", | ||
152 | "terser-webpack-plugin": "1.2.1", | 139 | "terser-webpack-plugin": "1.2.1", |
153 | "ts-loader": "5.3.2", | 140 | "ts-loader": "5.3.2", |
154 | "tslint": "5.12.0", | 141 | "tslint": "5.12.0", |
@@ -156,6 +143,7 @@ | |||
156 | "typescript": "3.2.2", | 143 | "typescript": "3.2.2", |
157 | "webpack": "4.28.3", | 144 | "webpack": "4.28.3", |
158 | "webpack-cli": "3.2.1", | 145 | "webpack-cli": "3.2.1", |
146 | "webpack-dev-server": "3.1.14", | ||
159 | "webpack-node-externals": "1.7.2" | 147 | "webpack-node-externals": "1.7.2" |
160 | }, | 148 | }, |
161 | "config": { | 149 | "config": { |
diff --git a/packages/forms/tslint.json b/packages/forms/tslint.json index 975089ab0..0946f2096 100644 --- a/packages/forms/tslint.json +++ b/packages/forms/tslint.json | |||
@@ -1,12 +1,3 @@ | |||
1 | { | 1 | { |
2 | "extends": ["tslint-config-airbnb"], | 2 | "extends": "../../tslint.json" |
3 | "rules": { | ||
4 | "import-name": false, | ||
5 | "variable-name": false, | ||
6 | "class-name": false, | ||
7 | "prefer-array-literal": false, | ||
8 | "semicolon": [true, "always"], | ||
9 | "max-line-length": false, | ||
10 | "ordered-imports": true | ||
11 | } | ||
12 | } | 3 | } |
diff --git a/packages/theme/tslint.json b/packages/theme/tslint.json index a2f4dec71..0946f2096 100644 --- a/packages/theme/tslint.json +++ b/packages/theme/tslint.json | |||
@@ -1,13 +1,3 @@ | |||
1 | { | 1 | { |
2 | "extends": ["tslint-config-airbnb"], | 2 | "extends": "../../tslint.json" |
3 | "rules": { | ||
4 | "import-name": false, | ||
5 | "variable-name": false, | ||
6 | "class-name": false, | ||
7 | "prefer-array-literal": false, | ||
8 | "semicolon": [true, "always"], | ||
9 | "max-line-length": false, | ||
10 | "ordered-imports": true, | ||
11 | "object-literal-sort-keys": true | ||
12 | } | ||
13 | } | 3 | } |
diff --git a/tsconfig.storybook.json b/tsconfig.storybook.json index cc5511927..46e0e6cfa 100644 --- a/tsconfig.storybook.json +++ b/tsconfig.storybook.json | |||
@@ -2,7 +2,6 @@ | |||
2 | "extends": "./tsconfig.settings.json", | 2 | "extends": "./tsconfig.settings.json", |
3 | "compilerOptions": { | 3 | "compilerOptions": { |
4 | "outDir": ".tstmp", | 4 | "outDir": ".tstmp", |
5 | "rootDir": "./", | 5 | "rootDir": "./" |
6 | "moduleResolution": "node" | ||
7 | }, | 6 | }, |
8 | } | 7 | } |
diff --git a/tslint.json b/tslint.json new file mode 100644 index 000000000..975089ab0 --- /dev/null +++ b/tslint.json | |||
@@ -0,0 +1,12 @@ | |||
1 | { | ||
2 | "extends": ["tslint-config-airbnb"], | ||
3 | "rules": { | ||
4 | "import-name": false, | ||
5 | "variable-name": false, | ||
6 | "class-name": false, | ||
7 | "prefer-array-literal": false, | ||
8 | "semicolon": [true, "always"], | ||
9 | "max-line-length": false, | ||
10 | "ordered-imports": true | ||
11 | } | ||
12 | } | ||
diff --git a/uidev/src/app.html b/uidev/src/app.html new file mode 100644 index 000000000..40801775e --- /dev/null +++ b/uidev/src/app.html | |||
@@ -0,0 +1,18 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html> | ||
3 | |||
4 | <head> | ||
5 | <title>UIDev</title> | ||
6 | <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,800" rel="stylesheet"> | ||
7 | <style> | ||
8 | * { | ||
9 | font-family: 'Open Sans', sans-serif; | ||
10 | font-size: 14px; | ||
11 | } | ||
12 | </style> | ||
13 | </head> | ||
14 | |||
15 | <body> | ||
16 | <div id="root"></div> | ||
17 | </body> | ||
18 | </html> | ||
diff --git a/uidev/src/app.tsx b/uidev/src/app.tsx new file mode 100644 index 000000000..a1c9ee343 --- /dev/null +++ b/uidev/src/app.tsx | |||
@@ -0,0 +1,89 @@ | |||
1 | import { Classes } from 'jss'; | ||
2 | import React, { Component } from 'react'; | ||
3 | import { render } from 'react-dom'; | ||
4 | import injectSheet from 'react-jss'; | ||
5 | import './stories/input'; | ||
6 | import { WithTheme } from './withTheme'; | ||
7 | |||
8 | import { store } from './stores'; | ||
9 | |||
10 | const styles = { | ||
11 | container: { | ||
12 | display: 'flex', | ||
13 | width: '100%', | ||
14 | }, | ||
15 | menu: { | ||
16 | width: 300, | ||
17 | position: 'fixed' as any, | ||
18 | }, | ||
19 | stories: { | ||
20 | width: '100%', | ||
21 | marginLeft: 320, | ||
22 | paddingLeft: 40, | ||
23 | paddingRight: 40, | ||
24 | borderLeft: '1px solid #CFCFCF', | ||
25 | }, | ||
26 | sectionHeadline: { | ||
27 | fontSize: 30, | ||
28 | }, | ||
29 | storyHeadline: { | ||
30 | fontSize: 24, | ||
31 | }, | ||
32 | story: { | ||
33 | paddingBottom: 40, | ||
34 | marginBottom: 40, | ||
35 | borderBottom: '1px solid #CFCFCF', | ||
36 | }, | ||
37 | }; | ||
38 | |||
39 | const foo = { | ||
40 | seas: 'bar', | ||
41 | }; | ||
42 | |||
43 | export const App = injectSheet(styles)(({ classes }: { classes: Classes }) => ( | ||
44 | <div className={classes.container}> | ||
45 | <ul className={classes.menu}> | ||
46 | {store.stories.sections.map((section, key) => ( | ||
47 | <li key={key}> | ||
48 | <a href={`#section-${key}`}>{ | ||
49 | section.name} | ||
50 | </a> | ||
51 | <ul> | ||
52 | {section.stories.map((story, storyKey) => ( | ||
53 | <li key={storyKey}> | ||
54 | <a href={`#section-${key}-story-${storyKey}`}> | ||
55 | {story.name} | ||
56 | </a> | ||
57 | </li> | ||
58 | ))} | ||
59 | </ul> | ||
60 | </li> | ||
61 | ))} | ||
62 | </ul> | ||
63 | <div className={classes.stories}> | ||
64 | {store.stories.sections.map((section, key) => ( | ||
65 | <div key={key}> | ||
66 | <h1 | ||
67 | id={`section-${key}`} | ||
68 | className={classes.sectionHeadline} | ||
69 | > | ||
70 | {section.name} | ||
71 | </h1> | ||
72 | {section.stories.map((story, storyKey) => ( | ||
73 | <div className={classes.story} key={storyKey}> | ||
74 | <h2 | ||
75 | id={`section-${key}-story-${storyKey}`} | ||
76 | className={classes.storyHeadline} | ||
77 | > | ||
78 | {story.name} | ||
79 | </h2> | ||
80 | <WithTheme> | ||
81 | {story.component()} | ||
82 | </WithTheme> | ||
83 | </div> | ||
84 | ))} | ||
85 | </div> | ||
86 | ))} | ||
87 | </div> | ||
88 | </div> | ||
89 | )); | ||
diff --git a/uidev/src/index.tsx b/uidev/src/index.tsx new file mode 100644 index 000000000..99658b184 --- /dev/null +++ b/uidev/src/index.tsx | |||
@@ -0,0 +1,9 @@ | |||
1 | import React from 'react'; | ||
2 | import { render } from 'react-dom'; | ||
3 | import { App } from './app'; | ||
4 | |||
5 | const app = () => ( | ||
6 | <App /> | ||
7 | ); | ||
8 | |||
9 | render(app(), document.getElementById('root')); | ||
diff --git a/uidev/src/stores/index.ts b/uidev/src/stores/index.ts new file mode 100644 index 000000000..276058ec4 --- /dev/null +++ b/uidev/src/stores/index.ts | |||
@@ -0,0 +1,5 @@ | |||
1 | import { storyStore } from './stories'; | ||
2 | |||
3 | export const store = { | ||
4 | stories: storyStore, | ||
5 | }; | ||
diff --git a/uidev/src/stores/stories.ts b/uidev/src/stores/stories.ts new file mode 100644 index 000000000..064bf275f --- /dev/null +++ b/uidev/src/stores/stories.ts | |||
@@ -0,0 +1,43 @@ | |||
1 | import { store } from './index'; | ||
2 | |||
3 | export type StorySectionName = string; | ||
4 | export type StoryName = string; | ||
5 | export type StoryComponent = Function; | ||
6 | |||
7 | export interface IStories { | ||
8 | name: string; | ||
9 | component: StoryComponent; | ||
10 | } | ||
11 | |||
12 | export interface ISections { | ||
13 | name: StorySectionName; | ||
14 | stories: IStories[]; | ||
15 | } | ||
16 | |||
17 | export interface IStoryStore { | ||
18 | sections: ISections[]; | ||
19 | } | ||
20 | |||
21 | export const storyStore: IStoryStore = { | ||
22 | sections: [], | ||
23 | }; | ||
24 | |||
25 | export const storiesOf = (name: StorySectionName) => { | ||
26 | const length = storyStore.sections.push({ | ||
27 | name, | ||
28 | stories: [], | ||
29 | }); | ||
30 | |||
31 | const actions = { | ||
32 | add: (name: StoryName, component: StoryComponent) => { | ||
33 | storyStore.sections[length - 1].stories.push({ | ||
34 | name, | ||
35 | component, | ||
36 | }); | ||
37 | |||
38 | return actions; | ||
39 | }, | ||
40 | }; | ||
41 | |||
42 | return actions; | ||
43 | }; | ||
diff --git a/stories/input.stories.tsx b/uidev/src/stories/input.tsx index 86de48f9b..dc8f6e997 100644 --- a/stories/input.stories.tsx +++ b/uidev/src/stories/input.tsx | |||
@@ -1,18 +1,15 @@ | |||
1 | import React from 'react'; | 1 | import React from 'react'; |
2 | 2 | ||
3 | import { storiesOf } from '@storybook/react'; | ||
4 | import { action } from '@storybook/addon-actions'; | ||
5 | |||
6 | import { Input } from '@meetfranz/forms'; | 3 | import { Input } from '@meetfranz/forms'; |
4 | import { storiesOf } from '../stores/stories'; | ||
7 | 5 | ||
8 | console.log('stories'); | 6 | export const stories = () => (<div>input stories</div>); |
9 | 7 | ||
10 | const defaultProps = { | 8 | const defaultProps = { |
11 | label: 'Label', | 9 | label: 'Label', |
12 | id: 'test1', | 10 | id: 'test1', |
13 | name: 'test1', | 11 | name: 'test1', |
14 | onChange: action('changed'), | 12 | onChange: (e: React.ChangeEvent<HTMLInputElement>) => console.log('changed event', e), |
15 | focus: true, | ||
16 | }; | 13 | }; |
17 | 14 | ||
18 | const defaultPasswordProps = { | 15 | const defaultPasswordProps = { |
@@ -20,11 +17,10 @@ const defaultPasswordProps = { | |||
20 | type: 'password', | 17 | type: 'password', |
21 | id: 'test1', | 18 | id: 'test1', |
22 | name: 'test1', | 19 | name: 'test1', |
23 | onChange: action('changed'), | 20 | onChange: (e: React.ChangeEvent<HTMLInputElement>) => console.log('changed event', e), |
24 | focus: true, | ||
25 | }; | 21 | }; |
26 | 22 | ||
27 | storiesOf('Input', module) | 23 | storiesOf('Input') |
28 | .add('Basic', () => ( | 24 | .add('Basic', () => ( |
29 | <Input | 25 | <Input |
30 | {...defaultProps} | 26 | {...defaultProps} |
@@ -52,7 +48,7 @@ storiesOf('Input', module) | |||
52 | suffix=".meetfranz.com" | 48 | suffix=".meetfranz.com" |
53 | /> | 49 | /> |
54 | )) | 50 | )) |
55 | .add('With pre-/suffix', () => ( | 51 | .add('With pre-suffix', () => ( |
56 | <Input | 52 | <Input |
57 | {...defaultProps} | 53 | {...defaultProps} |
58 | prefix="https://" | 54 | prefix="https://" |
@@ -67,8 +63,7 @@ storiesOf('Input', module) | |||
67 | /> | 63 | /> |
68 | )); | 64 | )); |
69 | 65 | ||
70 | storiesOf('Password', module) | 66 | storiesOf('Password') |
71 | // .addDecorator(withThemesProvider(themes)) | ||
72 | .add('Basic', () => ( | 67 | .add('Basic', () => ( |
73 | <Input | 68 | <Input |
74 | {...defaultPasswordProps} | 69 | {...defaultPasswordProps} |
diff --git a/.storybook/withTheme/index.tsx b/uidev/src/withTheme/index.tsx index b2f80f438..17a1074d3 100644 --- a/.storybook/withTheme/index.tsx +++ b/uidev/src/withTheme/index.tsx | |||
@@ -1,10 +1,7 @@ | |||
1 | import React from 'react'; | 1 | import { theme, Theme, ThemeType } from '@meetfranz/theme'; |
2 | import { Classes } from 'jss'; | 2 | import { Classes } from 'jss'; |
3 | import React from 'react'; | ||
3 | import injectSheet, { ThemeProvider } from 'react-jss'; | 4 | import injectSheet, { ThemeProvider } from 'react-jss'; |
4 | import addons, { makeDecorator } from '@storybook/addons'; | ||
5 | import theme, { ThemeType, Theme } from '@meetfranz/theme'; | ||
6 | |||
7 | console.log(theme); | ||
8 | 5 | ||
9 | const defaultTheme = { | 6 | const defaultTheme = { |
10 | name: 'Default', | 7 | name: 'Default', |
@@ -31,7 +28,7 @@ const styles = (theme: Theme) => ({ | |||
31 | }, | 28 | }, |
32 | }); | 29 | }); |
33 | 30 | ||
34 | const Container = injectSheet(styles)(({ name, classes, story }: { name: string, classes: Classes, story: any }) => ( | 31 | const Container = injectSheet(styles)(({ name, classes, story }: { name: string, classes: Classes, story: React.ReactNode }) => ( |
35 | <article> | 32 | <article> |
36 | <h1 className={classes.title}>{name}</h1> | 33 | <h1 className={classes.title}>{name}</h1> |
37 | <div className={classes.container}> | 34 | <div className={classes.container}> |
@@ -40,22 +37,14 @@ const Container = injectSheet(styles)(({ name, classes, story }: { name: string, | |||
40 | </article> | 37 | </article> |
41 | )); | 38 | )); |
42 | 39 | ||
43 | export default makeDecorator({ | 40 | export const WithTheme = ({ children }: {children: React.ReactChild}) => { |
44 | name: 'withTheme', | 41 | return ( |
45 | parameterName: 'theme', | ||
46 | // This means don't run this decorator if the notes decorator is not set | ||
47 | // skipIfNoParametersOrOptions: true, | ||
48 | wrapper: (getStory: Function, context: any, { options }: any) => { | ||
49 | const channel = addons.getChannel(); | ||
50 | |||
51 | return ( | ||
52 | <> | 42 | <> |
53 | {themes.map(theme => ( | 43 | {themes.map((theme, key) => ( |
54 | <ThemeProvider theme={theme.variables}> | 44 | <ThemeProvider key={key} theme={theme.variables}> |
55 | <Container story={getStory(context)} name={theme.name} /> | 45 | <Container story={children} name={theme.name} /> |
56 | </ThemeProvider> | 46 | </ThemeProvider> |
57 | ))} | 47 | ))} |
58 | </> | 48 | </> |
59 | ); | 49 | ); |
60 | } | 50 | }; |
61 | }) | ||
diff --git a/uidev/tsconfig.json b/uidev/tsconfig.json new file mode 100644 index 000000000..23a59e665 --- /dev/null +++ b/uidev/tsconfig.json | |||
@@ -0,0 +1,13 @@ | |||
1 | { | ||
2 | "extends": "../tsconfig.settings.json", | ||
3 | "compilerOptions": { | ||
4 | "outDir": "lib", | ||
5 | "rootDir": "src" | ||
6 | }, | ||
7 | "references": [{ | ||
8 | "path": "../packages/theme" | ||
9 | }, | ||
10 | { | ||
11 | "path": "../packages/forms" | ||
12 | }] | ||
13 | } | ||
diff --git a/uidev/tslint.json b/uidev/tslint.json new file mode 100644 index 000000000..ec365f164 --- /dev/null +++ b/uidev/tslint.json | |||
@@ -0,0 +1,3 @@ | |||
1 | { | ||
2 | "extends": "../tslint.json" | ||
3 | } | ||
diff --git a/uidev/webpack.config.js b/uidev/webpack.config.js new file mode 100644 index 000000000..8c4a4ade9 --- /dev/null +++ b/uidev/webpack.config.js | |||
@@ -0,0 +1,22 @@ | |||
1 | const path = require('path'); | ||
2 | const HtmlWebpackPlugin = require('html-webpack-plugin'); | ||
3 | |||
4 | module.exports = { | ||
5 | entry: './src/index.tsx', | ||
6 | module: { | ||
7 | rules: [{ | ||
8 | test: /\.tsx?$/, | ||
9 | use: 'ts-loader', | ||
10 | exclude: /node_modules/, | ||
11 | }], | ||
12 | }, | ||
13 | resolve: { | ||
14 | extensions: ['.tsx', '.ts', '.js'], | ||
15 | }, | ||
16 | mode: 'none', | ||
17 | plugins: [ | ||
18 | new HtmlWebpackPlugin({ | ||
19 | template: path.join('src', 'app.html'), | ||
20 | }), | ||
21 | ], | ||
22 | }; | ||