This repository has been archived by the owner on Dec 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: no more async, simplify module resolution
- Loading branch information
1 parent
97e0b9c
commit a8e867e
Showing
15 changed files
with
1,542 additions
and
1,504 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 |
---|---|---|
|
@@ -2,18 +2,16 @@ | |
"name": "awesome-typescript-loader", | ||
"version": "1.1.1", | ||
"description": "Awesome TS loader for webpack", | ||
"main": "dist.babel/entry.js", | ||
"main": "dist/entry.js", | ||
"scripts": { | ||
"prepublish": "npm run test && grunt", | ||
"pretest": "npm run build", | ||
"test": "mocha dist.babel/test", | ||
"watch": "npm run watch:ts && npm run watch:babel", | ||
"watch:ts": "npm run build:ts -- --watch --diagnostics", | ||
"watch:babel": "npm run build:babel -- --watch", | ||
"prebuild": "npm run lint", | ||
"build": "npm run build:ts && npm run build:babel", | ||
"build:ts": "tsc -p src --pretty", | ||
"build:babel": "babel dist -d dist.babel", | ||
"lint": "tslint src/*.ts" | ||
}, | ||
"author": "Stanislav Panferov <[email protected]> (http://panferov.me/)", | ||
|
@@ -42,11 +40,6 @@ | |
"source-map-support": "^0.4.0" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "^6.3.17", | ||
"babel-core": "^6.7.4", | ||
"babel-preset-es2015": "^6.1.2", | ||
"babel-preset-es2015-node4": "^2.1.0", | ||
"babel-preset-stage-2": "^6.1.2", | ||
"bluebird": "^3.3.3", | ||
"chai": "^3.5.0", | ||
"git-hooks": "^1.0.2", | ||
|
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 |
---|---|---|
@@ -1,37 +0,0 @@ | ||
declare module "pinkie-promise" { | ||
let promise: typeof Promise; | ||
export = promise; | ||
} | ||
|
||
declare module "es6-promisify" { | ||
let promise: (foo) => Promise<any>; | ||
export = promise; | ||
} | ||
|
||
declare module 'tsconfig' { | ||
export interface CompilerOptions { | ||
[key: string]: any; | ||
} | ||
export interface TSConfig { | ||
compilerOptions?: CompilerOptions; | ||
files?: string[]; | ||
exclude?: string[]; | ||
filesGlob?: string[]; | ||
[key: string]: any; | ||
} | ||
export interface Options { | ||
compilerOptions?: CompilerOptions; | ||
filterDefinitions?: boolean; | ||
resolvePaths?: boolean; | ||
} | ||
export function resolve(dir: string): Promise<string>; | ||
export function resolveSync(dir: string): string; | ||
export function load(dir: string, options?: Options): Promise<TSConfig>; | ||
export function loadSync(dir: string, options?: Options): TSConfig; | ||
export function readFile(filename: string, options?: Options): Promise<{}>; | ||
export function readFileSync(filename: string, options?: Options): TSConfig; | ||
export function parseFile(contents: string, filename: string, options?: Options): Promise<TSConfig>; | ||
export function parseFileSync(contents: string, filename: string, options?: Options): TSConfig; | ||
export function resolveConfig(data: TSConfig, filename: string, options?: Options): Promise<TSConfig>; | ||
export function resolveConfigSync(data: TSConfig, filename: string, options?: Options): TSConfig; | ||
} | ||
Oops, something went wrong.