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-06-02 11:39:53 +02:00
|
|
|
"start": "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-04-14 12:05:45 +02:00
|
|
|
"build": "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",
|
|
|
|
"eslint:github-action": "yarn run eslint"
|
2020-04-14 12:05:45 +02:00
|
|
|
},
|
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2020-07-08 09:45:23 +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-04-14 12:05:45 +02:00
|
|
|
"antd": "^4.1.1",
|
|
|
|
"babel-preset-nano-react-app": "^0.1.0",
|
|
|
|
"bootstrap": "^4.4.1",
|
|
|
|
"chart.js": "^2.9.3",
|
2020-07-08 09:45:23 +02:00
|
|
|
"core-js": "3.6.5",
|
2020-04-14 12:05:45 +02:00
|
|
|
"d3": "^5.15.0",
|
|
|
|
"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-06-16 14:28:11 +02:00
|
|
|
"kea": "^2.1.1",
|
|
|
|
"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-04-14 12:05:45 +02:00
|
|
|
"moment": "^2.24.0",
|
2020-07-13 12:21:53 +02:00
|
|
|
"posthog-js": "1.3.1",
|
2020-04-14 12:05:45 +02:00
|
|
|
"prop-types": "^15.7.2",
|
|
|
|
"react": ">= 16.8",
|
|
|
|
"react-datepicker": "^2.13.0",
|
|
|
|
"react-dom": ">= 16.8",
|
|
|
|
"react-draggable": "^4.2.0",
|
|
|
|
"react-redux": "^7.2.0",
|
|
|
|
"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",
|
|
|
|
"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",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.10.4",
|
|
|
|
"@babel/preset-env": "7.10.4",
|
|
|
|
"@babel/preset-typescript": "^7.10.4",
|
2020-06-02 11:39:53 +02:00
|
|
|
"@hot-loader/react-dom": "^16.13.0",
|
2020-07-17 19:57:42 +02:00
|
|
|
"@types/react": "^16.9.41",
|
2020-07-08 09:45:23 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^3.0.0",
|
|
|
|
"@typescript-eslint/parser": "^3.0.0",
|
2020-04-14 12:05:45 +02:00
|
|
|
"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-04-14 12:05:45 +02:00
|
|
|
"css-loader": "^3.4.2",
|
|
|
|
"cssnano": "^4.1.10",
|
2020-05-19 20:48:10 +02:00
|
|
|
"cypress": "^4.5.0",
|
2020-07-08 09:45:23 +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-04-14 12:05:45 +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-04-14 12:05:45 +02:00
|
|
|
"husky": ">=4",
|
|
|
|
"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-07-08 09:45:23 +02:00
|
|
|
"typescript": "^3.7.2",
|
2020-04-14 12:05:45 +02:00
|
|
|
"webpack": "^4.42.0",
|
2020-06-02 11:39:53 +02:00
|
|
|
"webpack-cli": "^3.3.11",
|
2020-07-10 13:31:35 +02:00
|
|
|
"webpack-dev-server": "^3.11.0",
|
|
|
|
"webpackbar": "^4.0.0"
|
2020-04-14 12:05:45 +02:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint-staged": {
|
2020-05-13 14:17:00 +02:00
|
|
|
"*.{js,css,scss}": "prettier --write",
|
2020-06-17 22:16:25 +02:00
|
|
|
"*.js": "eslint",
|
2020-07-02 15:41:49 +02:00
|
|
|
"*.py": "black -l 120"
|
2020-04-14 21:41:26 +02:00
|
|
|
},
|
|
|
|
"optionalDependencies": {
|
|
|
|
"fsevents": "^2.1.2"
|
2020-03-14 15:53:14 +01:00
|
|
|
}
|
2020-01-25 00:57:57 +01:00
|
|
|
}
|