{ "name": "web2.0-frontend", "version": "0.1.0", "description": "Web 2.0 Frontend. React, Typescript.", "repository": { "type": "git", "url": "https://gitlab.com/sahkoinsinoorikilta/vtmk/web2.0-frontend.git" }, "keywords": [ "react", "webpack", "typescript", "babel", "sass", "hmr", "starter", "boilerplate" ], "author": "Jan Tuomi", "license": "MIT", "homepage": "https://sik.ayy.fi", "scripts": { "build": "NODE_ENV=production npm-run-all build:client build:server", "build:server": "webpack -p --config=configs/webpack/prod.js --env.platform=server", "build:client": "webpack -p --config=configs/webpack/prod.js --env.platform=client", "lint": "npm run lint:ts && npm run lint:sass", "lint:ts": "tslint -p tsconfig.json --format stylish --exclude node_modules", "lint:ts:fix": "tslint -p tsconfig.json --format stylish --exclude node_modules --fix", "lint:es": "eslint './src/**/*.ts*'", "lint:es:fix": "eslint --fix './src/**/*.ts*'", "lint:sass": "stylelint ./src/**/**/*.scss ./src/**/*.scss ./src/*.scss", "start": "npm run start-dev", "start-dev": "webpack-dev-server --config=configs/webpack/dev.js", "serve": "node dist/js/server.js", "start-prod": "npm run build && npm run serve", "mock-backend": "json-server --watch db.json -H 0.0.0.0 -p 1234", "test": "npm-run-all lint test:e2e", "test:e2e": "npm-run-all -s build test:e2e:run", "test:e2e:run": "npm-run-all -p -r serve test:e2e:testcafe", "test:e2e:testcafe": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome tests/testcafe", "plop": "plop" }, "husky": { "hooks": { "pre-push": "npm run test" } }, "devDependencies": { "@types/node": "^10.14.7", "@types/react": "^16.8.18", "@types/react-dom": "^16.8.4", "@typescript-eslint/eslint-plugin": "^1.11.0", "@typescript-eslint/parser": "^1.11.0", "awesome-typescript-loader": "^5.2.1", "babel-cli": "^6.26.0", "babel-core": "^6.26.3", "babel-loader": "^7.1.5", "babel-preset-env": "^1.7.0", "babel-preset-minify": "^0.4.3", "babel-preset-react": "^6.24.1", "compression": "^1.7.4", "css-loader": "^2.1.1", "dotenv": "^6.2.0", "dotenv-webpack": "^1.7.0", "eslint": "^6.0.1", "eslint-config-standard": "^12.0.0", "eslint-plugin-import": "^2.18.0", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-node": "^9.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-react": "^7.14.2", "eslint-plugin-standard": "^4.0.0", "express": "^4.17.0", "favicons-webpack-plugin": "0.0.9", "file-loader": "^1.1.11", "fs-extra": "^6.0.1", "helmet": "^3.18.0", "html-webpack-plugin": "^3.2.0", "husky": "^1.3.1", "image-webpack-loader": "^4.6.0", "json-server": "^0.14.2", "mini-css-extract-plugin": "^0.4.5", "module-to-cdn": "^3.1.2", "morgan": "^1.9.1", "node-sass": "^4.12.0", "npm-run-all": "^4.1.5", "plop": "^2.3.0", "postcss-loader": "^2.1.6", "react": "^16.8.6", "react-addons-test-utils": "^15.6.2", "react-dom": "^16.8.6", "react-hot-loader": "^4.8.8", "sass-loader": "^7.1.0", "serve": "^9.6.0", "style-loader": "^0.21.0", "stylelint": "^9.10.1", "stylelint-config-recommended-scss": "^3.3.0", "stylelint-config-standard": "^18.3.0", "stylelint-scss": "^3.8.0", "stylelint-webpack-plugin": "^0.10.5", "testcafe": "^1.1.4", "testcafe-react-selectors": "^2.1.0", "tslint": "^5.16.0", "typescript": "^3.4.5", "uglifyjs-webpack-plugin": "^1.3.0", "webpack": "^4.32.2", "webpack-cdn-plugin": "^3.1.1", "webpack-cli": "^3.3.2", "webpack-dev-middleware": "^3.7.0", "webpack-dev-server": "^3.4.1", "webpack-merge": "^4.2.1", "webpack-node-externals": "^1.7.2" }, "dependencies": { "axios": "^0.18.0", "date-fns": "^2.0.0-alpha.27", "js-cookie": "^2.2.0", "mobx": "^5.9.4", "mobx-react": "^5.4.4", "normalize.css": "^8.0.1", "query-string": "^6.5.0", "react-beautiful-dnd": "^10.1.1", "react-helmet": "^5.2.1", "react-jsonschema-form": "^1.5.0", "react-router": "^4.3.1", "react-router-dom": "^4.3.1", "react-router-hash-link": "^1.2.1", "shortid": "^2.2.14" }, "postcss": {} }