Skip to content

Commit

Permalink
Adding debug line
Browse files Browse the repository at this point in the history
  • Loading branch information
Eimi Okuno committed Apr 8, 2020
1 parent 659bed4 commit 1e0e102
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
23 changes: 18 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"@storybook/addon-knobs": "^5.1.11",
"array-move": "^2.1.0",
"auto": "^7.4.3",
"babel-loader": "^8.0.6",
"bootstrap": "^4.3.1",
"bootstrap-css-only": "^4.3.1",
"chroma-js": "^2.0.3",
Expand Down Expand Up @@ -70,10 +69,11 @@
"videocontext": "^0.53.0"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-transform-react-jsx": "^7.7.4",
"@babel/preset-env": "^7.6.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.0.0",
"@storybook/addon-a11y": "^5.0.8",
"@storybook/addon-actions": "^5.1.9",
Expand All @@ -85,13 +85,14 @@
"@testing-library/react": "^10.0.1",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "^8.1.0",
"eslint": "^6.2.2",
"eslint-plugin-react": "^7.14.3",
"gh-pages": "^2.0.1",
"jest": "^25.1.0",
"prettier": "^1.18.2",
"storybook-react-router": "^1.0.5",
"webpack": "^4.40.2",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.10"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// based on https://itnext.io/how-to-package-your-react-component-for-distribution-via-npm-d32d4bf71b4f
// and http://jasonwatmore.com/post/2018/04/14/react-npm-how-to-publish-a-react-component-to-npm
const path = require('path');
console.log(__dirname)

module.exports = {
devtool: 'source-map',
Expand Down Expand Up @@ -60,7 +61,7 @@ module.exports = {
]
},
{
test: /\.(js|jsx)$/,
test: /\.m?(js|jsx)$/,
include: path.resolve(__dirname, 'src'),
// TODO: because it uses entry point to determine graph of dependencies, might not be needed to exclude test ans sample files?
exclude: /(node_modules|bower_components|build|dist|demo|.storybook|storybook-static)/,
Expand Down

0 comments on commit 1e0e102

Please sign in to comment.