Minor improvements

This commit is contained in:
Tony Air 2019-11-27 12:30:48 +07:00
parent a9a54785fc
commit f5ca76e6bb
5 changed files with 9 additions and 10 deletions

View File

@ -2,6 +2,12 @@
// http://eslint.org/docs/rules/ // http://eslint.org/docs/rules/
"extends": "eslint:recommended", "extends": "eslint:recommended",
"settings": {
"react": {
"version": "detect"
}
},
"env": { "env": {
"browser": true, // browser global variables. "browser": true, // browser global variables.
"node": true, // Node.js global variables and Node.js-specific rules. "node": true, // Node.js global variables and Node.js-specific rules.

View File

@ -3,11 +3,6 @@
import $ from 'jquery'; import $ from 'jquery';
import Events from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_events'; import Events from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_events';
import Spinner from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.spinner';
import FormDatetime from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.form.datetime';
import FormStepped from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.form.stepped';
//import Multislider from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.multislider';
const LayoutUI = (($) => { const LayoutUI = (($) => {
// Constants // Constants

View File

@ -31,6 +31,8 @@ import 'bootstrap/js/dist/scrollspy';
import 'bootstrap/js/dist/tab'; import 'bootstrap/js/dist/tab';
// //
import Spinner from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.spinner';
//import Multislider from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.multislider';
// Offcanvas menu // Offcanvas menu
//import 'offcanvas-bootstrap/dist/js/bootstrap.offcanvas'; //import 'offcanvas-bootstrap/dist/js/bootstrap.offcanvas';
@ -38,7 +40,6 @@ import 'bootstrap/js/dist/tab';
// Uncomment it to enable meta-lightbox zooming on hover // Uncomment it to enable meta-lightbox zooming on hover
//import 'jquery-zoom/jquery.zoom'; //import 'jquery-zoom/jquery.zoom';
// Toggle bootstrap form fields // Toggle bootstrap form fields
//import FormToggleUI from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.form.fields.toggle'; //import FormToggleUI from '@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/js/_components/_ui.form.fields.toggle';

View File

@ -11,9 +11,6 @@ $grid-gutter-width: 2rem;
$grid-gutter-height: 2rem; $grid-gutter-height: 2rem;
@import "~@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/scss/_variables"; @import "~@a2nt/ss-bootstrap-ui-webpack-boilerplate/src/scss/_variables";
@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
@import "~bootstrap/scss/mixins";
// Add your site-wide + content editor typography styling // Add your site-wide + content editor typography styling

View File

@ -1,6 +1,6 @@
{ {
"name": "ss-webpack-boilerplate", "name": "ss-webpack-boilerplate",
"version": "1.0.0", "version": "2.0.0",
"description": "Lets you create SilverStripe faster", "description": "Lets you create SilverStripe faster",
"author": "Tony Air <tony@twma.pro>", "author": "Tony Air <tony@twma.pro>",
"license": "MIT", "license": "MIT",