Skip to content

Commit 1398833

Browse files
committed
feat(src): rewrite in typescript
1 parent c85b432 commit 1398833

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+512
-2838
lines changed

.babelrc

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"presets": [
3-
"es2015"
4-
],
5-
"plugins": [
6-
"syntax-flow",
7-
"transform-flow-strip-types"
8-
]
2+
"presets": ["es2015"],
3+
"plugins": ["espower"]
94
}

.eslintrc

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

.flowconfig

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

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
node_modules
55
npm-debug.log
66

7-
test/browser/page/*.js
87
lib/
8+
coverage/

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
src/
1+
coverage/

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
language: node_js
2-
sudo: true
2+
sudo: false
33
node_js:
4-
- "6"
5-
- "5"
64
- "4"
7-
env:
8-
- CXX=g++-4.8
5+
- "6"
6+
before_script:
7+
- "export DISPLAY=:99.0"
8+
- "sh -e /etc/init.d/xvfb start"
9+
- sleep 3 # give xvfb some time to start
10+
script: npm run test-ci

CONTRIBUTING.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
First of all, thank you for contributing. It’s appreciated.
1+
We'd highly appreciate your contribution to our source code to make this even better.
22

3-
1. Clone the repo and install dependencies with `npm install`.
4-
2. Make a GitHub issue before doing significant amount of work.
5-
3. Run `npm test` to lint and test. Don’t commit before fixing all errors and warnings.
6-
4. Reference the issue’s number in your commit. E.g.: “Did this #12
7-
5. Make a pull request.
3+
It would be greatly appreciated that when you make commits please use `npm run commit` instead of `git commit` to easily adhere to the commit message format in place.

LICENSE.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,8 @@ The MIT License (MIT)
22

33
Copyright (c) 2016 Tylor Steinberger
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
5+
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:
116

12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
148

15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
9+
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.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Subject interface for [most](https://github.com/cujojs/most)
44

55
## API Documentation
66

7-
To find the API documentation follow [this link](https://tylors.github.io/most-subject/docs)!
7+
To find the API documentation follow [this link](https://tylors.github.io/most-subject/doc)!

0 commit comments

Comments
 (0)