From 0cb939ff7dfa42e47a463ebb8c81d93e471e4816 Mon Sep 17 00:00:00 2001 From: Sharon Kennedy Date: Thu, 7 May 2020 14:56:51 -0400 Subject: [PATCH] remove unused files --- .circleci/config.yml | 48 - .storybook/addons.js | 2 - .storybook/config.js | 9 - .storybook/webpack.config.js | 13 - README.md | 8 +- bookmarklet-flow.gif | Bin 2391875 -> 0 bytes dist/olm.wasm | Bin 182910 -> 0 bytes package.json | 7 +- public/olm.wasm | Bin 182910 -> 0 bytes stories/index.stories.js | 6 - webpack.config.js | 4 +- yarn.lock | 2898 ++-------------------------------- 12 files changed, 168 insertions(+), 2827 deletions(-) delete mode 100644 .circleci/config.yml delete mode 100644 .storybook/addons.js delete mode 100644 .storybook/config.js delete mode 100644 .storybook/webpack.config.js delete mode 100644 bookmarklet-flow.gif delete mode 100644 dist/olm.wasm delete mode 100644 public/olm.wasm delete mode 100644 stories/index.stories.js diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 7b16986..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,48 +0,0 @@ -version: 2 -jobs: - build: - docker: - - image: node:10 - steps: - - checkout - - run: - name: dep install - command: npm install - - run: - name: install codecov - command: npm install -g codecov - - run: - name: test - command: npm test && codecov - - run: - name: build - command: | - npm run build - [ -f ./dist/index.html ] || exit 1 - [ -f ./dist/blank.html ] || exit 1 - [ -f ./dist/widget.js ] || exit 1 - [ -f ./dist/bookmarklet.js ] || exit 1 - - run: - name: npm start works - command: | - npm run start & - pid=$! - sleep 10s - ps $pid - - run: - name: deploy - command: | - if [ "$CIRCLE_BRANCH" = "master" ]; then - git config --global user.email $GH_EMAIL - git config --global user.name $GH_NAME - npm run deploy - fi - -workflows: - version: 2 - build-deploy: - jobs: - - build: - filters: - branches: - ignore: gh-pages diff --git a/.storybook/addons.js b/.storybook/addons.js deleted file mode 100644 index 6aed412..0000000 --- a/.storybook/addons.js +++ /dev/null @@ -1,2 +0,0 @@ -import '@storybook/addon-actions/register'; -import '@storybook/addon-links/register'; diff --git a/.storybook/config.js b/.storybook/config.js deleted file mode 100644 index 639b168..0000000 --- a/.storybook/config.js +++ /dev/null @@ -1,9 +0,0 @@ -import { configure } from '@storybook/react'; - -// automatically import all files ending in *.stories.js -const req = require.context('../stories', true, /\.stories\.js$/); -function loadStories() { - req.keys().forEach(filename => req(filename)); -} - -configure(loadStories, module); diff --git a/.storybook/webpack.config.js b/.storybook/webpack.config.js deleted file mode 100644 index 3e63d9a..0000000 --- a/.storybook/webpack.config.js +++ /dev/null @@ -1,13 +0,0 @@ -const path = require('path'); - -module.exports = { - module: { - rules: [ - { - test: /\.scss$/, - use: ['style-loader', 'css-loader', 'sass-loader'], - include: path.resolve(__dirname, '../'), - }, - ], - }, -} \ No newline at end of file diff --git a/README.md b/README.md index 13e2faa..6e5d4dd 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ Built on: