https://github.com/javascript-pro/convertize
Convertize Technical Test
https://github.com/javascript-pro/convertize
Last synced: about 1 year ago
JSON representation
Convertize Technical Test
- Host: GitHub
- URL: https://github.com/javascript-pro/convertize
- Owner: javascript-pro
- Created: 2015-11-19T03:06:23.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-19T03:40:03.000Z (over 10 years ago)
- Last Synced: 2025-02-12T11:37:33.195Z (about 1 year ago)
- Language: HTML
- Size: 908 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Convertize Technical Test
http://jqueryresume.com/convertize/
### Developed in TypeScript using Sublime.
### Clone the repository
cd to the folder you want to contain your new project and run
```
git clone git@github.com:listingslab/Convertize.git
```
### TypeScript Compiler
The Typescript compiler wrapper. Exposes the [TypeScript command line compiler](https://www.npmjs.com/package/typescript-compiler) to your code.
```
npm install typescript-compiler
```
allows us to run commands like the following to compile and concatonate our JavaScript into the public folder
```
tsc -out public/js/tickergrid.js src/Main.ts
```
## Grunt & LiveReload workflow
We use Grunt to facilitate workflow. The Gruntfile.js is very simple, it's default task is to watch for changes in the /src directory and then compile the TypeScript code into a single file: /public/js/convertize.js. There are a few dependencies to install to enable this. cd to the project directory and run
```
npm install
```
Once these components are installed we can simply run the command ```grunt``` in our project directory. Any changes made to .ts files in the /src directory will immediately be compiled into the file /public/js/convertize.js.