https://github.com/fongandrew/secret-super-weapon
Secret Super Weapon, the Game!
https://github.com/fongandrew/secret-super-weapon
Last synced: 3 months ago
JSON representation
Secret Super Weapon, the Game!
- Host: GitHub
- URL: https://github.com/fongandrew/secret-super-weapon
- Owner: fongandrew
- Created: 2016-01-25T04:26:16.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-03T07:06:17.000Z (over 9 years ago)
- Last Synced: 2025-02-21T08:51:25.749Z (3 months ago)
- Language: TypeScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Secret Super Weapon
===================
Secret Super Weapon (SSW) is a turn-based party game built using Typescript
and Meteor. This is currently a work-in-progress.Getting Started
---------------
* `npm install` to install dependencies. This will call TSD to (re-)install
DefinitelyTyped definitions.
* `npm run watch` to watch and compile Typescript while running Meteor.Other Commands
--------------
* `npm run clean` to clean up compiled Typescript filesBuild Notes
------------
SSW uses `tsc` to compile Typescript into ES6 modules which are in turn compiled
into a Meteor 1.3 isomorphic app. To distinguish compiled Typescript files from
other Javascript files in the Meteor directory (like `package.js` files) for
the purposes of clean up or excluding files from source control, we append `.m`
to each Typescript module (which means Typescript files end with `.m.ts` or
`.m.tsx` and the compiled Javascript files end with `.m.js`).This provides some boilerplate code for getting a Meteor 1.3 app with React
and Typescript working. Rather than use a Meteor Isobuild package, we use tsc
to compile Typescript into ES6 directly, and then have Meteor compile the
JS files into the actual Meteor app.