-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #134 from postlight/api-docs
- Loading branch information
Showing
214 changed files
with
6,174 additions
and
3,105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"presets": [ | ||
"es2015", | ||
"stage-1" | ||
"lux" | ||
], | ||
"plugins": [ | ||
"transform-runtime", | ||
"transform-decorators-legacy" | ||
"syntax-flow", | ||
"syntax-trailing-function-commas", | ||
"transform-flow-strip-types" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ test/* | |
node_modules/* | ||
|
||
# misc | ||
decl/* | ||
examples/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[libs] | ||
decl | ||
|
||
[ignore] | ||
.*/dist/.* | ||
.*/docs/.* | ||
.*/examples/.* | ||
.*/node_modules/.* | ||
.*/test/.* | ||
|
||
[options] | ||
esproposal.class_instance_fields=enable | ||
esproposal.class_static_fields=enable | ||
|
||
unsafe.enable_getters_and_setters=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,6 @@ sudo: true | |
language: node_js | ||
|
||
node_js: | ||
- '4' | ||
- '5' | ||
- '6' | ||
|
||
services: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import json from 'rollup-plugin-json'; | ||
import babel from 'rollup-plugin-babel'; | ||
import eslint from 'rollup-plugin-eslint'; | ||
import commonjs from 'rollup-plugin-commonjs'; | ||
import nodeResolve from 'rollup-plugin-node-resolve'; | ||
import { readdirSync } from 'fs'; | ||
import { join as joinPath } from 'path'; | ||
|
||
export default { | ||
external: readdirSync(joinPath(__dirname, '../node_modules')), | ||
sourceMap: true, | ||
|
||
banner: | ||
'require(\'source-map-support\').install();\n' + | ||
'const external = require;\n', | ||
|
||
plugins: [ | ||
json(), | ||
|
||
commonjs({ | ||
include: joinPath(__dirname, '../node_modules/**'), | ||
ignoreGlobal: true | ||
}), | ||
|
||
nodeResolve({ | ||
preferBuiltins: true | ||
}), | ||
|
||
eslint({ | ||
throwError: true, | ||
|
||
exclude: [ | ||
joinPath(__dirname, '../node_modules/**'), | ||
joinPath(__dirname, '../package.json') | ||
] | ||
}), | ||
|
||
babel() | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import babel from 'rollup-plugin-babel'; | ||
import commonjs from 'rollup-plugin-commonjs'; | ||
import multiEntry from 'rollup-plugin-multi-entry'; | ||
import nodeResolve from 'rollup-plugin-node-resolve'; | ||
import { readdirSync } from 'fs'; | ||
import { join as joinPath } from 'path'; | ||
|
||
export default { | ||
banner: 'require(\'source-map-support\').install();\n', | ||
sourceMap: true, | ||
|
||
entry: [ | ||
joinPath(__dirname, '../test/index.js'), | ||
joinPath(__dirname, '../test/unit/**/*.js'), | ||
joinPath(__dirname, '../test/integration/**/*.js'), | ||
], | ||
|
||
external: [ | ||
...readdirSync(joinPath(__dirname, '../node_modules')), | ||
...readdirSync(joinPath(__dirname, '../test/test-app/node_modules')), | ||
joinPath(__dirname, '../test/test-app/dist/boot.js'), | ||
joinPath(__dirname, '../test/test-app/dist/bundle.js') | ||
], | ||
|
||
plugins: [ | ||
commonjs({ | ||
include: joinPath(__dirname, '../node_modules/**'), | ||
ignoreGlobal: true | ||
}), | ||
|
||
nodeResolve({ | ||
preferBuiltins: true | ||
}), | ||
|
||
babel(), | ||
|
||
multiEntry() | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
declare module 'ansi-regex' { | ||
declare function ansiregex(): RegExp; | ||
declare var exports: ansiregex; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
declare module 'bluebird' { | ||
declare var exports: typeof Promise; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
declare module 'chalk' { | ||
declare function cyan(source: string): string; | ||
declare function dim(source: string): string; | ||
declare function green(source: string): string; | ||
declare function red(source: string): string; | ||
declare function yellow(source: string): string; | ||
} |
Oops, something went wrong.