casinotoolkit-prototyping-tool
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -35,4 +35,2 @@ import 'babel-polyfill'; | ||
import PostcodeLookup from 'widgets/postcode-lookup'; | ||
import PromotionsHistory from 'widgets/promotions-history'; | ||
import promotions from 'widgets/promotions'; | ||
import Login from 'widgets/login'; | ||
@@ -79,3 +77,2 @@ import InboxWidget from 'widgets/inbox'; | ||
inputRange(); | ||
promotions(); | ||
currentTime(); | ||
@@ -82,0 +79,0 @@ priorityMenu(); |
{ | ||
"name": "casinotoolkit-prototyping-tool", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Prototypeing tool for Zeus themes", | ||
@@ -12,3 +12,10 @@ "main": "index.js", | ||
"dependencies": { | ||
"@bedegaming/casinotoolkit": "5.0.0-pre.48" | ||
"@bedegaming/casinotoolkit": "5.0.0-pre.51", | ||
"babel-polyfill": "^6.23.0", | ||
"element-dataset": "^2.2.6", | ||
"ima.js-babel6-polyfill": "^0.1.1", | ||
"moment": "^2.18.1", | ||
"reset.css": "^2.0.2", | ||
"template-polyfill": "^2.0.0", | ||
"whatwg-fetch": "^2.0.3" | ||
}, | ||
@@ -15,0 +22,0 @@ "devDependencies": { |
# casinotoolkit-prototyping-tool | ||
Tool for prototyping components against Casinotoolkit and other Zeus themes | ||
## Getting started | ||
``` | ||
yarn install | ||
yarn start | ||
``` | ||
## Prototyping | ||
Markup should be added to the `index.html`, styles and javascript can be imported to `main.js` or `main.scss` from Casinotoolkit with the local symlink setup (`yarn link @bedegaming/casinotoolkit`). | ||
Once webpack detects a change to a file it will hot load the changes into the page without having to refresh. |
@@ -1,6 +0,11 @@ | ||
var path = require('path'); | ||
const path = require('path'); | ||
const webpack = require('webpack'); | ||
module.exports = function(env) { | ||
return { | ||
entry: './app.js', | ||
entry: [ | ||
'./app.js', | ||
'webpack-dev-server/client?http://localhost:9000', | ||
'webpack/hot/only-dev-server', | ||
], | ||
output: { | ||
@@ -56,4 +61,8 @@ filename: 'bundle.js', | ||
] | ||
} | ||
}, | ||
plugins: [ | ||
new webpack.HotModuleReplacementPlugin(), | ||
new webpack.NamedModulesPlugin(), | ||
] | ||
} | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
174
16
162330
8
9
+ Addedbabel-polyfill@^6.23.0
+ Addedelement-dataset@^2.2.6
+ Addedmoment@^2.18.1
+ Addedreset.css@^2.0.2
+ Addedtemplate-polyfill@^2.0.0
+ Addedwhatwg-fetch@^2.0.3
+ Addedbabel-polyfill@6.26.0(transitive)
+ Addedbabel-runtime@6.26.0(transitive)
+ Addedcore-js@2.6.12(transitive)
+ Addedelement-dataset@2.2.6(transitive)
+ Addedima.js-babel6-polyfill@0.1.1(transitive)
+ Addedmoment@2.30.1(transitive)
+ Addedregenerator-runtime@0.10.50.11.1(transitive)
+ Addedreset.css@2.0.2(transitive)
+ Addedtemplate-polyfill@2.0.0(transitive)
+ Addedwhatwg-fetch@2.0.4(transitive)