diff --git a/package.json b/package.json index 1144000..5ea2fa6 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "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": "yarn run ts-node ./src/radarjson.ts", + "build:pages": "yarn run ts-node-script ./tasks/radarjson.ts", "build:css": "postcss -c postcss.config.js -o dist/techradar/assets/css/styles.css styles/main.css", "type-check": "tsc --noEmit" }, diff --git a/tasks/tsconfig.json b/tasks/tsconfig.json new file mode 100644 index 0000000..67e365d --- /dev/null +++ b/tasks/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "target": "es5", + "module": "commonjs", + "lib": ["es6", "es2015", "dom"], + "declaration": true, + "strict": true, + "types": ["node"], + "esModuleInterop": true, + "resolveJsonModule": true + } +}