@digest/typescript

Digested TypeScript configurations

Stats

StarsIssuesVersionUpdatedCreatedSize
@digest/typescript
3.1.78 months ago3 years agoMinified + gzip package size for @digest/typescript in KB

Readme

Digest Crane

@digest/typescript

Commitizen Friendly Semantic Release
Build Status Coverage Report NPM Version License Canonical Code Style

@digest/typescript provides the required TypeScript dependencies and tsconfig.json. For use with @digest/webpack, you are probably looking for @digest/webpack-typescript.

You must still include a tsconfig.json in your project. It can then extend the provided @digest/typescript/src/tsconfig.json:

"/tsconfig.json"

{
    "extends": "node_modules/@digest/typescript/src/tsconfig.json"
}

It also includes some helpful definitions in node_modules/@digest/typescript/src/shared.d.ts. These can't be extended but can be copied. They are also provided below for convenience:

/* Place inside your /src/global.d.ts */

declare module '*.css';
declare module '*.scss';

declare var System: {
    import: any
};

declare module "*.json" {
        const value: any;
        export default value;
}

declare var BUILD: {
    DATE: Date;
}

License

GPLv3

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.