forked from wagtail/wagtail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 4.83 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "wagtail",
"version": "1.0.0",
"repository": "https://github.com/wagtail/wagtail",
"private": true,
"engines": {
"node": ">=22"
},
"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.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@storybook/addon-controls": "^7.6.14",
"@storybook/addon-docs": "^7.6.14",
"@storybook/react": "^7.6.14",
"@storybook/react-webpack5": "^7.6.14",
"@types/autosize": "^4.0.3",
"@types/draft-js": "^0.10.45",
"@types/jest": "^29.5.14",
"@types/jquery": "^3.5.32",
"@types/mousetrap": "^1.6.15",
"@types/react": "^16.14.21",
"@types/react-dom": "^16.0",
"@types/react-redux": "^7.1.34",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@wagtail/eslint-config-wagtail": "^0.4.0",
"@wagtail/stylelint-config-wagtail": "^0.8.0",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.2.1",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.10.0",
"cssnano": "^5.1.15",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.8",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.56.0",
"eslint-plugin-storybook": "^0.6.15",
"expose-loader": "^5.0.0",
"gettext-extractor": "^3.8.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mini-css-extract-plugin": "^2.9.2",
"postcss": "^8.4.47",
"postcss-loader": "^8.1.1",
"prettier": "^3.3.3",
"react-test-renderer": "^16.14.0",
"redux-mock-store": "^1.5.5",
"sass": "^1.80.6",
"sass-loader": "^14.1.0",
"storybook": "^7.6.14",
"storybook-django": "^0.5.1",
"stylelint": "^15.11.0",
"tailwindcss": "^3.4.14",
"tailwindcss-vanilla-rtl": "^0.4.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"typescript": "^5.6.3",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@hotwired/stimulus": "^3.2.2",
"@tippyjs/react": "^4.2.6",
"a11y-dialog": "^8.1.1",
"autosize": "^6.0.1",
"axe-core": "^4.10.2",
"downshift": "^7.6.2",
"draft-js": "^0.10.5",
"draftail": "^2.0.0-rc.6",
"draftjs-filters": "^3.0.1",
"focus-trap-react": "^8.11.3",
"immer": "^9.0.21",
"js-cookie": "^3.0.5",
"mousetrap": "^1.6.5",
"prop-types": "^15.8.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-redux": "^7.2.2",
"react-transition-group": "^1.1.3",
"redux": "^4.2.1",
"redux-thunk": "^2.4.2",
"reselect": "^4.1.8",
"sortablejs": "^1.15.3",
"telepath-unpack": "^0.0.3",
"tippy.js": "^6.3.7",
"uuid": "^9.0.1"
},
"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"
}
}