Skip to content

Commit 0b674d7

Browse files
authored
Fix dependecy module to only work with npm (microsoft#103)
+ Remove dependency on Bower + Make sure we run 'npm install' on all folders
1 parent e15763f commit 0b674d7

4 files changed

Lines changed: 42 additions & 56 deletions

File tree

bower.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

demo/bower.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

demo/package.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"name": "powerbi-client-demo",
3+
"version": "1.0.0",
4+
"description": "Demonstration of embedding Power BI using JavaScript library.",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"start": "http-server ."
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "git+https://github.com/Microsoft/PowerBI-JavaScript.git"
13+
},
14+
"keywords": [
15+
"microsoft",
16+
"powerbi",
17+
"embedded"
18+
],
19+
"author": "Microsoft",
20+
"license": "MIT",
21+
"bugs": {
22+
"url": "https://github.com/Microsoft/PowerBI-JavaScript/issues"
23+
},
24+
"homepage": "https://github.com/Microsoft/PowerBI-JavaScript/demo",
25+
"ignore": [
26+
"**/.*",
27+
"node_modules",
28+
"bower_components",
29+
"test",
30+
"tests"
31+
],
32+
"dependencies": {
33+
"fetch": "^1.0.0",
34+
"es6-promise": "^3.2.2",
35+
"bootstrap": "^3.3.6",
36+
"jquery": "^3.1.0",
37+
"powerbi-client": "^2.2.1",
38+
"http-server": "^0.9.0"
39+
},
40+
"devDependencies": {}
41+
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"start": "http-server ./demo",
1616
"version": "gulp build && git add .",
1717
"prepublish": "typings install && gulp build",
18+
"postinstall": "cd demo && npm install",
1819
"test": "gulp test",
1920
"gulp": "gulp",
2021
"typings": "typings"

0 commit comments

Comments
 (0)