Skip to content

Commit 4b0645c

Browse files
committed
first commit
0 parents  commit 4b0645c

File tree

377 files changed

+16510
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

377 files changed

+16510
-0
lines changed

.babelrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"presets": ["es2015", "stage-2"],
3+
"plugins": ["transform-runtime"],
4+
"comments": false
5+
}

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.eslintrc.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module.exports = {
2+
root: true,
3+
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
4+
extends: 'standard',
5+
// required to lint *.vue files
6+
plugins: [
7+
'html'
8+
],
9+
// add your custom rules here
10+
'rules': {
11+
// allow paren-less arrow functions
12+
'arrow-parens': 0,
13+
// allow debugger during development
14+
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
15+
}
16+
}

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.DS_Store
2+
node_modules/
3+
dist/
4+
npm-debug.log
5+
selenium-debug.log
6+
test/unit/coverage
7+
test/e2e/reports

.idea/jsLibraryMappings.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/my_proyect_node_modules.xml

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/my-proyect.iml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

+210
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# vue-chess-material
2+
3+
> Vue chess game with chessground and vuex
4+
5+
6+
*in progress*
7+
8+
9+
![mostrando app](img.pgn "fghfgh")
10+
11+
## Build Setup
12+
13+
``` bash
14+
# install dependencies
15+
npm install
16+
17+
# serve with hot reload at localhost:8080
18+
npm run dev
19+
20+
# build for production with minification
21+
npm run build
22+
23+
# run unit tests
24+
npm run unit
25+
26+
# run e2e tests
27+
npm run e2e
28+
29+
# run all tests
30+
npm test
31+
```
32+
33+
# redis install
34+
35+
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-redis-on-ubuntu-16-04
36+
37+
http://redis.io/download
38+
39+
sudo apt-get install build-essential tcl
40+
$ wget http://download.redis.io/releases/redis-3.2.3.tar.gz
41+
$ tar xzf redis-3.2.3.tar.gz
42+
$ cd redis-3.2.3
43+
$ make
44+
src/redis-server
45+
46+
For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

build/build.js

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// https://github.com/shelljs/shelljs
2+
require('shelljs/global')
3+
env.NODE_ENV = 'production'
4+
5+
var path = require('path')
6+
var config = require('../config')
7+
var ora = require('ora')
8+
var webpack = require('webpack')
9+
var webpackConfig = require('./webpack.prod.conf')
10+
11+
console.log(
12+
' Tip:\n' +
13+
' Built files are meant to be served over an HTTP server.\n' +
14+
' Opening index.html over file:// won\'t work.\n'
15+
)
16+
17+
var spinner = ora('building for production...')
18+
spinner.start()
19+
20+
var assetsPath = path.join(config.build.assetsRoot, config.build.assetsSubDirectory)
21+
rm('-rf', assetsPath)
22+
mkdir('-p', assetsPath)
23+
cp('-R', 'static/', assetsPath)
24+
25+
webpack(webpackConfig, function (err, stats) {
26+
spinner.stop()
27+
if (err) throw err
28+
process.stdout.write(stats.toString({
29+
colors: true,
30+
modules: false,
31+
children: false,
32+
chunks: false,
33+
chunkModules: false
34+
}) + '\n')
35+
})

build/dev-client.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* eslint-disable */
2+
require('eventsource-polyfill')
3+
var hotClient = require('webpack-hot-middleware/client?noInfo=true&reload=true')
4+
5+
hotClient.subscribe(function (event) {
6+
if (event.action === 'reload') {
7+
window.location.reload()
8+
}
9+
})

0 commit comments

Comments
 (0)