make createradar a standalone command

This commit is contained in:
Bastian Ike
2021-01-08 11:07:24 +01:00
committed by Bastian
parent b415f30571
commit 2134a6d62d
7 changed files with 39 additions and 27 deletions

View File

@@ -5,7 +5,8 @@
"private": true,
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build_": "react-scripts build",
"build": "tsc",
"test": "react-scripts test",
"_build": "yarn clean && yarn build:pages && yarn build:jsprod && yarn build:css && yarn build:assets",
"build:all": "yarn build",
@@ -13,6 +14,9 @@
"build:css": "postcss -c postcss.config.js -o dist/techradar/assets/css/styles.css styles/main.css",
"type-check": "tsc --noEmit"
},
"bin": {
"create-radar": "bin/tasks/radarjson.js"
},
"browserslist": {
"production": [
">0.2%",