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}\"",
|
|
|
|
"eslint:github-action": "eslint frontend/src"
|
2020-04-14 12:05:45 +02:00
|
|
|
},
|
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
|
|
|
"@babel/core": "^7.8.7",
|
|
|
|
"@babel/runtime": "^7.8.7",
|
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",
|
|
|
|
"core-js": "3",
|
|
|
|
"d3": "^5.15.0",
|
|
|
|
"d3-sankey": "^0.12.3",
|
2020-06-08 20:34:39 +02:00
|
|
|
"editor": "^1.0.0",
|
|
|
|
"eslint-plugin-cypress": "^2.10.3",
|
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-04-14 12:05:45 +02:00
|
|
|
"moment": "^2.24.0",
|
2020-06-22 10:57:09 +02:00
|
|
|
"posthog-js": "1.2.2-beta.0",
|
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": {
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
|
|
"@babel/plugin-transform-react-jsx": "^7.8.3",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.8.3",
|
2020-05-26 21:14:46 +02:00
|
|
|
"@babel/preset-env": "7.9.6",
|
2020-06-02 11:39:53 +02:00
|
|
|
"@hot-loader/react-dom": "^16.13.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-05-13 14:17:00 +02:00
|
|
|
"eslint": "^6.8.0",
|
|
|
|
"eslint-config-prettier": "^6.11.0",
|
|
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
|
|
"eslint-plugin-react": "^7.19.0",
|
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",
|
|
|
|
"postcss-loader": "^3.0.0",
|
|
|
|
"prettier": "1.19.1",
|
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-04-14 12:05:45 +02:00
|
|
|
"webpack": "^4.42.0",
|
2020-06-02 11:39:53 +02:00
|
|
|
"webpack-cli": "^3.3.11",
|
|
|
|
"webpack-dev-server": "^3.11.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",
|
|
|
|
"*.py": "black"
|
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
|
|
|
}
|