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: