2020-01-25 00:57:57 +01:00
|
|
|
{
|
2020-04-14 12:05:45 +02:00
|
|
|
"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": {
|
2020-06-18 13:41:28 +02:00
|
|
|
"copy-array": "cp node_modules/posthog-js/dist/array.js* frontend/dist/",
|
2020-08-14 17:02:57 +02:00
|
|
|
"start": "concurrently -n WEBPACK,TYPEGEN -c blue,green \"yarn run start-http\" \"yarn run typegen:watch\"",
|
|
|
|
"start-http": "mkdir -p frontend/dist/ && cp -a frontend/public/* frontend/dist/ && npm run copy-array && webpack-dev-server --hotOnly",
|
2020-06-04 11:14:54 +02:00
|
|
|
"start-https": "mkdir -p frontend/dist/ && cp -a frontend/public/* frontend/dist/ && npm run copy-array && webpack-dev-server --hotOnly --https",
|
2020-08-14 17:02:57 +02:00
|
|
|
"build": "kea-typegen write && echo \"Building Webpack\" && NODE_ENV=production webpack --config webpack.config.js && cp -a frontend/public/* frontend/dist/ && npm run copy-array",
|
2020-05-13 14:17:00 +02:00
|
|
|
"prettier": "prettier --write \"./frontend/src/**/*.{js,css,scss}\"",
|
2020-07-08 09:45:23 +02:00
|
|
|
"eslint": "eslint frontend/src",
|
2020-07-29 11:21:00 +02:00
|
|
|
"eslint:github-action": "yarn run eslint",
|
2020-08-14 17:02:57 +02:00
|
|
|
"typegen:watch": "kea-typegen watch"
|
2020-04-14 12:05:45 +02:00
|
|
|
},
|
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2020-08-17 10:56:57 +02:00
|
|
|
"@babel/core": "^7.11.1",
|
|
|
|
"@babel/runtime": "^7.11.2",
|
2020-05-18 20:48:24 +02:00
|
|
|
"@mariusandra/react-grid-layout": "0.18.3",
|
2020-08-11 14:54:33 +02:00
|
|
|
"@mariusandra/simmerjs": "0.5.6-posthog-2",
|
2020-08-17 10:56:57 +02:00
|
|
|
"antd": "^4.5.4",
|
2020-04-14 12:05:45 +02:00
|
|
|
"babel-preset-nano-react-app": "^0.1.0",
|
2020-08-17 10:56:57 +02:00
|
|
|
"bootstrap": "^4.5.2",
|
2020-04-14 12:05:45 +02:00
|
|
|
"chart.js": "^2.9.3",
|
2020-08-17 10:56:57 +02:00
|
|
|
"core-js": "^3.6.5",
|
|
|
|
"d3": "^5.16.0",
|
2020-04-14 12:05:45 +02:00
|
|
|
"d3-sankey": "^0.12.3",
|
2020-06-08 20:34:39 +02:00
|
|
|
"editor": "^1.0.0",
|
2020-07-08 09:45:23 +02:00
|
|
|
"eslint-plugin-cypress": "^2.11.1",
|
2020-04-14 12:05:45 +02:00
|
|
|
"funnel-graph-js": "^1.4.1",
|
2020-07-30 19:16:59 +02:00
|
|
|
"kea": "^2.2.0-beta.5",
|
2020-06-16 14:28:11 +02:00
|
|
|
"kea-loaders": "^0.3.0",
|
2020-06-04 13:45:24 +02:00
|
|
|
"kea-localstorage": "^1.0.2",
|
2020-06-16 14:28:11 +02:00
|
|
|
"kea-router": "^0.4.0",
|
2020-06-30 12:57:02 +02:00
|
|
|
"kea-window-values": "^0.0.1",
|
2020-08-17 10:56:57 +02:00
|
|
|
"moment": "^2.27.0",
|
2020-08-13 22:32:08 +02:00
|
|
|
"posthog-js": "1.4.3",
|
2020-08-11 10:52:43 +02:00
|
|
|
"posthog-js-lite": "^0.0.3",
|
2020-04-14 12:05:45 +02:00
|
|
|
"prop-types": "^15.7.2",
|
2020-08-17 10:56:57 +02:00
|
|
|
"react": "^16.13.1",
|
|
|
|
"react-datepicker": "^3.1.3",
|
|
|
|
"react-dom": "^16.13.1",
|
|
|
|
"react-draggable": "^4.4.3",
|
2020-04-14 12:05:45 +02:00
|
|
|
"react-redux": "^7.2.0",
|
|
|
|
"react-shadow": "^17.4.0",
|
2020-08-17 10:56:57 +02:00
|
|
|
"react-toastify": "^6.0.8",
|
2020-04-14 12:05:45 +02:00
|
|
|
"redux": "^4.0.5",
|
|
|
|
"reselect": "^4.0.0",
|
|
|
|
"sass": "^1.26.2",
|
|
|
|
"styled-components": "^5.0.1"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-07-08 09:45:23 +02:00
|
|
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
|
|
"@babel/plugin-transform-react-jsx": "^7.10.4",
|
2020-08-17 10:56:57 +02:00
|
|
|
"@babel/plugin-transform-runtime": "^7.11.0",
|
|
|
|
"@babel/preset-env": "^7.11.0",
|
2020-07-08 09:45:23 +02:00
|
|
|
"@babel/preset-typescript": "^7.10.4",
|
2020-06-02 11:39:53 +02:00
|
|
|
"@hot-loader/react-dom": "^16.13.0",
|
2020-07-28 22:25:24 +02:00
|
|
|
"@types/react": "^16.9.43",
|
2020-07-30 19:16:59 +02:00
|
|
|
"@types/react-dom": "^16.9.8",
|
|
|
|
"@types/react-redux": "^7.1.9",
|
|
|
|
"@types/simmerjs": "^0.5.1",
|
2020-08-17 10:56:57 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^3.9.0",
|
|
|
|
"@typescript-eslint/parser": "^3.9.0",
|
|
|
|
"autoprefixer": "^9.8.6",
|
2020-05-13 14:17:00 +02:00
|
|
|
"babel-eslint": "^10.1.0",
|
2020-04-14 12:05:45 +02:00
|
|
|
"babel-loader": "^8.0.6",
|
|
|
|
"babel-plugin-import": "^1.13.0",
|
2020-04-27 17:39:21 +02:00
|
|
|
"babel-plugin-kea": "^0.1.0",
|
2020-08-14 17:02:57 +02:00
|
|
|
"concurrently": "^5.3.0",
|
2020-08-17 10:56:57 +02:00
|
|
|
"css-loader": "^3.6.0",
|
2020-04-14 12:05:45 +02:00
|
|
|
"cssnano": "^4.1.10",
|
2020-08-17 10:56:57 +02:00
|
|
|
"cypress": "^4.12.1",
|
2020-08-11 10:52:43 +02:00
|
|
|
"cypress-terminal-report": "^1.4.1",
|
2020-08-17 10:56:57 +02:00
|
|
|
"eslint": "^7.7.0",
|
2020-05-13 14:17:00 +02:00
|
|
|
"eslint-config-prettier": "^6.11.0",
|
2020-07-08 09:45:23 +02:00
|
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
|
|
"eslint-plugin-react": "^7.20.3",
|
2020-08-17 10:56:57 +02:00
|
|
|
"file-loader": "^6.0.0",
|
2020-06-02 11:39:53 +02:00
|
|
|
"html-webpack-harddisk-plugin": "^1.0.1",
|
|
|
|
"html-webpack-plugin": "^4.3.0",
|
2020-08-17 10:56:57 +02:00
|
|
|
"husky": "~4.2.5",
|
2020-08-14 17:02:57 +02:00
|
|
|
"kea-typegen": "^0.2.0",
|
2020-08-17 10:56:57 +02:00
|
|
|
"lint-staged": "~10.2.11",
|
|
|
|
"mini-css-extract-plugin": "^0.10.0",
|
2020-06-23 18:42:54 +02:00
|
|
|
"nodemon": "^2.0.4",
|
2020-04-14 12:05:45 +02:00
|
|
|
"postcss-loader": "^3.0.0",
|
2020-07-03 14:37:07 +02:00
|
|
|
"prettier": "^2.0.5",
|
2020-06-02 11:39:53 +02:00
|
|
|
"react-hot-loader": "^4.12.21",
|
2020-04-14 12:05:45 +02:00
|
|
|
"sass-loader": "^8.0.2",
|
2020-06-04 13:45:24 +02:00
|
|
|
"style-loader": "^1.2.1",
|
2020-08-17 10:56:57 +02:00
|
|
|
"typescript": "^3.9.7",
|
|
|
|
"webpack": "^4.44.0",
|
2020-06-02 11:39:53 +02:00
|
|
|
"webpack-cli": "^3.3.11",
|
2020-08-14 17:02:57 +02:00
|
|
|
"webpack-dev-server": "^3.11.0"
|
2020-04-14 12:05:45 +02:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2020-07-28 22:19:33 +02:00
|
|
|
"*.{js,ts,tsx,json,css,scss}": "prettier --write",
|
2020-07-22 12:25:54 +02:00
|
|
|
"*.{js,ts,tsx}": "eslint",
|
2020-07-28 22:19:33 +02:00
|
|
|
"*.py": [
|
|
|
|
"./env/bin/black -l 120",
|
|
|
|
"./env/bin/isort -m 3 --tc --fgw 8 --up -n -l 120"
|
|
|
|
]
|
2020-04-14 21:41:26 +02:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
|
|
|
"fsevents": "^2.1.2"
|
2020-03-14 15:53:14 +01:00
|
|
|
}
|
2020-07-28 22:19:33 +02:00
|
|
|
}
|