This commit is contained in:
erwanlr
2020-04-11 13:46:26 +02:00
parent a7acbd0738
commit c362527903
14 changed files with 4553 additions and 3 deletions

View File

@@ -0,0 +1,20 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.0.0] - 04-04-2020
### Added
- @wordpress/scripts and @wordpress/creat-block to scaffold plugin and webpack
- custom webpack file to utilize postcss, & css modules
- custom postcss.config file
- custom .eslintrc file that extends wordpress for editor to use as formatter
- Tailwindcss for the css
- Axios for api key testing within gutenberg
- CSS modules to keep css in scope
- React to build the field editing & front-end components
- Transients to cache the fetched data for 1 minute at a time or if attibributes have changed

View File

@@ -0,0 +1,31 @@
{
"name": "blocks-for-eventbrite",
"version": "1.0.0",
"description": "WordPress Gutenberg blocks that display eventbrite events",
"author": "Jon Waldstein",
"license": "GPL-2.0-or-later",
"main": "build/index.js",
"scripts": {
"build": "wp-scripts build",
"format:js": "wp-scripts format-js",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"start": "wp-scripts start",
"packages-update": "wp-scripts packages-update"
},
"devDependencies": {
"@wordpress/eslint-plugin": "^4.0.0",
"@wordpress/scripts": "^7.1.3",
"css-loader": "^3.4.2",
"cssnano": "^4.1.10",
"postcss-loader": "^3.0.0",
"postcss-nested": "^4.2.1",
"style-loader": "^1.1.3"
},
"dependencies": {
"@tippyjs/react": "^4.0.0-alpha.4",
"axios": "^0.19.2",
"classnames": "^2.2.6",
"tailwindcss": "^1.2.0"
}
}