0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-21 18:09:02 +01:00
wagtail/package.json

155 lines
4.7 KiB
JSON

{
"name": "wagtail",
"version": "1.0.0",
"repository": "https://github.com/wagtail/wagtail",
"private": true,
"engines": {
"node": ">=20.0.0"
},
"browserslist": [
"Firefox ESR",
"last 2 Chrome versions",
"last 2 ChromeAndroid versions",
"last 2 Edge versions",
"last 1 Firefox version",
"iOS >= 16",
"Safari >= 15",
"not ie 11"
],
"jest": {
"moduleFileExtensions": [
"js",
"ts",
"tsx",
"json",
"node"
],
"moduleNameMapper": {
"jquery": "<rootDir>/wagtail/admin/static_src/wagtailadmin/js/vendor/jquery-3.6.0.min.js"
},
"transform": {
"^.+\\.(js|ts|tsx)$": "ts-jest"
},
"testEnvironment": "jsdom",
"testPathIgnorePatterns": [
"/node_modules/",
"/build/",
"client/tests/integration"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/tests/"
],
"setupFiles": [
"./client/tests/adapter.js",
"./client/tests/stubs.js",
"./client/tests/mock-fetch.js",
"./client/tests/mock-jquery.js"
],
"setupFilesAfterEnv": [
"./client/tests/utils.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/preset-env": "^7.23.3",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@storybook/addon-controls": "^7.5.3",
"@storybook/addon-docs": "^7.5.3",
"@storybook/react": "^7.5.3",
"@storybook/react-webpack5": "^7.5.3",
"@types/autosize": "^4.0.1",
"@types/draft-js": "^0.10.45",
"@types/jest": "^29.5.3",
"@types/jquery": "^3.5.16",
"@types/react": "^16.14.21",
"@types/react-dom": "^16.0",
"@types/react-redux": "^7.1.20",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@wagtail/eslint-config-wagtail": "^0.4.0",
"@wagtail/stylelint-config-wagtail": "^0.7.0",
"autoprefixer": "^10.4.2",
"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.7",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.46.0",
"eslint-plugin-storybook": "^0.6.15",
"expose-loader": "^3.1.0",
"gettext-extractor": "^3.5.3",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"mini-css-extract-plugin": "^2.4.5",
"postcss": "^8.4.31",
"postcss-loader": "^6.2.1",
"prettier": "^3.0.0",
"react-test-renderer": "^16.14.0",
"redux-mock-store": "^1.3.0",
"sass": "^1.69.5",
"sass-loader": "^12.4.0",
"storybook": "^7.5.3",
"storybook-django": "^0.5.1",
"stylelint": "^15.11.0",
"tailwindcss": "^3.1.5",
"tailwindcss-vanilla-rtl": "^0.2.0",
"ts-jest": "^29.1.0",
"ts-loader": "^9.5.1",
"typescript": "^5.2.2",
"webpack": "^5.76.0",
"webpack-cli": "^4.9.1"
},
"dependencies": {
"@hotwired/stimulus": "^3.2.2",
"@tippyjs/react": "^4.2.6",
"a11y-dialog": "^8.0.0",
"autosize": "^6.0.1",
"axe-core": "^4.7.2",
"downshift": "^7.2.0",
"draft-js": "^0.10.5",
"draftail": "^2.0.0-rc.6",
"draftjs-filters": "^3.0.1",
"focus-trap-react": "^8.4.2",
"immer": "^9.0.6",
"js-cookie": "^3.0.5",
"prop-types": "^15.6.2",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-redux": "^7.2.2",
"react-transition-group": "^1.1.3",
"redux": "^4.0.0",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"telepath-unpack": "^0.0.3",
"tippy.js": "^6.3.7",
"uuid": "^9.0.0"
},
"scripts": {
"start": "webpack --config ./client/webpack.config.js --mode development --progress --watch",
"build": "webpack --config ./client/webpack.config.js --mode production",
"fix:css": "stylelint --fix **/*.scss",
"fix:js": "eslint --ext .js,.ts,.tsx --fix .",
"fix": "npm run fix:css && npm run fix:js",
"format": "prettier --write \"**/?(.)*.{css,scss,js,ts,tsx,json,yaml,yml}\"",
"lint:js": "eslint --ext .js,.ts,.tsx --report-unused-disable-directives .",
"lint:css": "stylelint **/*.scss",
"lint:format": "prettier --check \"**/?(.)*.{css,scss,js,ts,tsx,json,yaml,yml}\"",
"lint:ts": "tsc --noEmit",
"lint": "npm run lint:js && npm run lint:ts && npm run lint:css && npm run lint:format",
"test": "npm run test:unit",
"test:unit": "jest",
"test:unit:watch": "jest --watch",
"test:unit:coverage": "jest --coverage",
"test:integration": "./client/tests/integration/node_modules/.bin/jest --config ./client/tests/integration/jest.config.js",
"storybook": "storybook dev -c client/storybook -p 6006 --no-open --no-version-updates",
"build-storybook": "storybook build -c client/storybook"
}
}