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-08-18 11:08:40 +02:00
|
|
|
"prettier": "prettier --write \"./frontend/src/**/*.{js,css,scss}\"",
|
|
|
|
"prettier:check": "prettier --check \"./**/*.{js,ts,tsx,json,yml,css,scss}\"",
|
2020-08-24 23:02:13 +02:00
|
|
|
"eslint": "eslint frontend/src",
|
|
|
|
"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 15:40:11 +02:00
|
|
|
"@babel/core": "^7.10.4",
|
|
|
|
"@babel/runtime": "^7.10.4",
|
2020-05-18 20:48:24 +02:00
|
|
|
"@mariusandra/react-grid-layout": "0.18.3",
|
2020-08-20 02:38:56 +02:00
|
|
|
"@mariusandra/simmerjs": "0.6.1-posthog.1",
|
2020-08-26 16:36:34 +02:00
|
|
|
"@types/react-syntax-highlighter": "^11.0.4",
|
2020-08-17 15:40:11 +02:00
|
|
|
"antd": "^4.1.1",
|
2020-04-14 12:05:45 +02:00
|
|
|
"babel-preset-nano-react-app": "^0.1.0",
|
2020-08-17 15:40:11 +02:00
|
|
|
"bootstrap": "^4.4.1",
|
2020-04-14 12:05:45 +02:00
|
|
|
"chart.js": "^2.9.3",
|
2020-08-17 15:40:11 +02:00
|
|
|
"core-js": "3.6.5",
|
|
|
|
"d3": "^5.15.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 15:40:11 +02:00
|
|
|
"moment": "^2.24.0",
|
2020-08-26 19:03:53 +02:00
|
|
|
"posthog-js": "^1.4.4",
|
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 15:40:11 +02:00
|
|
|
"react": ">= 16.8",
|
|
|
|
"react-datepicker": "^2.13.0",
|
|
|
|
"react-dom": ">= 16.8",
|
|
|
|
"react-draggable": "^4.2.0",
|
2020-04-14 12:05:45 +02:00
|
|
|
"react-redux": "^7.2.0",
|
|
|
|
"react-shadow": "^17.4.0",
|
2020-08-17 15:40:11 +02:00
|
|
|
"react-stripe-elements": "^6.0.1",
|
2020-08-26 16:36:34 +02:00
|
|
|
"react-syntax-highlighter": "^13.5.1",
|
2020-08-17 15:40:11 +02:00
|
|
|
"react-toastify": "^5.5.0",
|
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 15:40:11 +02:00
|
|
|
"@babel/plugin-transform-runtime": "^7.10.4",
|
|
|
|
"@babel/preset-env": "7.10.4",
|
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",
|
2020-08-17 15:40:11 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^3.6.0",
|
|
|
|
"@typescript-eslint/parser": "^3.6.0",
|
|
|
|
"autoprefixer": "^9.7.4",
|
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 15:40:11 +02:00
|
|
|
"css-loader": "^3.4.2",
|
2020-04-14 12:05:45 +02:00
|
|
|
"cssnano": "^4.1.10",
|
2020-08-28 15:41:56 +02:00
|
|
|
"cypress": "^4.11.0",
|
2020-08-11 10:52:43 +02:00
|
|
|
"cypress-terminal-report": "^1.4.1",
|
2020-08-17 15:40:11 +02:00
|
|
|
"eslint": "^7.4.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 15:40:11 +02:00
|
|
|
"file-loader": "^5.1.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 15:40:11 +02:00
|
|
|
"husky": ">=4",
|
2020-08-14 17:02:57 +02:00
|
|
|
"kea-typegen": "^0.2.0",
|
2020-08-17 15:40:11 +02:00
|
|
|
"lint-staged": ">=10",
|
|
|
|
"mini-css-extract-plugin": "^0.9.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 15:40:11 +02:00
|
|
|
"typescript": "^3.7.2",
|
|
|
|
"webpack": "^4.42.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-08-18 11:08:40 +02:00
|
|
|
"*.{js,ts,tsx,json,yml,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
|
|
|
}
|