Fix dependecy module to only work with npm (#103)

+ Remove dependency on Bower
+ Make sure we run 'npm install' on all folders
This commit is contained in:
ranbreuer 2016-11-28 16:17:49 +02:00 коммит произвёл GitHub
Родитель e15763f53d
Коммит 0b674d7000
4 изменённых файлов: 42 добавлений и 56 удалений

Просмотреть файл

@ -1,30 +0,0 @@
{
"name": "powerbi-client",
"description": "",
"main": "./dist/powerbi.js",
"authors": [
"Microsoft"
],
"license": "MIT",
"moduleType": [],
"homepage": "https://dev.powerbi.com",
"private": false,
"ignore": [
"**/.*",
"*/.js",
"*/.md",
"*/.nuspec",
"demo",
"node_modules",
"bower_components",
"src",
"test",
"tests",
"tsconfig.json",
"typings.json",
"webpack.test.tsconfig.json"
],
"devDependencies": {
"jquery": "~2.2.0"
}
}

Просмотреть файл

@ -1,26 +0,0 @@
{
"name": "powerbi-client-demo",
"homepage": "https://github.com/Microsoft/PowerBI-JavaScript",
"authors": [
"Microsoft Power BI Team"
],
"description": "Demonstration of embedding powerbi using core library.",
"main": "",
"license": "MIT",
"private": true,
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"fetch": "^1.0.0",
"es6-promise": "^3.2.2",
"bootstrap": "^3.3.6",
"jquery": "^3.1.0",
"powerbi-client": "^2.2.1"
},
"devDependencies": {}
}

41
demo/package.json Normal file
Просмотреть файл

@ -0,0 +1,41 @@
{
"name": "powerbi-client-demo",
"version": "1.0.0",
"description": "Demonstration of embedding Power BI using JavaScript library.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "http-server ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/Microsoft/PowerBI-JavaScript.git"
},
"keywords": [
"microsoft",
"powerbi",
"embedded"
],
"author": "Microsoft",
"license": "MIT",
"bugs": {
"url": "https://github.com/Microsoft/PowerBI-JavaScript/issues"
},
"homepage": "https://github.com/Microsoft/PowerBI-JavaScript/demo",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"fetch": "^1.0.0",
"es6-promise": "^3.2.2",
"bootstrap": "^3.3.6",
"jquery": "^3.1.0",
"powerbi-client": "^2.2.1",
"http-server": "^0.9.0"
},
"devDependencies": {}
}

Просмотреть файл

@ -15,6 +15,7 @@
"start": "http-server ./demo",
"version": "gulp build && git add .",
"prepublish": "typings install && gulp build",
"postinstall": "cd demo && npm install",
"test": "gulp test",
"gulp": "gulp",
"typings": "typings"