170 строки
4.6 KiB
JSON
170 строки
4.6 KiB
JSON
{
|
|
"name": "delivery-console",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"homepage": "/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/mozilla/delivery-console"
|
|
},
|
|
"scripts": {
|
|
"start": "node scripts/start.js",
|
|
"build": "node scripts/build.js",
|
|
"test": "node scripts/test.js test --env=jsdom",
|
|
"test:ci": "CI=true yarn test --runInBand",
|
|
"test:watch": "yarn test --watch",
|
|
"lint": "therapist use lint:all",
|
|
"lint:fix": "therapist use fix:all"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "7.6.4",
|
|
"@babel/plugin-proposal-decorators": "7.6.0",
|
|
"@babel/polyfill": "7.6.0",
|
|
"@babel/runtime": "7.6.3",
|
|
"antd": "3.23.5",
|
|
"auth0-js": "9.13.2",
|
|
"autobind-decorator": "2.4.0",
|
|
"autoprefixer": "9.7.0",
|
|
"babel-core": "7.0.0-bridge.0",
|
|
"babel-loader": "8.0.6",
|
|
"babel-plugin-import": "1.12.2",
|
|
"babel-preset-react-app": "9.0.2",
|
|
"case-sensitive-paths-webpack-plugin": "2.2.0",
|
|
"chalk": "2.4.2",
|
|
"connected-react-router": "6.5.2",
|
|
"css-loader": "3.2.0",
|
|
"cssnano": "4.1.10",
|
|
"date-fns": "1.30.1",
|
|
"extract-css-chunks-webpack-plugin": "4.6.0",
|
|
"file-loader": "4.2.0",
|
|
"fs-extra": "8.1.0",
|
|
"generate-json-webpack-plugin": "0.3.1",
|
|
"html-webpack-plugin": "4.0.0-beta.5",
|
|
"immutable": "4.0.0-rc.12",
|
|
"less": "3.10.3",
|
|
"less-loader": "5.0.0",
|
|
"lodash": "4.17.15",
|
|
"object-assign": "4.1.1",
|
|
"postcss-flexbugs-fixes": "4.1.0",
|
|
"postcss-loader": "3.0.0",
|
|
"promise": "8.0.3",
|
|
"raven-js": "3.27.2",
|
|
"react": "16.11.0",
|
|
"react-copy-to-clipboard": "5.0.1",
|
|
"react-dev-utils": "9.1.0",
|
|
"react-dom": "16.11.0",
|
|
"react-redux": "7.1.1",
|
|
"react-router": "5.1.2",
|
|
"react-router-config": "5.1.1",
|
|
"react-router-dom": "5.1.2",
|
|
"redux": "4.0.4",
|
|
"redux-immutable": "4.0.0",
|
|
"redux-logger": "3.0.6",
|
|
"redux-thunk": "2.3.0",
|
|
"style-loader": "1.0.0",
|
|
"sw-precache-webpack-plugin": "0.11.5",
|
|
"uglifyjs-webpack-plugin": "2.2.0",
|
|
"url-loader": "2.2.0",
|
|
"webpack": "4.41.2",
|
|
"webpack-manifest-plugin": "2.2.0",
|
|
"webpack-merge": "4.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "9.3.0",
|
|
"babel-eslint": "10.0.3",
|
|
"babel-jest": "24.9.0",
|
|
"dotenv": "8.2.0",
|
|
"dotenv-expand": "5.1.0",
|
|
"enzyme": "3.10.0",
|
|
"enzyme-adapter-react-16": "1.15.1",
|
|
"eslint": "5.16.0",
|
|
"eslint-config-prettier": "6.5.0",
|
|
"eslint-config-react-app": "5.0.2",
|
|
"eslint-loader": "3.0.2",
|
|
"eslint-plugin-flowtype": "4.3.0",
|
|
"eslint-plugin-import": "2.18.2",
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
"eslint-plugin-prettier": "3.1.1",
|
|
"eslint-plugin-react": "7.16.0",
|
|
"eslint-plugin-react-hooks": "2.2.0",
|
|
"faker": "4.1.0",
|
|
"fetch-mock": "7.7.0",
|
|
"jest": "24.9.0",
|
|
"jest-immutable-matchers": "2.0.1",
|
|
"prettier": "1.18.2",
|
|
"raf": "3.4.1",
|
|
"resolve": "1.12.0",
|
|
"stylelint": "11.1.1",
|
|
"stylelint-config-standard": "18.3.0",
|
|
"stylelint-order": "3.1.1",
|
|
"webpack-dev-server": "3.9.0",
|
|
"whatwg-fetch": "3.0.0"
|
|
},
|
|
"resolutions": {
|
|
"handlebars": "^4.5.3",
|
|
"js-yaml": "^3.13.1",
|
|
"serialize-javascript": ">=2.1.1",
|
|
"minimist": ">=0.2.1 <1.0.0 || >=1.2.3",
|
|
"acorn": ">=5.7.4 <6.0.0 || >=6.4.1 <7.0.0 || >=7.1.1",
|
|
"kind-of": ">=6.0.3"
|
|
},
|
|
"jest": {
|
|
"collectCoverageFrom": [
|
|
"src/**/*.{js,jsx,mjs}"
|
|
],
|
|
"setupFiles": [
|
|
"<rootDir>/config/polyfills.js"
|
|
],
|
|
"setupTestFrameworkScriptFile": "<rootDir>/src/setupTests.js",
|
|
"testMatch": [
|
|
"<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}",
|
|
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}"
|
|
],
|
|
"testEnvironment": "node",
|
|
"testURL": "http://localhost",
|
|
"transform": {
|
|
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
|
|
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
|
|
"^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
|
},
|
|
"transformIgnorePatterns": [
|
|
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
|
|
],
|
|
"moduleNameMapper": {
|
|
".*\\.less$": "<rootDir>/etc/StubModule.js",
|
|
"^console/(.*)$": "<rootDir>/src/$1"
|
|
},
|
|
"moduleFileExtensions": [
|
|
"web.js",
|
|
"js",
|
|
"json",
|
|
"web.jsx",
|
|
"jsx",
|
|
"node",
|
|
"mjs"
|
|
]
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"react-app"
|
|
],
|
|
"plugins": [
|
|
[
|
|
"@babel/plugin-proposal-decorators",
|
|
{
|
|
"legacy": true
|
|
}
|
|
],
|
|
[
|
|
"import",
|
|
{
|
|
"libraryName": "antd"
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
}
|
|
}
|