Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-javascript committed Dec 8, 2024
0 parents commit a7fb6de
Show file tree
Hide file tree
Showing 12 changed files with 2,816 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
'use strict';

const output = process.env.BABEL_OUTPUT;
const modules = output == null ? false : output;
const options = {
presets: [['@babel/env', {loose: true, modules}], '@babel/react'],
plugins: ['@babel/plugin-transform-react-jsx'],
env: {
test: {
// extra configuration for process.env.NODE_ENV === 'test'
presets: ['@babel/env'], // overwrite env-config from above with transpiled module syntax
},
},
};

module.exports = options;
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#ide

# dependencies
/node_modules
example/node_modules
/.pnp
.pnp.js

# testing
/coverage
/sandbox

# production
/build
/lib
/dist

# demo
/demo

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
34 changes: 34 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#ide
/.vscode

# dependencies
/node_modules
/.pnp
.pnp.js

# production
webpack*
rollup*
.babelrc.js

#development
/sandbox

#demo
/example
index.html
/demo

# testing
/coverage

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
30 changes: 30 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#ide
/.vscode

# dependencies
/node_modules
example/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build
/lib
/dist

# demo
/demo

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
12 changes: 12 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"arrowParens": "always",
"bracketSpacing": false,
"jsxBracketSameLine": true,
"printWidth": 120,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"proseWrap": "never"
}
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
},
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
}
Binary file added 1e59d2330b4c6deb84b3.ttf
Binary file not shown.
Binary file added 20fd1704ea223900efa9.woff2
Binary file not shown.
2,671 changes: 2,671 additions & 0 deletions 6878d55e3615ccf40c38.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 8b43027f47b20503057d.eot
Binary file not shown.
Binary file added f691f37e57f04c152e23.woff
Binary file not shown.
14 changes: 14 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>react-custom-search-list</title>
<meta name="description" content="react-custom-search-list : A customizable React search input component with dynamic popup suggestions, allowing developers to create unique search experiences.">
</head>
<body>
<div id="rsg-root"></div>
<script src="build/bundle.ff8eee8d.js"></script>
</body>
</html>

0 comments on commit a7fb6de

Please sign in to comment.