Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tasnimAlam committed Aug 13, 2020
0 parents commit 7a00d26
Show file tree
Hide file tree
Showing 16 changed files with 17,130 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Coverage directory used by tools like istanbul
coverage

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env
14 changes: 14 additions & 0 deletions block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "create-block/swiper-slider",
"title": "Swiper Slider",
"category": "widgets",
"icon": "smiley",
"description": "Example block written with ESNext standard and JSX support – build step required.",
"textdomain": "create-block",
"supports": {
"html": false
},
"editorScript": "file:./build/index.js",
"editorStyle": "file:./build/index.css",
"style": "file:./build/style-index.css"
}
1 change: 1 addition & 0 deletions build/index.asset.php
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?php return array('dependencies' => array('wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '825495d8d85bc6ac8c0f47c91ad75003');
2 changes: 2 additions & 0 deletions build/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.wp-block-create-block-swiper-slider{border:1px dotted #f00}

1 change: 1 addition & 0 deletions build/index.js

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

2 changes: 2 additions & 0 deletions build/style-index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.wp-block-create-block-swiper-slider{background-color:var(--wp-admin-theme-color);color:#fff;padding:2px}

Loading

0 comments on commit 7a00d26

Please sign in to comment.