Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //TSCONFIG
- {
- "compilerOptions": {
- "outDir": "dist_react",
- "module": "commonjs",
- "target": "es6",
- "lib": ["es6", "dom","esnext"],
- "sourceMap": true,
- "allowJs": true,
- "allowSyntheticDefaultImports": true,
- "jsx": "react",
- "experimentalDecorators": true,
- "moduleResolution": "node",
- "forceConsistentCasingInFileNames": true,
- "noImplicitReturns": false,
- "noImplicitThis": false,
- "noImplicitAny": false,
- "strictNullChecks": false,
- "suppressImplicitAnyIndexErrors": true,
- "noUnusedLocals": false,
- "experimentalDecorators": true,
- "rootDir" : "../",
- "baseUrl" : "./",
- "paths": {
- "*" : ["node_modules/@types/*", "*"]
- }
- },
- "exclude": [
- "node_modules",
- "node",
- "dist-node",
- "dist-react"
- ],
- "types": [
- "types"
- ]
- }
- PACKAGEJSON
- {
- "name": "app",
- "version": "0.1.0",
- "private": true,
- "description": "",
- "author": "Peetu Nuottajärvi",
- "proxy": "http://localhost:3000",
- "dependencies": {
- "@types/body-parser": "^1.16.2",
- "@types/compression": "0.0.33",
- "@types/dotenv": "^2.0.20",
- "@types/errorhandler": "0.0.30",
- "@types/express": "^4.0.35",
- "@types/express-session": "0.0.32",
- "@types/morgan": "^1.7.32",
- "@types/node": "^8.0.6",
- "@types/react": "^15.0.32",
- "@types/react-dom": "^15.5.1",
- "@types/react-redux": "^4.4.45",
- "@types/react-router": "^4.0.11",
- "@types/react-router-dom": "^4.0.4",
- "@types/redux": "^3.6.0",
- "@types/redux-actions": "^1.2.6",
- "autoprefixer": "7.1.0",
- "body-parser": "^1.15.2",
- "case-sensitive-paths-webpack-plugin": "2.0.0",
- "chalk": "^1.1.3",
- "clear-console": "^1.1.0",
- "compression": "^1.6.2",
- "css-loader": "0.28.1",
- "errorhandler": "^1.4.3",
- "express": "^4.14.0",
- "express-flash": "^0.0.2",
- "express-session": "^1.14.2",
- "express-validator": "^3.1.3",
- "jsonwebtoken": "^8.0.1",
- "latest-createjs": "^1.0.24",
- "lusca": "^1.4.1",
- "mongoose": "^4.11.13",
- "morgan": "^1.7.0",
- "node-sass": "^4.5.3",
- "passport": "^0.4.0",
- "passport-jwt": "^3.0.0",
- "react": "^15.6.1",
- "react-dom": "^15.6.1",
- "react-modal": "^3.0.0",
- "react-redux": "^5.0.5",
- "react-router-dom": "^4.1.1",
- "recorderjs": "^1.0.1",
- "redux": "^3.7.1",
- "redux-actions": "^2.0.3",
- "sass-loader": "^6.0.6",
- "superagent": "^3.6.1",
- "typescript": "^2.3.3"
- },
- "devDependencies": {
- "@types/jest": "^20.0.0",
- "@types/supertest": "^2.0.0",
- "concurrently": "^3.4.0",
- "dotenv": "^4.0.0",
- "extract-text-webpack-plugin": "2.1.0",
- "file-loader": "0.11.1",
- "fs-extra": "3.0.1",
- "html-webpack-plugin": "2.28.0",
- "jest": "20.0.3",
- "nodemon": "1.11.0",
- "object-assign": "4.1.1",
- "postcss-flexbugs-fixes": "3.0.0",
- "postcss-loader": "2.0.5",
- "promise": "7.1.1",
- "react-dev-utils": "^2.0.1",
- "react-error-overlay": "^1.0.6",
- "source-map-loader": "^0.2.1",
- "style-loader": "0.17.0",
- "supertest": "^2.0.1",
- "sw-precache-webpack-plugin": "0.9.1",
- "ts-jest": "^19.0.8",
- "ts-loader": "^2.0.3",
- "tslint": "^5.2.0",
- "tslint-loader": "^3.5.3",
- "tslint-react": "^3.0.0",
- "url-loader": "0.5.8",
- "webpack": "2.6.0",
- "webpack-dev-server": "2.4.5",
- "webpack-manifest-plugin": "1.1.0",
- "whatwg-fetch": "2.0.3"
- },
- "scripts": {
- "start": "npm run build && node dist-node/server.js",
- "build": "npm run react-build && npm run node-build",
- "rstart": "node react/config/scripts/start.js -s",
- "nstart": "npm run node-start -s",
- "test": "jest",
- "react-clean": "if [ -d dist-react ]; then rm -rf dist-react; fi",
- "react-build": "node react/config/scripts/build.js",
- "react-test": "jest react",
- "node-start": "npm run node-build && npm run node-watch",
- "node-build": "npm run node-build-ts",
- "node-build-ts": "tsc --p node/config/tsconfig.json",
- "node-lint": "tslint -c tslint.json -p node/config/tsconfig.json",
- "node-watch": "concurrently -k -p \"[{name}]\" -n \"Type,Node\" -c \"cyan.bold,green.bold\" \"npm run node-watch-ts\" \"nodemon dist-node/server.js -q\" --kill-others",
- "node-watch-ts": "tsc -w --p node/config/tsconfig.json",
- "node-test": "jest node"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement