unify bin scriptnames
This commit is contained in:
14
README.md
14
README.md
@@ -26,12 +26,12 @@ yarn add https://github.com/aoepeople/aoe_technology_radar.git
|
|||||||
|
|
||||||
Generate json file based on md files
|
Generate json file based on md files
|
||||||
```
|
```
|
||||||
yarn aoe_technology_radar:generateJson
|
yarn aoe_technology_radar-generateJson
|
||||||
```
|
```
|
||||||
|
|
||||||
Build the radar
|
Build the radar
|
||||||
```
|
```
|
||||||
yarn aoe_technology_radar:buildRadar
|
yarn aoe_technology_radar-buildRadar
|
||||||
```
|
```
|
||||||
|
|
||||||
Serve
|
Serve
|
||||||
@@ -49,9 +49,9 @@ In most cases you have the techradar available at `/techradar`, and for reasons
|
|||||||
Until this setup improves, you can use the following way to generate the correct techradar:
|
Until this setup improves, you can use the following way to generate the correct techradar:
|
||||||
|
|
||||||
```
|
```
|
||||||
yarn aoe_technology_radar:generateJson
|
yarn aoe_technology_radar-generateJson
|
||||||
PUBLIC_URL=/techradar yarn aoe_technology_radar:buildRadar
|
PUBLIC_URL=/techradar yarn aoe_technology_radar-buildRadar
|
||||||
yarn aoe_technology_radar:createStaticFiles
|
yarn aoe_technology_radar-createStaticFiles
|
||||||
cp -r build techradar
|
cp -r build techradar
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -116,4 +116,6 @@ merged with the old ones, and a new history entry is created for that item.
|
|||||||
* prettier on all files
|
* prettier on all files
|
||||||
* check lint staged and prettier
|
* check lint staged and prettier
|
||||||
* convert scripts to typescript as well
|
* convert scripts to typescript as well
|
||||||
** move scripts paths.js and tasks in one folder
|
** move scripts paths.js and tasks in one folder
|
||||||
|
* Rename package to make more clear that this is a tech radar builder?
|
||||||
|
* provide only one bin script with subcommands like react-scripts?
|
||||||
@@ -10,9 +10,9 @@
|
|||||||
"url": "https://github.com/AOEpeople/aoe_technology_radar.git"
|
"url": "https://github.com/AOEpeople/aoe_technology_radar.git"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"aoe_technology_radar:generateJson": "scripts/generateJson.js",
|
"aoe_technology_radar-generateJson": "scripts/generateJson.js",
|
||||||
"aoe_technology_radar:buildRadar": "scripts/buildRadar.js",
|
"aoe_technology_radar-buildRadar": "scripts/buildRadar.js",
|
||||||
"aoe_technology_radar:createStaticFiles": "bin/tasks/create-static.js"
|
"aoe_technology_radar-createStaticFiles": "bin/tasks/create-static.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "husky install && yarn build:tasks && yarn build",
|
"prepare": "husky install && yarn build:tasks && yarn build",
|
||||||
|
|||||||
Reference in New Issue
Block a user