Skip to content
A teeny tiny evolutionary genetic simulator
JavaScript TypeScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.citare.json
.gitattributes
.gitignore
LICENSE
README.md
android-chrome-144x144.png
android-chrome-192x192.png
android-chrome-36x36.png
android-chrome-48x48.png
android-chrome-72x72.png
android-chrome-96x96.png
apple-touch-icon-114x114.png
apple-touch-icon-120x120.png
apple-touch-icon-144x144.png
apple-touch-icon-152x152.png
apple-touch-icon-180x180.png
apple-touch-icon-57x57.png
apple-touch-icon-60x60.png
apple-touch-icon-72x72.png
apple-touch-icon-76x76.png
apple-touch-icon-precomposed.png
apple-touch-icon.png
browserconfig.xml
ecopico.css
ecopico.css.map
ecopico.js
ecopico.less
ecopico.min.css
ecopico.ts
favicon-16x16.png
favicon-194x194.png
favicon-32x32.png
favicon-96x96.png
favicon.ico
index.html
manifest.json
mstile-144x144.png
mstile-150x150.png
mstile-310x150.png
mstile-310x310.png
mstile-70x70.png
statistics.js
statistics.ts

README.md

ecopico

A teeny tiny evolutionary genetic simulator

##Setup ecopico is written in Typescript. Index.html uses the Javascript that is output by a Typescript transpiler. ###Windows

####VS Visual Studio has a Typescript compiler plugin

####CLI

npm install typescript

node node_modules/typescript/bin/tsc.js ecopico.ts -target es6

###Unix

npm install typescript

node built/local/tsc.js ecopico.ts -target es6

##Documentation ecopico uses citare-scriptum to generate docs

npm install citare-scriptum

install it locally so you can change .\node_modules\citare-scriptum\lib\languages.coffee . Add this block:

Typescript:

    nameMatchers: ['.ts']

    lexer: 'actionscript'

    singleLineComment: ['//']

then, when you've made a change, run

citare

this will use .citare.json to generate the docs then use

citare --github

to push the changes to the github pages branch

if you're running Windows, you may need to use Git Bash to run the script manually instead of using the --github flag

You can’t perform that action at this time.