use typescript

This commit is contained in:
Bastian Ike
2020-07-16 11:07:42 +02:00
committed by Bastian
parent 442d964180
commit be0241674c
93 changed files with 9750 additions and 2190 deletions

View File

@@ -1,37 +1,51 @@
{
"name": "aoe_technology_radar",
"version": "1.0.0",
"description": "",
"main": "index.js",
"version": "2.0.0",
"description": "AOE Technology Radar",
"private": true,
"scripts": {
"build": "yarn clean && yarn build:pages && yarn build:jsprod && yarn build:css && yarn build:assets",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"_build": "yarn clean && yarn build:pages && yarn build:jsprod && yarn build:css && yarn build:assets",
"build:all": "yarn build",
"build:pages": "cross-env RENDER_MODE=server babel-node ./tasks/build.js",
"build:js": "cross-env RENDER_MODE=client webpack --config webpack.config.js",
"build:jsprod": "cross-env RENDER_MODE=client webpack -p --config webpack.config.js",
"build:pages": "yarn run ts-node ./src/radarjson.ts",
"build:css": "postcss -c postcss.config.js -o dist/techradar/assets/css/styles.css styles/main.css",
"build:assets": "babel-node ./tasks/assets.js",
"watch": "babel-node ./tasks/watch.js",
"clean": "babel-node ./tasks/clean.js",
"test": "echo \"Error: no test specified\" && exit 1"
"type-check": "tsc --noEmit"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"author": "AOE GmbH <contact-de@aoe.com> (http://www.aoe.com)",
"license": "Apache-2.0",
"dependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/node": "^7.10.5",
"@babel/polyfill": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"autoprefixer": "7.1.6",
"babel-loader": "^8.1.0",
"classnames": "2.2.5",
"cross-env": "^5.1.1",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/classnames": "^2.2.10",
"@types/fs-extra": "^9.0.1",
"@types/highlight.js": "^9.12.4",
"@types/jest": "^24.0.0",
"@types/marked": "^1.1.0",
"@types/node": "^12.0.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@types/react-router-dom": "^5.1.5",
"@types/walk": "^2.3.0",
"classnames": "^2.2.6",
"css-mqpacker": "^6.0.1",
"csstype": "^2.6.11",
"front-matter": "2.3.0",
"fs-extra": "4.0.2",
"fs-extra": "^9.0.1",
"highlight.js": "9.12.0",
"history": "4.7.2",
"live-server": "1.2.1",
@@ -42,12 +56,16 @@
"postcss-custom-media": "^6.0.0",
"postcss-easy-import": "3.0.0",
"postcss-nested": "2.1.2",
"react": "16.1.1",
"react": "^16.13.1",
"react-dom": "16.12.0",
"react-redux": "5.0.6",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-scripts": "3.4.1",
"redux": "3.7.2",
"walk": "2.3.9",
"webpack": "3.8.1"
"ts-loader": "^8.0.1",
"ts-node": "^8.10.2",
"typescript": "^3.9.6",
"walk": "2.3.9"
},
"repository": {
"type": "git",