Updated to generate js files on post npm install
This commit is contained in:
Родитель
2bd936bfab
Коммит
b8864bf8bc
|
@ -0,0 +1,11 @@
|
|||
// Place your settings in this file to overwrite default and user settings.
|
||||
{
|
||||
"files.exclude": {
|
||||
"**/.git": true,
|
||||
"**/.DS_Store": true,
|
||||
"**/*.js.map": true,
|
||||
"**/*.js": {
|
||||
"when": "$(basename).ts"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
"use strict";
|
||||
function __export(m) {
|
||||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||
}
|
||||
__export(require('./client/powerBIClient'));
|
||||
__export(require('./core/powerBIToken'));
|
||||
__export(require('./core/util'));
|
|
@ -5,7 +5,8 @@
|
|||
"main": "./lib/index.js",
|
||||
"typings": "./lib/index.d.ts",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "mocha --recursive",
|
||||
"postinstall": "typings install && tsc"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -1,10 +1,16 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"allowJs": true,
|
||||
"declaration": true
|
||||
"target": "es5",
|
||||
"allowJs": false,
|
||||
"declaration": true,
|
||||
"moduleResolution": "node",
|
||||
"sourceMap": true
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
"node_modules",
|
||||
"lib/autorest",
|
||||
"typings/browser.d.ts",
|
||||
"typings/browser"
|
||||
]
|
||||
}
|
|
@ -1,9 +1,8 @@
|
|||
{
|
||||
"ambientDependencies": {
|
||||
"chai": "registry:dt/chai#3.4.0+20160317120654",
|
||||
"jwt-simple": "registry:dt/jwt-simple#0.2.0+20160316155526",
|
||||
"mocha": "registry:dt/mocha#2.2.5+20160317120654",
|
||||
"node": "registry:dt/node#4.0.0+20160412142033"
|
||||
},
|
||||
"devDependencies": {
|
||||
"chai": "registry:npm/chai#3.5.0+20160415060238"
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче