Skip to content

Commit

Permalink
init.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Jun 8, 2024
0 parents commit 6b7b873
Show file tree
Hide file tree
Showing 22 changed files with 14,431 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["@babel/preset-env"],
"plugins": ["@babel/plugin-proposal-class-properties"]
}
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false
33 changes: 33 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"rules": {
"prefer-template": "off",
"no-var": 1,
"no-unused-vars": 1,
"camelcase": 1,
"no-nested-ternary": 1,
"no-console": 1,
"no-template-curly-in-string": 1,
"no-self-compare": 1,
"import/prefer-default-export": 0,
"arrow-body-style": 1,
"import/no-extraneous-dependencies": ["off", { "devDependencies": false }]
},
"ignorePatterns": ["dist", "node_modules", "webpack.*", "config/paths.js"],
"env": {
"browser": true,
"es6": true
},
"extends": ["eslint:recommended", "prettier"],
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"plugins": ["prettier"],
"settings": {
"import/resolver": {
"webpack": {
"config": "config/webpack.common.js"
}
}
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
dist/
7 changes: 7 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"trailingComma": "es5",
"singleQuote": true,
"tabWidth": 2,
"printWidth": 100,
"semi": false
}
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Teamplate iFrame Widget

This teamplate is mean to be used to create new experiences that can be included using iFrames into other application and websites.

## Installation

Clone this repo and npm install.

```bash
npm i
```

## Usage

### Development server

```bash
npm start
```

You can view the development server at `localhost:8080`.

### Production build

```bash
npm run build
```
9 changes: 9 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@/*": ["./src/*"]
},
"allowJs": true
}
}
Loading

0 comments on commit 6b7b873

Please sign in to comment.