Skip to content

Commit 85abcd7

Browse files
committed
build updates and readme updates
1 parent 049acdd commit 85abcd7

File tree

2 files changed

+14
-21
lines changed

2 files changed

+14
-21
lines changed

README.md

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,36 +7,27 @@
77
88
## Install
99

10-
This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `octicons` with this command.
11-
12-
```
13-
$ npm install --save octicons
14-
```
15-
16-
17-
This repository contains the syntax highlighting theme used on github.com and
18-
gist.github.com. It is made available as a CSS stylesheet,
19-
[Ace](http://ace.c9.io) stylesheet, Atom theme, and TextMate bundle.
20-
21-
## Installing
10+
All of the built themes in this package are distributed at separate repositories. It's recommended that you install one of these if you're looking for a specific theme.
2211

2312
### CSS
13+
- [github-syntax-light]()
14+
- [github-syntax-dark]()
2415

25-
The `.css` files can be used directly in a website.
16+
### Ace
17+
- [github-ace-light]()
18+
- [github-ace-dark]()
2619

2720
### Atom
28-
29-
$ ln -s $(pwd)/atom/github-light ~/.atom/themes/github-light
21+
- [github-light-syntax]()
22+
- [github-dark-syntax]()
3023

3124
### TextMate
25+
- [github-textmate-light]()
26+
- [github-textmate-dark]()
3227

33-
Double-click the `.tmbundle` file.
3428

3529
## Development
3630

37-
$ script/bootstrap
38-
$ script/generate
31+
## License
3932

40-
`script/generate` takes the theme definition in the JSON file and converts it
41-
to the various output formats. Don't modify the generated files directly;
42-
instead, modify the JSON file and run `script/generate` again.
33+
[MIT](./LICENSE) © [GitHub](https://github.com/)

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"url": "https://github.com/primer/github-syntax-theme-generator/issues"
1717
},
1818
"scripts": {
19+
"setup": "if [ ! -d \"node_modules\" ]; then npm install; fi",
1920
"build": "node index.js",
21+
"prepublish": "npm run setup && npm run build",
2022
"test": ""
2123
},
2224
"devDependencies": {

0 commit comments

Comments
 (0)