-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where are the docs for writing a typings.json file? #27
Comments
See this repo for reference: https://github.com/aurelia/typings We'd like to enable someone to install that repo with typings and get all the dts files in the dist folder. I'm just not sure how to author the typings file correctly for this scenario. |
@EisenbergEffect There is a section here: https://github.com/typings/typings/blob/master/docs/faq.md#writing-typings-definitions. Here's the definition for |
It works for me, here is an example. {
"name": "webgme",
"main": "webgme.d.ts",
"files": [
"./blobjs.d.ts",
"./pluginjs.d.ts",
"./webgme.d.ts",
"./webgmeV1.d.ts"],
"global": true,
"dependencies": {
},
"devDependencies": {},
"globalDependencies": {
"q": "registry:dt/q#0.0.0+20160613154756"
},
"globalDevDependencies": {
}
} The git repository has each of the *.d.ts files. |
@phreed Thanks! |
I've been poking around but can't seem to find the documentation for writings
typings.json
files. I've got some basics in place but need to do something a bit different. I need a repo to not have amain
but instead a list of d.ts files that it exports. I'm thinking I could add afiles
property and list them, but I can't find any docs to confirm that.The text was updated successfully, but these errors were encountered: