diff --git a/index.js b/index.js deleted file mode 100644 index e10138da..00000000 --- a/index.js +++ /dev/null @@ -1,2 +0,0 @@ -'use strict'; -module.exports = require('./dist/hedwig-react.js'); \ No newline at end of file diff --git a/package.json b/package.json index d99b7796..efdb411d 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ } ], "license": "BSD-2-Clause", - "main": "index.js", + "main": "dist/main.js", "scripts": { "dev": "concurrently \"npm run watcher --scripts-prepend-node-path\" \"npm run serve --scripts-prepend-node-path\"", "build": "rm -Rf dist && npm run concatcss && npm run docs:build && npm run css:build && npm run js:build && npm run svg", @@ -47,7 +47,6 @@ "js:build": "npm run js:build:main && npm run js:build:icons", "js:build:main": "rollup -c --name \"hedwig\"", "js:build:icons": "rollup -c rollup.config.icons.js", - "js:build:react": "rollup -c rollup.config.react.js", "docs:build": "node ./scripts/docs-build", "watcher": "node ./scripts/watcher", "server": "node ./server", @@ -111,9 +110,6 @@ "eslint": "^7.17.0", "eslint-config-airbnb": "^18.2.1", "eslint-plugin-import": "^2.22.1", - "eslint-plugin-jsx-a11y": "^6.4.1", - "eslint-plugin-react": "^7.22.0", - "eslint-plugin-react-hooks": "^4.2.0", "jest": "^26.6.3", "livereload": "^0.9.1", "lodash": "^4.17.15", @@ -128,7 +124,6 @@ "rollup": "^2.36.1", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-commonjs": "^10.1.0", - "rollup-plugin-jsx": "^1.0.3", "rollup-plugin-multi-entry": "^2.1.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-uglify": "^6.0.4", diff --git a/rollup.config.react.js b/rollup.config.react.js deleted file mode 100644 index 21d5c468..00000000 --- a/rollup.config.react.js +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Rollup config - * https://rollupjs.org/ - */ - -import jsx from 'rollup-plugin-jsx'; - - -export default { - input: 'src/hedwig-react.jsx', - external: ['react'], - onwarn: (warning) => { - // Skip certain warnings - if (warning.code === 'THIS_IS_UNDEFINED') { - return; - } - // console.warn everything else - console.warn(warning.message); - }, - output: { - file: 'dist/hedwig-react.js', - format: 'cjs', - }, - plugins: [ - jsx({ factory: 'React.createElement' }), - ], -}; diff --git a/src/hedwig-react.jsx b/src/hedwig-react.jsx deleted file mode 100644 index fb6affec..00000000 --- a/src/hedwig-react.jsx +++ /dev/null @@ -1,4 +0,0 @@ -// export { default as Card } from './shared/react/Card/Card.jsx'; -// export { default as Hero } from './shared/react/Hero/Hero.jsx'; -// export { default as Spinner } from './shared/react/Spinner/Spinner.jsx'; -// export { default as CtaCard} from './shared/react/Card-cta/CtaCard.jsx';