Skip to content

Commit

Permalink
Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronin11 committed May 29, 2017
1 parent 16d79f0 commit 8df9c90
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 33 deletions.
12 changes: 6 additions & 6 deletions package.json
@@ -1,17 +1,17 @@
{
"name": "@next-gen/typescript-lib-starter",
"version": "1.4.0",
"description": "TypeScript library setup for multiple compilation targets using tsc and webpack",
"name": "incremental-game-lib",
"version": "0.0.1",
"description": "A library to help build incremental games.",
"main": "lib/index.js",
"module": "lib-esm/index.js",
"jsnext:main": "lib-esm/index.js",
"umd:main": "umd/typescript-lib-starter.min.js",
"umd:main": "umd/IncrementalGameLib.min.js",
"typings": "typings/index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/Hotell/typescript-lib-starter"
"url": "https://www.github.com/Ronin11/IncrementalGameLib"
},
"author": "Martin Hochel",
"author": "Ronin11, Derek Hunter",
"license": "MIT",
"engines": {
"node": ">=6.9"
Expand Down
6 changes: 0 additions & 6 deletions src/Greeter.ts

This file was deleted.

6 changes: 6 additions & 0 deletions src/Resource.ts
@@ -0,0 +1,6 @@
export class Resource {
constructor(private name: string){}
getName(){
return `Name: ${this.name}`
}
}
20 changes: 0 additions & 20 deletions src/__tests__/Greeter.spec.ts

This file was deleted.

20 changes: 20 additions & 0 deletions src/__tests__/Resource.spec.ts
@@ -0,0 +1,20 @@
import { Resource } from '../Resource'

describe(`Resource`, () => {

let resource: Resource

beforeEach(() => {
resource = new Resource('World')
})

it(`should greet`, () => {

const actual = resource.getName()
const expected = 'Name: World'

expect(actual).toBe(expected)

})

})
2 changes: 1 addition & 1 deletion src/index.ts
@@ -1 +1 @@
export { Greeter } from './Greeter';
export { Resource } from './Resource';

0 comments on commit 8df9c90

Please sign in to comment.