Skip to content

Commit 3b51d32

Browse files
committed
typescript
1 parent 6293a9a commit 3b51d32

12 files changed

+123
-649
lines changed

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.DS_Store
22
.idea
33
.tmp
4-
tmp
5-
node_modules
6-
*.log
4+
todo.md
5+
node_modules

.npmignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
test
2+
todo.md
3+
node_modules
4+
src
5+
.tmp
6+
.travis.yml
7+
tsconfig.json
8+
tslint.json

README.md

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,5 @@
1-
# JS Promises Flow Control
1+
# Steersman
22

3-
## Install
4-
```
5-
npm install prow
6-
```
7-
8-
## API
9-
10-
### prow.when(deferreds)
11-
### prow.nextTick(task)
12-
### prow.defer(timeout, timelimit)
13-
### prow.waterfall(tasks)
14-
### prow.parallel(tasks, maxThreads, managed)
15-
### prow.queue(tasks, managed)
16-
### prow.retry(task, times, delay)
17-
### prow.times(task, times)
18-
### prow.await(condition, checkDelay, timeLimit)
19-
20-
## License
21-
22-
Copyright (c) 2015 rzcoder
23-
24-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
25-
26-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
27-
28-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3+
_Lightweight JS router for browsers & node_
4+
5+
Work in progress

dist/prow.js

Lines changed: 0 additions & 203 deletions
This file was deleted.

dist/prow.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

gruntfile.js

Lines changed: 0 additions & 65 deletions
This file was deleted.

package.json

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,31 @@
11
{
22
"name": "prow",
3-
"version": "0.2.1",
3+
"version": "1.0.0",
44
"description": "JS Promises Flow Lib",
5-
"main": "dist/prow.js",
6-
"scripts": {
7-
"prepublish" : "grunt",
8-
"test": "grunt test"
9-
},
5+
"main": "lib/prow.js",
6+
"typings": "lib/prow.d.ts",
7+
"author": "rzcoder",
8+
"license": "MIT",
109
"repository": {
1110
"type": "git",
1211
"url": "https://github.com/rzcoder/prow.git"
1312
},
13+
"bugs": {
14+
"url": "https://github.com/rzcoder/prow/issues"
15+
},
1416
"keywords": [
1517
"js",
1618
"promise",
1719
"flow"
1820
],
19-
"author": "rzcoder@gmail.com",
20-
"license": "MIT",
21-
"bugs": {
22-
"url": "https://github.com/rzcoder/prow/issues"
21+
"scripts": {
22+
"build": "tsc",
23+
"test": "mocha",
24+
"-pretest": "tslint --project ./"
2325
},
24-
"homepage": "https://github.com/rzcoder/prow",
2526
"devDependencies": {
26-
"chai": "^3.0.0",
27-
"grunt": "^0.4.5",
28-
"grunt-contrib-jshint": "^0.11.2",
29-
"grunt-contrib-uglify": "^0.9.1",
30-
"grunt-simple-mocha": "^0.4.0",
31-
"jit-grunt": "^0.9.1",
32-
"sinon": "^1.14.1",
33-
"time-grunt": "^1.2.1"
27+
"chai": "^3.5.0",
28+
"chai-as-promised": "^6.0.0",
29+
"mocha": "^3.1.2"
3430
}
3531
}

0 commit comments

Comments
 (0)