Skip to content

Commit

Permalink
add: npm support
Browse files Browse the repository at this point in the history
  • Loading branch information
FarhadG committed Jun 3, 2016
1 parent 716f00e commit c781b48
Show file tree
Hide file tree
Showing 21 changed files with 18 additions and 10,381 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,2 +1,3 @@
.DS_Store
.idea
.idea
node_modules
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -19,6 +19,12 @@ Click <a href="http://farhadg.github.io/code-mirror-themes/" target="_blank">HER

## Installation

You can install via `npm` and simply refer to the theme you want within the `themes` directory.

```
$ npm i code-mirror-themes --save
```

You can install via `bower` and simply refer to the theme you want within the `themes` directory.

```
Expand Down
File renamed without changes.
12 changes: 6 additions & 6 deletions index.html
Expand Up @@ -12,8 +12,8 @@
<!--****************************************************************************
* Demo specific stylesheets
*-->
<link rel='stylesheet' href='./lib/codemirror.css'>
<link rel='stylesheet' href='./lib/demo.css'>
<link rel='stylesheet' href='./node_modules/codemirror/lib/codemirror.css'>
<link rel='stylesheet' href='./demo.css'>

<!--****************************************************************************
* CodeMirror Theme Styles
Expand Down Expand Up @@ -125,10 +125,10 @@
<!--****************************************************************************
* Demo specific scripts
*-->
<script src='./lib/codemirror.js'></script>
<script src='./lib/javascript/javascript.js'></script>
<script src='./lib/selection/active-line.js'></script>
<script src='./lib/edit/matchbrackets.js'></script>
<script src='./node_modules/codemirror/lib/codemirror.js'></script>
<script src='./node_modules/codemirror/mode/javascript/javascript.js'></script>
<script src='./node_modules/codemirror/addon/selection/active-line.js'></script>
<script src='./node_modules/codemirror/addon/edit/matchbrackets.js'></script>

</head>
<body>
Expand Down
309 changes: 0 additions & 309 deletions lib/codemirror.css

This file was deleted.

0 comments on commit c781b48

Please sign in to comment.