132 lines
4.2 KiB
JSON
132 lines
4.2 KiB
JSON
{
|
|
"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:es && npm run lint:sass",
|
|
"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 test:e2e:verbose",
|
|
"test:e2e": "npm-run-all -p -r serve test:e2e:testcafe",
|
|
"test:e2e:verbose": "npm-run-all -p -r serve test:e2e:testcafe:verbose",
|
|
"test:e2e:testcafe": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome:headless tests/testcafe",
|
|
"test:e2e:testcafe:verbose": "testcafe -S -s 'tests/testcafe/screenshots' --app-init-delay 2000 chrome tests/testcafe",
|
|
"plop": "plop"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-push": "npm-run-all -s lint build test"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "24.0.22",
|
|
"@types/js-cookie": "2.2.4",
|
|
"@types/node": "10.14.7",
|
|
"@types/react": "16.8.18",
|
|
"@types/react-dom": "16.8.4",
|
|
"@typescript-eslint/eslint-plugin": "2.6.1",
|
|
"@typescript-eslint/parser": "2.6.1",
|
|
"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.6.0",
|
|
"eslint-config-standard": "14.1.0",
|
|
"eslint-plugin-import": "2.18.2",
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
"eslint-plugin-node": "10.0.0",
|
|
"eslint-plugin-promise": "4.2.1",
|
|
"eslint-plugin-react": "7.16.0",
|
|
"eslint-plugin-standard": "4.0.1",
|
|
"express": "4.17.0",
|
|
"favicons-webpack-plugin": "1.0.2",
|
|
"file-loader": "4.2.0",
|
|
"fs-extra": "6.0.1",
|
|
"helmet": "3.21.2",
|
|
"html-webpack-plugin": "3.2.0",
|
|
"husky": "1.3.1",
|
|
"image-webpack-loader": "6.0.0",
|
|
"json-server": "0.14.2",
|
|
"mini-css-extract-plugin": "0.4.5",
|
|
"module-to-cdn": "3.1.2",
|
|
"morgan": "1.9.1",
|
|
"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": "^1.25.0",
|
|
"sass-loader": "7.1.0",
|
|
"serve": "11.2.0",
|
|
"style-loader": "0.21.0",
|
|
"stylelint": "11.1.1",
|
|
"stylelint-config-recommended-scss": "4.0.0",
|
|
"stylelint-config-standard": "19.0.0",
|
|
"stylelint-scss": "3.12.1",
|
|
"stylelint-webpack-plugin": "1.0.3",
|
|
"testcafe": "1.6.1",
|
|
"testcafe-react-selectors": "2.1.0",
|
|
"typescript": "3.7.2",
|
|
"uglifyjs-webpack-plugin": "1.3.0",
|
|
"webpack": "4.41.2",
|
|
"webpack-cdn-plugin": "3.2.0",
|
|
"webpack-cli": "3.3.10",
|
|
"webpack-dev-middleware": "3.7.2",
|
|
"webpack-dev-server": "3.9.0",
|
|
"webpack-merge": "4.2.2",
|
|
"webpack-node-externals": "1.7.2"
|
|
},
|
|
"dependencies": {
|
|
"axios": "0.19.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.8.0",
|
|
"react-router": "4.3.1",
|
|
"react-router-dom": "4.3.1",
|
|
"react-router-hash-link": "1.2.1",
|
|
"shortid": "2.2.14"
|
|
},
|
|
"postcss": {}
|
|
}
|