Skip to content

Commit d5605e1

Browse files
committed
Initial commit
0 parents  commit d5605e1

File tree

8 files changed

+99
-0
lines changed

8 files changed

+99
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.idea
2+
node_modules
3+
*.log
4+
lib
5+
typings

.npmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.idea
2+
node_modules
3+
*.log
4+
typings

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: node_js
2+
sudo: false
3+
node_js:
4+
- 6
5+
6+
cache:
7+
directories:
8+
- node_modules
9+
10+
script:
11+
- npm i -g typings
12+
- typings install
13+
- npm run transpile
14+
15+
deploy:
16+
provider: npm
17+
18+
api_key: $NPM_API_KEY
19+
on:
20+
tags: true
21+
repo: olegman/react-router-async

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Oleg Martynov
4+
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:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
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.

package.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "react-router-async",
3+
"version": "0.0.1",
4+
"author": {
5+
"name": "Oleg Martynov",
6+
"email": "[email protected]"
7+
},
8+
"bugs": {
9+
"url": "https://github.com/olegman/react-router-async/issues"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/olegman/react-router-async.git"
14+
},
15+
"license": "MIT",
16+
"main": "lib/index.js",
17+
"typings": "lib/index.d.ts",
18+
"scripts": {
19+
"clean": "rm -rf lib",
20+
"watch": "npm run clean && tsc -p . --watch",
21+
"transpile": "npm run clean && tsc -p .",
22+
"tsc": "tsc"
23+
},
24+
"devDependencies": {
25+
"typescript": "next"
26+
}
27+
}

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('nooooop');

tsconfig.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "commonjs",
5+
"outDir": "./lib",
6+
"declaration": true
7+
},
8+
"include": [
9+
"src/**/*",
10+
"typings/index.d.ts"
11+
],
12+
"exclude": [
13+
"node_modules"
14+
]
15+
}

typings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"globalDependencies": {
3+
"es2015": "registry:env/es2015#1.0.0+20160526151700"
4+
}
5+
}

0 commit comments

Comments
 (0)