Skip to content

Commit beb6748

Browse files
committed
Merge pull request Asana#7 from Asana/sample-files
Adding some sample files
2 parents b2bc815 + 5b162cd commit beb6748

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"prelint": "npm run compile",
1111
"lint": "find src test tools -name \"*.ts\" | sed 's/^/--file=/g' | xargs tslint --rules-dir build/tools/rules",
1212
"pretest": "npm run lint",
13-
"test": "mocha --reporter ${MOCHA_REPORTER-nyan} --slow 10 --ui tdd --recursive build/**_test.js"
13+
"test": "mocha --reporter ${MOCHA_REPORTER-nyan} --slow 10 --ui tdd --recursive build/**/*_test.js",
14+
"typings": "tsd reinstall && tsd rebundle"
1415
},
1516
"repository": {
1617
"type": "git",

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export var name = "typescript-starter";

test/index_test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import chai = require("chai");
2+
import index = require("../src/index");
3+
4+
suite("Index", () => {
5+
test("name", () => {
6+
chai.assert.equal(index.name, "typescript-starter");
7+
});
8+
});

tsd.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"version": "v4",
3-
"repo": "borisyankov/DefinitelyTyped",
3+
"repo": "Asana/DefinitelyTyped",
44
"ref": "master",
55
"path": "typings",
66
"bundle": "typings/tsd.d.ts",
77
"installed": {
88
"chai/chai.d.ts": {
9-
"commit": "846a250e0a6f5e6adf6347ee4ca442a9d1abd8fc"
9+
"commit": "66d8808c98856feae7d5a2d5acfc955110fb126d"
1010
},
1111
"mocha/mocha.d.ts": {
12-
"commit": "846a250e0a6f5e6adf6347ee4ca442a9d1abd8fc"
12+
"commit": "66d8808c98856feae7d5a2d5acfc955110fb126d"
1313
},
1414
"node/node.d.ts": {
15-
"commit": "846a250e0a6f5e6adf6347ee4ca442a9d1abd8fc"
15+
"commit": "66d8808c98856feae7d5a2d5acfc955110fb126d"
1616
},
1717
"sinon/sinon.d.ts": {
18-
"commit": "846a250e0a6f5e6adf6347ee4ca442a9d1abd8fc"
18+
"commit": "66d8808c98856feae7d5a2d5acfc955110fb126d"
1919
}
2020
}
2121
}

0 commit comments

Comments
 (0)