Pre-requisites
node >= 6.0 (https://nodejs.org/en/download/current/)
npm >= 3.0 (comes pre-installed by node)
yarn (npm install yarn -g)
Install & start default test
npm install
npm start
Commands
npm start: "npm run redux-classcad",
npm run doc: "node_modules/.bin/esdoc -c esdoc.json",
npm run babel: "babel src -d build --no-babelrc --presets=es2015,stage-0 --plugins=transform-runtime",
npm run browser: "webpack --progress --colors",
npm run build: "npm run babel && npm run browser && npm run doc",
npm run classcad: "node classcad",
npm run redux: "webpack-dev-server --env.dev --progress --colors --config ./tests/redux/webpack.config.babel.js",
npm run redux-prod: "webpack-dev-server --env.prod --progress --colors --config ./tests/redux/webpack.config.babel.js",
npm run redux-classcad: "node_modules/.bin/npm-run-all --parallel classcad redux",
npm run redux-prod-classcad: "node_modules/.bin/npm-run-all --parallel classcad redux-prod",
npm run build-redux: "webpack --env.prod --progress --colors --config ./tests/redux/webpack.config.babel.js"
MacOS/Linux support (experimental)
Install wine (wine2.x required with win64 support) and winetricks
brew install wine winetricks // MacOS
apt-get install wine winetricks // Linux
Now install the Visual Studio distributables for 2013 and 2015.
winetricks vcrun2013 vcrun2015
Symlink Google Drive (or any other folder that contain Drawings and Files)
ln -s ~/Google\ Drive ~/.wine/drive_c/users/$USER/Google\ Drive
All project-commands (npm start, etc.) should work now.