Skip to content

Commit

Permalink
fix: add rollup and prettier configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
lpatiny committed Oct 27, 2020
1 parent 9542e35 commit 2c8f15a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
10 changes: 9 additions & 1 deletion package.json
Expand Up @@ -39,7 +39,15 @@
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.6.1",
"prettier": "^2.1.2"
"prettier": "^2.1.2",
"rollup": "^2.32.1"
},
"prettier": {
"arrowParens": "always",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all"
},
"dependencies": {
"ml-disjoint-set": "^1.0.0",
Expand Down
7 changes: 7 additions & 0 deletions rollup.config.js
@@ -0,0 +1,7 @@
export default {
input: 'src/index.js',
output: {
format: 'cjs',
file: 'lib/index.js',
},
};

0 comments on commit 2c8f15a

Please sign in to comment.