Skip to content
This repository has been archived by the owner on Sep 7, 2018. It is now read-only.

Provide single entry point #12

Open
lifenautjoe opened this issue Apr 8, 2016 · 3 comments
Open

Provide single entry point #12

lifenautjoe opened this issue Apr 8, 2016 · 3 comments

Comments

@lifenautjoe
Copy link

There is no entry point for the package, consider doing what is being done at test/module.ts as entry point for the module

@ulfryk
Copy link
Owner

ulfryk commented Apr 8, 2016

Can you explain more precisely?

@lifenautjoe
Copy link
Author

There is no package.json main attribute to the module name, meaning it cannot be used as

import angularTypescript = require('angular-typescript');

or even better (if ambient declaration files were provided)

import {controller} from 'angular-typescript';

Not really sure if this can be accomplished with raw .ts files, I know it can with compiled files and ambient declaration files (from the other closed issue), I'll fork the project, do it over there and submit a PR, if you don't agree with what is done, I'll just make it a separate npm module

@ulfryk
Copy link
Owner

ulfryk commented Apr 8, 2016

Ok, great - waiting for your proposition :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants