Skip to content

Commit

Permalink
fix: 移除 bower
Browse files Browse the repository at this point in the history
  • Loading branch information
Dafrok committed Aug 28, 2018
1 parent aa94434 commit 1328000
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 40 deletions.
34 changes: 0 additions & 34 deletions bower.json

This file was deleted.

4 changes: 2 additions & 2 deletions dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
</style>

<script type="text/javascript" src="bower_components/kity/dist/kity.js"></script>
<script type="text/javascript" src="node_modules/kity/dist/kity.js"></script>
</head>
<body>
<script id="minder-view" type="application/kityminder" minder-data-type="json">
Expand Down Expand Up @@ -53,7 +53,7 @@
</body>

<!-- *************************** Module 形式加载引入 **************************** -->
<script type="text/javascript" src="bower_components/seajs/dist/sea-debug.js"></script>
<script type="text/javascript" src="node_modules/seajs/dist/sea-debug.js"></script>
<script type="text/javascript">
/* global seajs */
seajs.config({
Expand Down
2 changes: 1 addition & 1 deletion example.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}
</style>

<script type="text/javascript" src="bower_components/kity/dist/kity.min.js"></script>
<script type="text/javascript" src="node_modules/kity/dist/kity.min.js"></script>
</head>
<body>
<script id="minder-view" type="application/kityminder" minder-data-type="json">
Expand Down
14 changes: 12 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@
"url": "https://github.com/fex-team/kityminder-core/blob/dev/LICENSE"
}
],
"dependencies": {},
"dependencies": {
"kity": "^2.0.4",
"seajs": "^2.3.0"
},
"devDependencies": {
"cz-conventional-changelog": "^1.1.5",
"grunt": "~0.4.1",
Expand Down

0 comments on commit 1328000

Please sign in to comment.