2015-04-25 07:46:15 +02:00
|
|
|
{
|
|
|
|
"name": "wagtail",
|
|
|
|
"version": "1.0.0",
|
2016-12-15 12:49:49 +01:00
|
|
|
"repository": "https://github.com/wagtail/wagtail",
|
2015-04-25 07:46:15 +02:00
|
|
|
"private": true,
|
2020-04-28 22:23:15 +02:00
|
|
|
"engines": {
|
2021-08-30 12:41:17 +02:00
|
|
|
"node": ">=14.0.0"
|
2020-04-28 22:23:15 +02:00
|
|
|
},
|
2020-05-28 02:33:36 +02: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-01-14 11:13:25 +01:00
|
|
|
"last 3 Safari versions"
|
2020-05-28 02:33:36 +02:00
|
|
|
],
|
2016-06-17 15:48:33 +02:00
|
|
|
"jest": {
|
2020-10-21 10:42:14 +02:00
|
|
|
"moduleFileExtensions": [
|
|
|
|
"js",
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"json",
|
|
|
|
"node"
|
|
|
|
],
|
2020-12-21 15:58:12 +01:00
|
|
|
"moduleNameMapper": {
|
2021-10-08 16:59:16 +02:00
|
|
|
"jquery": "<rootDir>/wagtail/admin/static_src/wagtailadmin/js/vendor/jquery-3.6.0.min.js"
|
2020-12-21 15:58:12 +01:00
|
|
|
},
|
2020-10-21 10:42:14 +02:00
|
|
|
"transform": {
|
|
|
|
"^.+\\.(js|ts|tsx)$": "ts-jest"
|
|
|
|
},
|
2018-01-19 17:02:49 +01:00
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
2021-11-12 17:27:10 +01:00
|
|
|
"/build/",
|
|
|
|
"client/tests/integration"
|
2018-01-19 17:02:49 +01:00
|
|
|
],
|
2020-05-22 09:44:23 +02:00
|
|
|
"coveragePathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
|
|
|
"/tests/"
|
|
|
|
],
|
2016-06-17 15:48:33 +02:00
|
|
|
"setupFiles": [
|
2017-12-20 11:14:41 +01:00
|
|
|
"./client/tests/adapter.js",
|
2017-02-12 16:29:56 +01:00
|
|
|
"./client/tests/stubs.js",
|
2021-04-24 12:35:47 +02:00
|
|
|
"./client/tests/mock-fetch.js",
|
|
|
|
"./client/tests/mock-jquery.js"
|
2016-06-17 15:48:33 +02:00
|
|
|
],
|
|
|
|
"snapshotSerializers": [
|
|
|
|
"enzyme-to-json/serializer"
|
|
|
|
]
|
|
|
|
},
|
2015-04-25 07:46:15 +02:00
|
|
|
"devDependencies": {
|
2021-04-23 22:25:05 +02:00
|
|
|
"@babel/core": "^7.13.16",
|
2021-04-24 10:36:47 +02:00
|
|
|
"@storybook/addon-actions": "^6.3.0-alpha.14",
|
|
|
|
"@storybook/addon-essentials": "^6.3.0-alpha.14",
|
|
|
|
"@storybook/addon-links": "^6.3.0-alpha.14",
|
|
|
|
"@storybook/builder-webpack5": "^6.3.0-alpha.14",
|
|
|
|
"@storybook/react": "^6.3.0-alpha.14",
|
2021-03-25 10:56:27 +01:00
|
|
|
"@types/draft-js": "^0.10.45",
|
2020-10-19 19:30:43 +02:00
|
|
|
"@types/react": "^16.9.53",
|
2021-03-25 10:56:27 +01:00
|
|
|
"@types/react-redux": "^7.1.16",
|
2021-03-25 10:00:15 +01:00
|
|
|
"@types/redux": "^3.6.0",
|
2020-10-21 01:51:09 +02:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.5.0",
|
|
|
|
"@typescript-eslint/parser": "^4.5.0",
|
2021-12-16 22:10:18 +01:00
|
|
|
"@wagtail/stylelint-config-wagtail": "^0.2",
|
2020-06-03 13:06:12 +02:00
|
|
|
"autoprefixer": "^9.8.0",
|
2021-01-04 16:25:45 +01:00
|
|
|
"babel-eslint": "^10.1.0",
|
2021-04-23 22:25:05 +02:00
|
|
|
"babel-loader": "^8.2.2",
|
2020-06-03 13:06:12 +02:00
|
|
|
"cssnano": "^4.1.10",
|
2021-04-24 10:36:47 +02:00
|
|
|
"dotenv-webpack": "^7.0.2",
|
2019-07-05 13:52:26 +02:00
|
|
|
"enzyme": "^3.9.0",
|
|
|
|
"enzyme-adapter-react-16": "^1.9.1",
|
2017-12-20 11:14:41 +01:00
|
|
|
"enzyme-to-json": "^3.3.0",
|
2021-03-25 10:56:27 +01:00
|
|
|
"eslint": "^7.20.0",
|
2020-10-21 01:51:09 +02:00
|
|
|
"eslint-config-wagtail": "^0.1.1",
|
2017-04-10 21:34:15 +02:00
|
|
|
"eslint-import-resolver-webpack": "^0.8.1",
|
2016-02-26 22:10:54 +01:00
|
|
|
"eslint-plugin-import": "^1.8.1",
|
|
|
|
"eslint-plugin-jsx-a11y": "^1.5.3",
|
2016-06-17 15:48:33 +02:00
|
|
|
"eslint-plugin-react": "^5.2.2",
|
2020-12-27 18:53:41 +01:00
|
|
|
"expose-loader": "^1.0.3",
|
2020-06-03 13:06:12 +02:00
|
|
|
"gulp": "^4.0.2",
|
2020-05-08 01:33:49 +02:00
|
|
|
"gulp-dart-sass": "^1.0.2",
|
2020-06-03 13:06:12 +02:00
|
|
|
"gulp-postcss": "^8.0.0",
|
2015-04-25 07:46:15 +02:00
|
|
|
"gulp-rename": "^1.2.2",
|
2020-05-28 02:33:36 +02:00
|
|
|
"gulp-size": "^3.0.0",
|
2017-12-20 11:14:41 +01:00
|
|
|
"gulp-sourcemaps": "~2.6.1",
|
|
|
|
"gulp-util": "~3.0.8",
|
2021-04-23 22:25:05 +02:00
|
|
|
"html-webpack-plugin": "^5.3.1",
|
2021-10-11 14:47:02 +02:00
|
|
|
"jest": "^26.6.3",
|
2018-11-28 12:35:21 +01:00
|
|
|
"npm-run-all": "^4.1.5",
|
2021-01-17 03:17:41 +01:00
|
|
|
"postcss-custom-properties": "^10.0.0",
|
2019-04-24 15:07:39 +02:00
|
|
|
"react-axe": "^3.1.0",
|
2020-10-09 15:32:16 +02:00
|
|
|
"react-test-renderer": "^16.13.1",
|
2017-12-20 11:14:41 +01:00
|
|
|
"redux-mock-store": "^1.3.0",
|
2021-12-16 22:10:18 +01:00
|
|
|
"stylelint": "^13.13.1",
|
2020-10-21 10:42:14 +02:00
|
|
|
"ts-jest": "^26.4.1",
|
2021-05-04 15:35:15 +02:00
|
|
|
"ts-loader": "^9.1.1",
|
2020-10-21 01:51:09 +02:00
|
|
|
"typescript": "^4.0.3",
|
2021-04-24 10:36:47 +02:00
|
|
|
"webpack": "^5.35.1",
|
|
|
|
"webpack-cli": "^3.3.12"
|
2016-02-24 11:44:14 +01:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2018-01-17 10:23:37 +01:00
|
|
|
"core-js": "^2.5.3",
|
2021-04-16 19:11:56 +02:00
|
|
|
"draft-js": "^0.10.5",
|
|
|
|
"draftail": "^1.4.1",
|
2021-03-25 10:56:27 +01:00
|
|
|
"draftjs-filters": "^2.5.0",
|
2018-02-09 23:07:29 +01:00
|
|
|
"element-closest": "^2.0.2",
|
2021-04-16 19:11:56 +02:00
|
|
|
"focus-trap-react": "^8.4.2",
|
2021-04-06 15:33:23 +02:00
|
|
|
"formdata-polyfill": "^3.0.20",
|
2021-11-10 13:04:24 +01:00
|
|
|
"immer": "^9.0.6",
|
2021-07-23 11:47:50 +02:00
|
|
|
"js-cookie": "^2.2.1",
|
2021-01-17 03:17:41 +01:00
|
|
|
"postcss-calc": "^7.0.5",
|
2019-07-05 13:52:26 +02:00
|
|
|
"prop-types": "^15.6.2",
|
2021-03-19 14:17:58 +01:00
|
|
|
"react": "^16.14.0",
|
|
|
|
"react-dom": "^16.14.0",
|
2021-03-19 14:21:14 +01:00
|
|
|
"react-redux": "^7.2.2",
|
2017-05-28 20:49:05 +02:00
|
|
|
"react-transition-group": "^1.1.3",
|
2019-07-05 13:52:26 +02:00
|
|
|
"redux": "^4.0.0",
|
|
|
|
"redux-thunk": "^2.3.0",
|
2021-04-01 11:00:22 +02:00
|
|
|
"reselect": "^4.0.0",
|
2021-04-14 21:58:40 +02:00
|
|
|
"telepath-unpack": "^0.0.3",
|
2021-04-22 16:58:08 +02:00
|
|
|
"url-search-params-polyfill": "^8.1.1",
|
2021-03-19 12:12:03 +01:00
|
|
|
"uuid": "^8.3.2",
|
2017-12-20 11:14:41 +01:00
|
|
|
"whatwg-fetch": "^2.0.3"
|
2015-04-25 07:46:15 +02:00
|
|
|
},
|
|
|
|
"scripts": {
|
2017-09-17 19:40:34 +02:00
|
|
|
"build": "npm run gulp:prod:build && npm run webpack:prod:build",
|
2016-04-21 23:31:50 +02:00
|
|
|
"dist": "NODE_ENV=production npm run build",
|
2017-09-17 19:40:34 +02:00
|
|
|
"watch": "npm-run-all --parallel gulp:dev:watch webpack:dev:watch",
|
2016-02-24 11:44:14 +01:00
|
|
|
"start": "npm run watch",
|
2017-09-17 19:40:34 +02:00
|
|
|
"gulp:dev:watch": "gulp watch",
|
|
|
|
"gulp:prod:build": "gulp build",
|
2020-10-21 12:33:31 +02:00
|
|
|
"webpack:dev:watch": "webpack --config ./client/webpack.config.js --mode development --progress --watch",
|
|
|
|
"webpack:prod:build": "webpack --config ./client/webpack.config.js --mode production",
|
2021-09-23 14:39:38 +02:00
|
|
|
"fix:js": "eslint --fix ./",
|
|
|
|
"lint:js": "eslint --report-unused-disable-directives ./",
|
2017-08-18 02:28:38 +02:00
|
|
|
"lint:css": "stylelint **/*.scss",
|
2019-05-05 07:48:01 +02:00
|
|
|
"lint": "npm run lint:js && npm run lint:css",
|
2016-02-24 11:44:14 +01:00
|
|
|
"test": "npm run test:unit",
|
2016-06-17 15:48:33 +02:00
|
|
|
"test:unit": "jest",
|
|
|
|
"test:unit:watch": "jest --watch",
|
2021-04-23 22:25:05 +02:00
|
|
|
"test:unit:coverage": "jest --coverage",
|
2021-11-12 17:27:10 +01:00
|
|
|
"test:integration": "./client/tests/integration/node_modules/.bin/jest --config ./client/tests/integration/jest.config.js",
|
2021-04-23 22:25:05 +02:00
|
|
|
"storybook": "start-storybook -c client/.storybook -p 6006",
|
|
|
|
"build-storybook": "build-storybook -c client/.storybook"
|
2015-04-25 07:46:15 +02:00
|
|
|
}
|
2015-04-25 07:48:06 +02:00
|
|
|
}
|