Skip to content

Commit 576b288

Browse files
committed
Fix clean and adjust README
1 parent 2b06369 commit 576b288

File tree

4 files changed

+221
-7
lines changed

4 files changed

+221
-7
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# generator-typescript-react
2-
[![CircleCI](https://img.shields.io/circleci/token/TOKEN/project/github/nomcopter/generator-typescript-react/master.svg)](https://circleci.com/gh/nomcopter/generator-typescript-react)
2+
[![CircleCI](https://img.shields.io/circleci/project/github/nomcopter/generator-typescript-react/master.svg)](https://circleci.com/gh/nomcopter/generator-typescript-react)
33
[![npm](https://img.shields.io/npm/v/generator-typescript-react.svg)](https://www.npmjs.com/package/generator-typescript-react)
44

55
An opinionated Yeoman Generator for a Typescript + React ready build system.

generators/app/templates/_README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# <%= humanReadableName %>
2-
[![CircleCI](https://img.shields.io/circleci/token/TOKEN/project/github/ORGANIZATION/<%= kebabCaseName %>/master.svg)](https://circleci.com/gh/ORGANIZATION/<%= kebabCaseName %>)
2+
[![CircleCI](https://img.shields.io/circleci/project/github/ORGANIZATION/<%= kebabCaseName %>/master.svg)](https://circleci.com/gh/ORGANIZATION/<%= kebabCaseName %>)
33
[![npm](https://img.shields.io/npm/v/<%= kebabCaseName %>.svg)](https://www.npmjs.com/package/<%= kebabCaseName %>)
44

55
## Usage

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
},
1010
"scripts": {
1111
"build": "tsc",
12-
"clean": "rm generators/app/index.js",
13-
"test": "npm run clean && npm run build"
12+
"clean": "rm -f generators/app/index.js",
13+
"test": "npm-run-all clean build"
1414
},
1515
"files": [
1616
"generators"
@@ -25,6 +25,7 @@
2525
"devDependencies": {
2626
"@types/lodash": "^4.14.77",
2727
"lodash": "^4.17.4",
28+
"npm-run-all": "^4.1.1",
2829
"typescript": "^2.5.3"
2930
}
3031
}

0 commit comments

Comments
 (0)