Skip to content

Commit 2736928

Browse files
committed
Update readme
1 parent d30a069 commit 2736928

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ JSX components and .css files are plagiarized from [https://github.com/css-modul
77
## Install and build
88

99
```sh
10+
npm install -g typescript browserify typed-css-modules
1011
npm install
1112
npm run build
1213
```
@@ -15,5 +16,9 @@ And open `dist/index.html`.
1516

1617
## Re-generate .css.d.ts
1718

19+
```sh
20+
npm run dts
21+
```
22+
1823
## License
1924
MIT

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
"brfs": "git://github.com/joshwnj/brfs.git#ignore-option",
3434
"browserify": "^13.0.0",
3535
"css-modulesify": "^0.16.1",
36-
"del": "^2.2.0"
36+
"del": "^2.2.0",
37+
"typed-css-modules": "^0.1.6",
38+
"typescript": "^1.7.5"
3739
},
3840
"browserify": {
3941
"transform": [

0 commit comments

Comments
 (0)