0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 17:24:15 +01:00
posthog/package.json
Eric Duong a012aa6723
Cypress tests (#789)
* initial test

* add yaml

* add logs

* without tail

* run again for consistency

* wait longer

* manuall configure cypress

* use latest ubuntu

* try installing all

* yarn install

* yarn install with cypress

* full flow

* run again for consistency

* initial tests for trends

* handle exception

* separate e2e docker-compose

* run on pr

* trends-testing foundation

* run test

* don't pass everything

* handle uncaught exceptions

* fix dashboard tests

* change email domain

* change dataattr to data-attr and boilerplate cleanup

* base url config

* add script for test runner

* change default postgres
2020-05-19 14:48:10 -04:00

100 lines
3.3 KiB
JSON

{
"name": "posthog",
"description": "",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/posthog/posthog.git"
},
"author": "",
"bugs": {
"url": "https://github.com/posthog/posthog/issues"
},
"homepage": "https://github.com/posthog/posthog#readme",
"scripts": {
"copy-array": "cp node_modules/posthog-js/dist/array.js frontend/dist/",
"start": "mkdir -p frontend/dist/ && cp -a frontend/public/* frontend/dist/ && npm run copy-array && webpack --config webpack.config.js --watch",
"build": "NODE_ENV=production webpack --config webpack.config.js && cp -a frontend/public/* frontend/dist/ && npm run copy-array",
"prettier": "prettier --write \"./frontend/src/**/*.{js,css,scss}\"",
"eslint:github-action": "eslint frontend/src"
},
"license": "MIT",
"dependencies": {
"@babel/core": "^7.8.7",
"@babel/runtime": "^7.8.7",
"@mariusandra/react-grid-layout": "0.18.3",
"antd": "^4.1.1",
"babel-preset-nano-react-app": "^0.1.0",
"bootstrap": "^4.4.1",
"chart.js": "^2.9.3",
"core-js": "3",
"d3": "^5.15.0",
"d3-sankey": "^0.12.3",
"editor": "^1.0.0",
"funnel-graph-js": "^1.4.1",
"kea": "^2.0.0-beta.8",
"kea-loaders": "^0.2.2",
"kea-router": "^0.3.0",
"moment": "^2.24.0",
"posthog-js": "1.0.7-beta.0",
"prop-types": "^15.7.2",
"react": ">= 16.8",
"react-beautiful-dnd": "^12.2.0",
"react-datepicker": "^2.13.0",
"react-dnd": "^10.0.2",
"react-dom": ">= 16.8",
"react-draggable": "^4.2.0",
"react-redux": "^7.2.0",
"react-select": "^3.0.8",
"react-shadow": "^17.4.0",
"react-stripe-elements": "^6.0.1",
"react-toastify": "^5.5.0",
"redux": "^4.0.5",
"reselect": "^4.0.0",
"sass": "^1.26.2",
"simmerjs": "^0.5.6",
"style.css": "^1.0.0",
"styled-components": "^5.0.1"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-react-jsx": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.7",
"autoprefixer": "^9.7.4",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.0.6",
"babel-plugin-import": "^1.13.0",
"babel-plugin-kea": "^0.1.0",
"css-loader": "^3.4.2",
"cssnano": "^4.1.10",
"cypress": "^4.5.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"file-loader": "^5.1.0",
"husky": ">=4",
"lint-staged": ">=10",
"mini-css-extract-plugin": "^0.9.0",
"parcel-bundler": "1.11.0",
"postcss-loader": "^3.0.0",
"prettier": "1.19.1",
"sass-loader": "^8.0.2",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,scss}": "prettier --write",
"*.js": "eslint"
},
"optionalDependencies": {
"fsevents": "^2.1.2"
}
}