-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kevin Provance <[email protected]>
- Loading branch information
Showing
574 changed files
with
95,431 additions
and
61,077 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
module.exports = [ | ||
{ | ||
test: /\.js$/, | ||
exclude: /(node_modules|bower_components)/, | ||
use: { | ||
loader: 'babel-loader', | ||
options: { | ||
// presets: ['es2015'], | ||
// Cache compilation results in ./node_modules/.cache/babel-loader/ | ||
cacheDirectory: true, | ||
plugins: [ | ||
'@babel/plugin-proposal-class-properties', | ||
'@babel/plugin-transform-destructuring', | ||
'@babel/plugin-proposal-object-rest-spread', | ||
[ | ||
'@babel/plugin-transform-react-jsx', | ||
{ | ||
pragma: 'wp.element.createElement', | ||
}, | ||
] | ||
] | ||
} | ||
} | ||
}, | ||
{ | ||
test: /\.svg$/, | ||
use: ['@svgr/webpack'], // Settings are in .svgrrc | ||
}, | ||
{ | ||
test: /\.(png|jpg|gif)$/, | ||
use: [ | ||
{ | ||
loader: 'file-loader', | ||
options: { | ||
outputPath: 'images', // Dump images in dist/images. | ||
publicPath: 'dist/images', // URLs point to dist/images. | ||
regExp: /\/([^\/]+)\/([^\/]+)\/images\/(.+)\.(.*)?$/, // Gather strings for the output filename. | ||
name: '[1]-[2]-[3].[hash:hex:7].[ext]', // Filename e.g. block-accordion-basic.1b659fc.png | ||
}, | ||
}, | ||
], | ||
}, | ||
// Help video snippets | ||
{ | ||
test: /help\/videos\/[\w\d-_]+\.(mp4)$/, | ||
use: [ | ||
{ | ||
loader: 'file-loader', | ||
options: { | ||
outputPath: 'videos/help', // Dump images in dist/videos/help. | ||
publicPath: 'dist/videos/help', // URLs point to dist/videos/help. | ||
regExp: /\/videos\/(.+)\.(.*)?$/, // Gather strings for the output filename. | ||
name: '[1].[ext]', // Filename e.g. borders.mp4 | ||
}, | ||
}, | ||
], | ||
}, | ||
{ | ||
test: /\.scss$/, | ||
use: ['style-loader', 'css-loader', 'sass-loader'], | ||
}, | ||
{ | ||
test: /\.(mp4)$/, | ||
exclude: /(help\/videos)/, | ||
use: [ | ||
{ | ||
loader: 'file-loader', | ||
options: { | ||
outputPath: 'videos', // Dump images in dist/images. | ||
publicPath: 'dist/videos', // URLs point to dist/images. | ||
regExp: /\/([^\/]+)\/([^\/]+)\/videos\/(.+)\.(.*)?$/, // Gather strings for the output filename. | ||
name: '[2]-[3].[hash:hex:7].[ext]', // Filename e.g. help-borders.1b659fc.mp4 | ||
}, | ||
}, | ||
], | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
/.wordpress-org | ||
/.git | ||
/.config | ||
/.idea | ||
/.github | ||
/node_modules | ||
/.tx | ||
/.github | ||
/bin | ||
/codestyles | ||
/tests | ||
|
||
.distignore | ||
.gitignore | ||
.travis.yml | ||
ISSUE_TEMPLATE | ||
CONTRIBUTING.md | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,81 @@ | ||
# Editors | ||
project.xml | ||
project.properties | ||
/nbproject/private/ | ||
.buildpath | ||
.project | ||
.settings* | ||
sftp-config.json | ||
codekit-config.json | ||
.idea | ||
*.sublime-project | ||
*.sublime-workspace | ||
|
||
# Grunt | ||
md5 | ||
/docs/ | ||
/redux/ | ||
/output/ | ||
/node_modules/ | ||
/grunt-phplint/ | ||
/tmp-wp-dev/ | ||
npm-debug.log | ||
|
||
# OS X metadata | ||
.DS_Store | ||
|
||
# Windows junk | ||
# Packages # | ||
############ | ||
*.7z | ||
*.dmg | ||
*.gz | ||
*.bz2 | ||
*.iso | ||
*.jar | ||
*.rar | ||
*.tar | ||
*.zip | ||
*.tgz | ||
|
||
# Logs and databases # | ||
###################### | ||
*.log | ||
*.sql | ||
|
||
# OS generated files # | ||
###################### | ||
**.DS_Store* | ||
ehthumbs.db | ||
Thumbs.db | ||
._* | ||
|
||
# Vim generated files # | ||
###################### | ||
*.un~ | ||
|
||
# SASS # | ||
########## | ||
**/.sass-cache | ||
**/.sass-cache/* | ||
|
||
# Composer # | ||
########## | ||
vendors/composer/ | ||
!assets/js/vendor/ | ||
wpcs/ | ||
composer.lock | ||
|
||
# Bower # | ||
########## | ||
assets/bower_components/* | ||
|
||
# Codekit # | ||
########## | ||
/codekit-config.json | ||
*.codekit | ||
**.codekit-cache/* | ||
|
||
# NPM # | ||
########## | ||
node_modules | ||
|
||
# Compiled Files and Build Dirs # | ||
########## | ||
/README.html | ||
/build/ | ||
|
||
# PhpStrom Project Files # | ||
.idea/ | ||
library/vendors/composer | ||
assets/img/.DS_Store | ||
assets/sass/HTML | ||
assets/sass/Rails | ||
HTML | ||
Rails | ||
|
||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
*/.DS_Store | ||
build | ||
*/.DS_Store | ||
|
||
vendor/* | ||
redux-templates/classes/library.json | ||
local_developer.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,36 @@ | ||
{ | ||
"boss": true, | ||
"boss" : true, | ||
"curly" : true, | ||
"eqeqeq": true, | ||
"eqnull": true, | ||
"esversion": 5, | ||
"expr": true, | ||
"immed": true, | ||
"noarg": true, | ||
"nonbsp": true, | ||
"onevar": true, | ||
"validthis": true, | ||
"quotmark": "single", | ||
"trailing": true, | ||
"undef": true, | ||
"unused": true, | ||
"devel": true, | ||
"jquery": true, | ||
"browser": true, | ||
|
||
"globals": { | ||
"_": false, | ||
"jQuery": true, | ||
"Backbone": false, | ||
"jQuery": false, | ||
"JSON": false, | ||
"wp": false, | ||
"export": false, | ||
"require": true, | ||
"module": true, | ||
"console": true, | ||
"document": true, | ||
"window": true, | ||
"window": true, | ||
"redux_change": true, | ||
"redux": true | ||
"redux": true, | ||
"tinyMCE": true | ||
} | ||
} |
Oops, something went wrong.