2019-06-19 14:40:52 +00:00
|
|
|
{
|
|
|
|
"name": "saleor",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"main": "Gruntfile.js",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git://github.com/mirumee/saleor-dashboard.git"
|
|
|
|
},
|
|
|
|
"author": "Mirumee Software",
|
|
|
|
"license": "BSD-3-Clause",
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/mirumee/saleor-dashboard/issues"
|
|
|
|
},
|
|
|
|
"homepage": "http://getsaleor.com/",
|
|
|
|
"engines": {
|
|
|
|
"node": ">=10.6.0",
|
|
|
|
"npm": ">=6.1.0"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@material-ui/core": "^3.9.3",
|
2019-08-09 11:39:19 +00:00
|
|
|
"@material-ui/icons": "^3.0.2",
|
2019-06-19 14:40:52 +00:00
|
|
|
"@material-ui/styles": "^3.0.0-alpha.10",
|
2019-08-09 11:39:19 +00:00
|
|
|
"apollo": "^2.15.0",
|
|
|
|
"apollo-cache-inmemory": "^1.6.2",
|
|
|
|
"apollo-client": "^2.6.3",
|
2019-06-19 14:40:52 +00:00
|
|
|
"apollo-client-preset": "^1.0.6",
|
2019-08-09 11:39:19 +00:00
|
|
|
"apollo-link": "^1.2.12",
|
|
|
|
"apollo-link-batch-http": "^1.2.12",
|
|
|
|
"apollo-link-context": "^1.0.18",
|
|
|
|
"apollo-link-error": "^1.1.11",
|
2019-06-19 14:40:52 +00:00
|
|
|
"apollo-upload-client": "^9.1.0",
|
|
|
|
"classnames": "^2.2.6",
|
|
|
|
"crc-32": "^1.2.0",
|
2019-08-09 11:39:19 +00:00
|
|
|
"downshift": "^1.31.16",
|
2019-06-19 14:40:52 +00:00
|
|
|
"draft-js": "^0.10.5",
|
2019-08-09 11:39:19 +00:00
|
|
|
"draftail": "^1.2.1",
|
2019-06-19 14:40:52 +00:00
|
|
|
"draftjs-to-html": "^0.8.4",
|
|
|
|
"fast-array-diff": "^0.2.0",
|
|
|
|
"fuzzaldrin": "^2.1.0",
|
2019-08-09 11:39:19 +00:00
|
|
|
"graphql": "^14.4.2",
|
|
|
|
"graphql-tag": "^2.10.1",
|
|
|
|
"i18next": "^11.10.2",
|
|
|
|
"i18next-browser-languagedetector": "^2.2.4",
|
2019-06-19 14:40:52 +00:00
|
|
|
"i18next-xhr-backend": "^1.5.1",
|
|
|
|
"is-url": "^1.2.4",
|
2019-08-09 11:39:19 +00:00
|
|
|
"jss": "^9.8.7",
|
2019-06-19 14:40:52 +00:00
|
|
|
"keycode": "^2.2.0",
|
2019-08-09 11:39:19 +00:00
|
|
|
"lodash": "^4.17.14",
|
|
|
|
"lodash-es": "^4.17.14",
|
|
|
|
"moment-timezone": "^0.5.26",
|
|
|
|
"qs": "^6.7.0",
|
|
|
|
"react": "^16.8.6",
|
|
|
|
"react-apollo": "^2.5.8",
|
|
|
|
"react-dom": "^16.8.6",
|
|
|
|
"react-dropzone": "^8.2.0",
|
|
|
|
"react-helmet": "^5.2.1",
|
2019-06-19 14:40:52 +00:00
|
|
|
"react-infinite-scroller": "^1.2.4",
|
2019-08-09 11:39:19 +00:00
|
|
|
"react-inlinesvg": "^0.8.4",
|
|
|
|
"react-jss": "^8.6.1",
|
|
|
|
"react-moment": "^0.7.9",
|
|
|
|
"react-router": "^5.0.1",
|
|
|
|
"react-router-dom": "^5.0.1",
|
2019-06-19 14:40:52 +00:00
|
|
|
"react-sortable-hoc": "^0.6.8",
|
|
|
|
"react-sortable-tree": "^2.6.2",
|
|
|
|
"react-svg": "^2.2.11",
|
|
|
|
"slugify": "^1.3.4",
|
2019-08-09 11:39:19 +00:00
|
|
|
"string-similarity": "^1.2.2",
|
|
|
|
"typescript": "^3.5.3",
|
|
|
|
"url-join": "^4.0.1",
|
|
|
|
"use-react-router": "^1.0.7"
|
2019-06-19 14:40:52 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-08-09 11:39:19 +00:00
|
|
|
"@babel/core": "^7.5.4",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.5.0",
|
|
|
|
"@babel/plugin-proposal-decorators": "^7.4.4",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.5.4",
|
|
|
|
"@babel/preset-env": "^7.5.4",
|
2019-06-19 14:40:52 +00:00
|
|
|
"@babel/preset-react": "^7.0.0",
|
2019-08-09 11:39:19 +00:00
|
|
|
"@babel/runtime": "^7.5.4",
|
|
|
|
"@storybook/addon-storyshots": "^5.1.9",
|
|
|
|
"@storybook/react": "^5.1.9",
|
|
|
|
"@testing-library/react-hooks": "^1.1.0",
|
|
|
|
"@types/classnames": "^2.2.9",
|
2019-08-09 14:00:34 +00:00
|
|
|
"@types/draft-js": "^0.10.34",
|
2019-08-09 11:39:19 +00:00
|
|
|
"@types/enzyme": "^3.10.2",
|
|
|
|
"@types/fuzzaldrin": "^2.1.2",
|
2019-08-09 14:00:34 +00:00
|
|
|
"@types/i18next": "^8.4.6",
|
|
|
|
"@types/jest": "^23.3.14",
|
2019-08-09 11:39:19 +00:00
|
|
|
"@types/lodash-es": "^4.17.3",
|
|
|
|
"@types/moment-timezone": "^0.5.12",
|
2019-08-09 14:00:34 +00:00
|
|
|
"@types/react": "16.8.12",
|
|
|
|
"@types/react-dom": "^16.8.4",
|
2019-08-09 11:39:19 +00:00
|
|
|
"@types/react-dropzone": "^4.2.2",
|
|
|
|
"@types/react-helmet": "^5.0.8",
|
|
|
|
"@types/react-infinite-scroller": "^1.2.1",
|
2019-08-09 14:00:34 +00:00
|
|
|
"@types/react-router-dom": "^4.3.4",
|
2019-08-09 11:39:19 +00:00
|
|
|
"@types/react-sortable-hoc": "^0.6.5",
|
|
|
|
"@types/react-sortable-tree": "^0.3.6",
|
2019-08-09 14:00:34 +00:00
|
|
|
"@types/react-test-renderer": "^16.8.2",
|
2019-08-09 11:39:19 +00:00
|
|
|
"@types/storybook__addon-storyshots": "^3.4.9",
|
2019-08-09 14:00:34 +00:00
|
|
|
"@types/storybook__react": "^4.0.2",
|
2019-08-09 11:39:19 +00:00
|
|
|
"@types/string-similarity": "^1.2.1",
|
|
|
|
"@types/url-join": "^0.8.3",
|
2019-06-19 14:40:52 +00:00
|
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
|
|
"babel-jest": "^23.6.0",
|
2019-08-09 11:39:19 +00:00
|
|
|
"babel-loader": "^8.0.6",
|
2019-08-09 14:00:34 +00:00
|
|
|
"codecov": "^3.5.0",
|
2019-08-09 11:39:19 +00:00
|
|
|
"enzyme": "^3.10.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.14.0",
|
2019-06-19 14:40:52 +00:00
|
|
|
"enzyme-to-json": "^3.3.5",
|
|
|
|
"file-loader": "^1.1.11",
|
|
|
|
"fork-ts-checker-webpack-plugin": "^0.5.2",
|
|
|
|
"fsevents": "^1.2.9",
|
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2019-08-09 11:39:19 +00:00
|
|
|
"jest": "^24.8.0",
|
2019-06-19 14:40:52 +00:00
|
|
|
"jest-file": "^1.0.0",
|
2019-08-09 11:39:19 +00:00
|
|
|
"plop": "^2.4.0",
|
2019-06-19 14:40:52 +00:00
|
|
|
"react-test-renderer": "^16.8.6",
|
|
|
|
"regenerator-runtime": "^0.11.1",
|
2019-08-09 11:39:19 +00:00
|
|
|
"testcafe": "^1.3.3",
|
2019-06-19 14:40:52 +00:00
|
|
|
"ts-jest": "^23.10.5",
|
2019-08-09 11:39:19 +00:00
|
|
|
"ts-loader": "^5.4.5",
|
2019-06-19 14:40:52 +00:00
|
|
|
"tsconfig-paths-webpack-plugin": "^3.2.0",
|
2019-08-09 11:39:19 +00:00
|
|
|
"tslint": "^5.18.0",
|
|
|
|
"tslint-config-prettier": "^1.18.0",
|
|
|
|
"webpack": "^4.35.3",
|
2019-06-19 14:40:52 +00:00
|
|
|
"webpack-bundle-tracker": "^0.3.0",
|
2019-08-09 11:39:19 +00:00
|
|
|
"webpack-cli": "^3.3.6",
|
2019-06-19 14:40:52 +00:00
|
|
|
"webpack-dev-server": "^3.7.2"
|
|
|
|
},
|
|
|
|
"babel": {
|
|
|
|
"presets": [
|
|
|
|
"@babel/preset-env",
|
|
|
|
"@babel/preset-react"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"@babel/plugin-proposal-class-properties",
|
|
|
|
[
|
|
|
|
"@babel/plugin-proposal-decorators",
|
|
|
|
{
|
|
|
|
"decoratorsBeforeExport": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@babel/plugin-proposal-object-rest-spread"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"globals": {
|
|
|
|
"ts-jest": {
|
|
|
|
"tsConfig": "tsconfig.json"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.tsx?$": "ts-jest",
|
|
|
|
"^.+\\.(png|svg|jpe?g)$": "jest-file"
|
|
|
|
},
|
|
|
|
"testRegex": ".*\\.test\\.tsx?$",
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js",
|
|
|
|
"jsx",
|
|
|
|
"json",
|
|
|
|
"node"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"@assets(.*)$": "<rootDir>/assets/$1",
|
2019-08-09 14:00:34 +00:00
|
|
|
"@saleor(.*)$": "<rootDir>/src/$1",
|
|
|
|
"^lodash-es(.*)$": "lodash/$1"
|
2019-06-19 14:40:52 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"build": "webpack -p",
|
|
|
|
"build-types": "apollo client:codegen --target=typescript types --globalTypesFile=src/types/globalTypes.ts",
|
|
|
|
"generate-component": "plop --plopfile .plop/plopfile.js",
|
|
|
|
"lint": "tslint 'src/**/*.{ts,tsx}'",
|
|
|
|
"lint-fix": "tslint 'src/**/*.{ts,tsx}' --fix",
|
|
|
|
"start": "webpack-dev-server --open",
|
|
|
|
"storybook": "start-storybook -p 3000 -c src/storybook/",
|
2019-06-19 15:19:18 +00:00
|
|
|
"build-storybook": "build-storybook -c src/storybook/ -o build/storybook",
|
2019-08-09 11:39:19 +00:00
|
|
|
"test": "jest src/",
|
|
|
|
"test-e2e": "testcafe 'chrome:headless' .testcafe"
|
2019-06-19 14:40:52 +00:00
|
|
|
}
|
|
|
|
}
|