2015-04-25 05:46:15 +00:00
|
|
|
{
|
|
|
|
"name": "wagtail",
|
|
|
|
"version": "1.0.0",
|
2016-12-15 11:49:49 +00:00
|
|
|
"repository": "https://github.com/wagtail/wagtail",
|
2015-04-25 05:46:15 +00:00
|
|
|
"private": true,
|
2020-04-28 20:23:15 +00:00
|
|
|
"engines": {
|
2022-01-31 14:51:38 +00:00
|
|
|
"node": ">=16.0.0"
|
2020-04-28 20:23:15 +00:00
|
|
|
},
|
2020-05-28 00:33:36 +00:00
|
|
|
"browserslist": [
|
|
|
|
"Firefox ESR",
|
|
|
|
"last 2 Chrome versions",
|
|
|
|
"last 2 ChromeAndroid versions",
|
|
|
|
"last 2 Edge versions",
|
|
|
|
"last 1 Firefox version",
|
|
|
|
"last 2 iOS versions",
|
2022-02-24 20:08:28 +00:00
|
|
|
"last 3 Safari versions",
|
2022-05-05 13:58:37 +00:00
|
|
|
"not safari 13",
|
2022-02-24 20:08:28 +00:00
|
|
|
"not ie 11"
|
2020-05-28 00:33:36 +00:00
|
|
|
],
|
2016-06-17 13:48:33 +00:00
|
|
|
"jest": {
|
2020-10-21 08:42:14 +00:00
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"json",
|
|
|
|
"node"
|
|
|
|
],
|
2020-12-21 14:58:12 +00:00
|
|
|
"moduleNameMapper": {
|
2021-10-08 14:59:16 +00:00
|
|
|
"jquery": "<rootDir>/wagtail/admin/static_src/wagtailadmin/js/vendor/jquery-3.6.0.min.js"
|
2020-12-21 14:58:12 +00:00
|
|
|
},
|
2020-10-21 08:42:14 +00:00
|
|
|
"transform": {
|
|
|
|
"^.+\\.(js|ts|tsx)$": "ts-jest"
|
|
|
|
},
|
2018-01-19 16:02:49 +00:00
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
2021-11-12 16:27:10 +00:00
|
|
|
"/build/",
|
|
|
|
"client/tests/integration"
|
2018-01-19 16:02:49 +00:00
|
|
|
],
|
2020-05-22 07:44:23 +00:00
|
|
|
"coveragePathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
|
|
|
"/tests/"
|
|
|
|
],
|
2016-06-17 13:48:33 +00:00
|
|
|
"setupFiles": [
|
2017-12-20 10:14:41 +00:00
|
|
|
"./client/tests/adapter.js",
|
2017-02-12 15:29:56 +00:00
|
|
|
"./client/tests/stubs.js",
|
2021-04-24 10:35:47 +00:00
|
|
|
"./client/tests/mock-fetch.js",
|
|
|
|
"./client/tests/mock-jquery.js"
|
2016-06-17 13:48:33 +00:00
|
|
|
],
|
2022-09-01 16:35:44 +00:00
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"./client/tests/utils.js"
|
|
|
|
],
|
2016-06-17 13:48:33 +00:00
|
|
|
"snapshotSerializers": [
|
|
|
|
"enzyme-to-json/serializer"
|
|
|
|
]
|
|
|
|
},
|
2015-04-25 05:46:15 +00:00
|
|
|
"devDependencies": {
|
2022-01-06 21:27:01 +00:00
|
|
|
"@babel/core": "^7.16.7",
|
2022-02-18 16:07:09 +00:00
|
|
|
"@storybook/addon-controls": "^6.4.19",
|
|
|
|
"@storybook/addon-docs": "^6.4.19",
|
|
|
|
"@storybook/builder-webpack5": "^6.4.19",
|
|
|
|
"@storybook/manager-webpack5": "^6.4.19",
|
|
|
|
"@storybook/react": "^6.4.19",
|
2021-03-25 09:56:27 +00:00
|
|
|
"@types/draft-js": "^0.10.45",
|
2022-01-06 21:27:01 +00:00
|
|
|
"@types/jest": "^26.0.24",
|
|
|
|
"@types/react": "^16.14.21",
|
2022-06-01 20:01:59 +00:00
|
|
|
"@types/react-dom": "^16.0",
|
2022-01-06 21:27:01 +00:00
|
|
|
"@types/react-redux": "^7.1.20",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.8.0",
|
|
|
|
"@typescript-eslint/parser": "^5.8.0",
|
|
|
|
"@wagtail/eslint-config-wagtail": "^0.4.0",
|
2022-03-15 17:12:27 +00:00
|
|
|
"@wagtail/stylelint-config-wagtail": "^0.5.0",
|
2022-02-27 16:08:38 +00:00
|
|
|
"autoprefixer": "^10.4.2",
|
2022-01-06 21:27:01 +00:00
|
|
|
"babel-loader": "^8.2.3",
|
|
|
|
"copy-webpack-plugin": "^10.2.0",
|
|
|
|
"css-loader": "^6.5.1",
|
|
|
|
"cssnano": "^5.0.14",
|
|
|
|
"enzyme": "^3.11.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.15.6",
|
|
|
|
"enzyme-to-json": "^3.6.2",
|
|
|
|
"eslint": "^8.5.0",
|
|
|
|
"expose-loader": "^3.1.0",
|
2022-02-10 17:20:59 +00:00
|
|
|
"gettext-extractor": "^3.5.3",
|
2021-10-11 12:47:02 +00:00
|
|
|
"jest": "^26.6.3",
|
2022-01-06 21:27:01 +00:00
|
|
|
"mini-css-extract-plugin": "^2.4.5",
|
2022-02-27 16:08:38 +00:00
|
|
|
"postcss": "^8.4.7",
|
2022-01-06 21:27:01 +00:00
|
|
|
"postcss-loader": "^6.2.1",
|
2022-02-04 11:45:08 +00:00
|
|
|
"prettier": "^2.5.1",
|
2022-01-06 21:27:01 +00:00
|
|
|
"react-axe": "^3.5.4",
|
|
|
|
"react-test-renderer": "^16.14.0",
|
2017-12-20 10:14:41 +00:00
|
|
|
"redux-mock-store": "^1.3.0",
|
2022-01-06 21:27:01 +00:00
|
|
|
"sass": "^1.45.1",
|
|
|
|
"sass-loader": "^12.4.0",
|
2022-04-06 08:56:10 +00:00
|
|
|
"storybook-django": "^0.5.1",
|
2022-01-06 21:27:01 +00:00
|
|
|
"stylelint": "^14.2.0",
|
2022-07-08 11:26:55 +00:00
|
|
|
"tailwindcss": "^3.1.5",
|
|
|
|
"tailwindcss-vanilla-rtl": "^0.2.0",
|
2022-01-06 21:27:01 +00:00
|
|
|
"ts-jest": "^26.5.6",
|
|
|
|
"ts-loader": "^9.2.6",
|
|
|
|
"typescript": "^4.5.4",
|
|
|
|
"webpack": "^5.65.0",
|
|
|
|
"webpack-cli": "^4.9.1"
|
2016-02-24 10:44:14 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-03-28 14:43:35 +00:00
|
|
|
"@tippyjs/react": "^4.2.6",
|
2022-05-20 14:02:32 +00:00
|
|
|
"a11y-dialog": "^7.4.0",
|
2021-04-16 17:11:56 +00:00
|
|
|
"draft-js": "^0.10.5",
|
2022-08-18 05:21:55 +00:00
|
|
|
"draftail": "^2.0.0-rc.2",
|
2022-08-09 08:06:28 +00:00
|
|
|
"draftjs-filters": "^3.0.1",
|
2021-04-16 17:11:56 +00:00
|
|
|
"focus-trap-react": "^8.4.2",
|
2021-11-10 12:04:24 +00:00
|
|
|
"immer": "^9.0.6",
|
2021-07-23 09:47:50 +00:00
|
|
|
"js-cookie": "^2.2.1",
|
2019-07-05 11:52:26 +00:00
|
|
|
"prop-types": "^15.6.2",
|
2021-03-19 13:17:58 +00:00
|
|
|
"react": "^16.14.0",
|
|
|
|
"react-dom": "^16.14.0",
|
2021-03-19 13:21:14 +00:00
|
|
|
"react-redux": "^7.2.2",
|
2017-05-28 18:49:05 +00:00
|
|
|
"react-transition-group": "^1.1.3",
|
2019-07-05 11:52:26 +00:00
|
|
|
"redux": "^4.0.0",
|
|
|
|
"redux-thunk": "^2.3.0",
|
2021-04-01 09:00:22 +00:00
|
|
|
"reselect": "^4.0.0",
|
2021-04-14 19:58:40 +00:00
|
|
|
"telepath-unpack": "^0.0.3",
|
2022-03-28 14:43:35 +00:00
|
|
|
"tippy.js": "^6.3.7",
|
2022-01-31 23:46:20 +00:00
|
|
|
"uuid": "^8.3.2"
|
2015-04-25 05:46:15 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-12-23 04:21:23 +00:00
|
|
|
"start": "webpack --config ./client/webpack.config.js --mode development --progress --watch",
|
|
|
|
"build": "webpack --config ./client/webpack.config.js --mode production",
|
2022-02-18 16:07:09 +00:00
|
|
|
"fix:js": "eslint --ext .js,.ts,.tsx --fix .",
|
2022-06-22 16:11:15 +00:00
|
|
|
"format": "prettier --write \"**/?(.)*.{css,scss,js,ts,tsx,json,yaml,yml}\"",
|
2022-02-18 16:07:09 +00:00
|
|
|
"lint:js": "eslint --ext .js,.ts,.tsx --report-unused-disable-directives .",
|
2017-08-18 00:28:38 +00:00
|
|
|
"lint:css": "stylelint **/*.scss",
|
2022-06-22 16:11:15 +00:00
|
|
|
"lint:format": "prettier --check \"**/?(.)*.{css,scss,js,ts,tsx,json,yaml,yml}\"",
|
2022-02-04 11:45:08 +00:00
|
|
|
"lint": "npm run lint:js && npm run lint:css && npm run lint:format",
|
2016-02-24 10:44:14 +00:00
|
|
|
"test": "npm run test:unit",
|
2016-06-17 13:48:33 +00:00
|
|
|
"test:unit": "jest",
|
|
|
|
"test:unit:watch": "jest --watch",
|
2021-04-23 20:25:05 +00:00
|
|
|
"test:unit:coverage": "jest --coverage",
|
2021-11-12 16:27:10 +00:00
|
|
|
"test:integration": "./client/tests/integration/node_modules/.bin/jest --config ./client/tests/integration/jest.config.js",
|
2022-02-18 15:34:33 +00:00
|
|
|
"storybook": "start-storybook -c client/storybook -p 6006 --no-open --no-version-updates --no-release-notes --quiet --modern",
|
|
|
|
"build-storybook": "build-storybook -c client/storybook --modern"
|
2015-04-25 05:46:15 +00:00
|
|
|
}
|
2015-04-25 05:48:06 +00:00
|
|
|
}
|