saleor-dashboard/package.json

200 lines
6.3 KiB
JSON
Raw Normal View History

2019-06-19 14:40:52 +00:00
{
2019-10-25 13:56:12 +00:00
"name": "saleor-dashboard",
"version": "2.0.0",
"main": "src/index.tsx",
2019-06-19 14:40:52 +00:00
"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": {
2019-11-05 10:58:05 +00:00
"node": ">=12.12.0",
"npm": ">=6.11.0"
2019-06-19 14:40:52 +00:00
},
"dependencies": {
2019-10-28 16:16:49 +00:00
"@material-ui/core": "^4.5.1",
"@material-ui/icons": "^4.5.1",
2019-11-05 10:58:05 +00:00
"@material-ui/styles": "^4.5.2",
"apollo": "^2.21.1",
"apollo-cache-inmemory": "^1.6.5",
2019-08-12 11:46:43 +00:00
"apollo-client": "^2.6.4",
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",
"draftjs-to-html": "^0.9.1",
2019-06-19 14:40:52 +00:00
"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",
2019-11-20 15:58:17 +00:00
"hotkeys-js": "^3.7.2",
2019-06-19 14:40:52 +00:00
"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",
2019-11-05 16:06:47 +00:00
"qs": "^6.9.0",
"react": "^16.12.0",
2019-11-13 16:46:08 +00:00
"react-apollo": "^3.1.3",
2019-08-12 11:46:43 +00:00
"react-dom": "^16.9.0",
2019-08-09 11:39:19 +00:00
"react-dropzone": "^8.2.0",
2019-10-21 11:44:13 +00:00
"react-error-boundary": "^1.2.5",
2019-08-09 11:39:19 +00:00
"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",
2019-08-14 11:39:51 +00:00
"react-intl": "^3.1.8",
2019-08-09 11:39:19 +00:00
"react-jss": "^8.6.1",
"react-moment": "^0.9.7",
2019-08-09 11:39:19 +00:00
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1",
"react-sortable-hoc": "^1.10.1",
2019-06-19 14:40:52 +00:00
"react-sortable-tree": "^2.6.2",
2019-11-25 16:23:52 +00:00
"semver-compare": "^1.0.0",
2019-06-19 14:40:52 +00:00
"slugify": "^1.3.4",
2019-10-30 14:34:24 +00:00
"typescript": "^3.6.4",
2019-08-09 11:39:19 +00:00
"url-join": "^4.0.1",
"use-react-router": "^1.0.7"
2019-06-19 14:40:52 +00:00
},
"devDependencies": {
2019-08-14 11:39:51 +00:00
"@babel/cli": "^7.5.5",
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",
2019-08-14 16:21:41 +00:00
"@babel/plugin-proposal-numeric-separator": "^7.2.0",
2019-08-09 11:39:19 +00:00
"@babel/plugin-proposal-object-rest-spread": "^7.5.4",
"@babel/preset-env": "^7.5.4",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.7.4",
"@babel/runtime": "^7.7.6",
2019-08-09 11:39:19 +00:00
"@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",
"@types/enzyme": "^3.10.4",
2019-08-09 11:39:19 +00:00
"@types/fuzzaldrin": "^2.1.2",
2019-08-09 14:00:34 +00:00
"@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",
"@types/react": "^16.9.16",
2019-08-12 11:46:43 +00:00
"@types/react-dom": "^16.8.5",
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",
"@types/react-sortable-hoc": "^0.7.1",
2019-08-09 11:39:19 +00:00
"@types/react-sortable-tree": "^0.3.6",
2019-08-09 14:00:34 +00:00
"@types/react-test-renderer": "^16.8.2",
2019-11-25 16:23:52 +00:00
"@types/semver-compare": "^1.0.1",
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",
"@types/url-join": "^4.0.0",
"@types/webappsec-credential-management": "^0.5.1",
"@typescript-eslint/eslint-plugin": "^2.12.0",
2019-12-02 10:49:14 +00:00
"@typescript-eslint/parser": "^2.9.0",
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",
"babel-plugin-react-intl": "^5.1.11",
"babel-plugin-react-intl-auto": "^3.1.0",
2019-08-09 14:00:34 +00:00
"codecov": "^3.5.0",
"core-js": "^3.5.0",
2019-11-05 14:39:37 +00:00
"cross-env": "^6.0.3",
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",
2019-12-02 10:49:14 +00:00
"eslint": "^6.7.1",
"eslint-loader": "^3.0.2",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-local-rules": "^0.1.1",
2019-12-02 10:49:14 +00:00
"eslint-plugin-prefer-arrow": "^1.1.6",
"file-loader": "^5.0.2",
2019-12-02 15:26:31 +00:00
"fork-ts-checker-webpack-plugin": "^3.1.1",
2019-06-19 14:40:52 +00:00
"html-webpack-plugin": "^3.2.0",
2019-10-11 10:15:19 +00:00
"husky": "^3.0.8",
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-10-11 10:31:01 +00:00
"lint-staged": "^9.4.2",
2019-08-09 11:39:19 +00:00
"plop": "^2.4.0",
"prettier": "^1.19.1",
2019-08-14 11:39:51 +00:00
"react-intl-po": "^2.2.2",
"react-test-renderer": "^16.12.0",
2019-06-19 14:40:52 +00:00
"regenerator-runtime": "^0.11.1",
2019-09-02 13:20:36 +00:00
"require-context.macro": "^1.1.1",
"rimraf": "^3.0.0",
2019-08-09 11:39:19 +00:00
"testcafe": "^1.3.3",
"ts-jest": "^24.2.0",
2019-06-19 14:40:52 +00:00
"tsconfig-paths-webpack-plugin": "^3.2.0",
2019-08-09 11:39:19 +00:00
"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"
},
2019-08-11 14:42:54 +00:00
"optionalDependencies": {
"fsevents": "^1.2.9"
},
2019-06-19 14:40:52 +00:00
"jest": {
"transform": {
2019-08-27 09:35:54 +00:00
"^.+\\.(jsx?|tsx?)$": "babel-jest",
2019-06-19 14:40:52 +00:00
"^.+\\.(png|svg|jpe?g)$": "jest-file"
},
"testRegex": ".*\\.test\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"moduleNameMapper": {
"@assets(.*)$": "<rootDir>/assets/$1",
2019-08-29 14:18:11 +00:00
"@locale(.*)$": "<rootDir>/locale/$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
}
},
2019-10-11 10:15:19 +00:00
"husky": {
"hooks": {
2019-10-11 10:31:01 +00:00
"pre-commit": "lint-staged",
"pre-push": "npm run check-types"
2019-10-11 10:15:19 +00:00
}
},
2019-10-11 10:31:01 +00:00
"lint-staged": {
"*.{ts,tsx}": [
2019-12-02 10:49:14 +00:00
"eslint --fix",
2019-11-07 11:35:17 +00:00
"prettier --write",
2019-10-11 10:31:01 +00:00
"git add"
]
},
2019-06-19 14:40:52 +00:00
"scripts": {
"build": "webpack -p",
2019-11-05 14:39:37 +00:00
"extract-json-messages": "rimraf build/locale && cross-env NODE_ENV=extract babel src 'src/**/*.{ts,tsx}' -o build/dashboard.bundle.js",
2019-08-14 16:21:41 +00:00
"extract-pot-messages": "rip json2pot \"build/locale/**/*.json\" -c description -o locale/messages.pot",
"extract-messages": "npm run extract-json-messages && npm run extract-pot-messages",
"build-messages": "rip po2json 'locale/**/*.po' -m 'build/locale/**/*.json' -o 'locale' -c 'description'",
2019-06-19 14:40:52 +00:00
"build-types": "apollo client:codegen --target=typescript types --globalTypesFile=src/types/globalTypes.ts",
2019-11-05 16:23:14 +00:00
"check-types": "tsc --noEmit",
2019-06-19 14:40:52 +00:00
"generate-component": "plop --plopfile .plop/plopfile.js",
2019-08-20 16:05:59 +00:00
"start": "webpack-dev-server --open -d",
2019-06-19 14:40:52 +00:00
"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/",
2019-09-22 12:30:10 +00:00
"test-e2e": "testcafe 'chrome:headless' .testcafe",
"heroku-postbuild": "npm run build"
2019-06-19 14:40:52 +00:00
}
2019-08-20 16:05:59 +00:00
}