Skip to content

Commit

Permalink
feat(config): export all config files in the root directory
Browse files Browse the repository at this point in the history
to make it easier to import the default configuration
  • Loading branch information
zainfathoni committed Jun 13, 2022
1 parent fc0e35f commit eb99a53
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions babel.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/config/babelrc')
1 change: 1 addition & 0 deletions eslint.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/config/eslintrc')
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
},
"files": [
"dist",
".babelrc.js",
".eslintrc.js",
".prettierrc.js",
"config.js"
"babel.js",
"config.js",
"eslint.js",
"prettier.js"
],
"scripts": {
"build": "node src build",
Expand Down
1 change: 1 addition & 0 deletions prettier.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('./dist/config/prettierrc')

0 comments on commit eb99a53

Please sign in to comment.