forked from wagtail/wagtail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
144 lines (144 loc) · 4.34 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
{
"name": "wagtail",
"version": "1.0.0",
"repository": "https://github.com/wagtail/wagtail",
"private": true,
"engines": {
"node": ">=14.0.0"
},
"browserslist": [
"Firefox ESR",
"ie 11",
"last 2 Chrome versions",
"last 2 ChromeAndroid versions",
"last 2 Edge versions",
"last 1 Firefox version",
"last 2 iOS versions",
"last 2 Safari versions"
],
"jest": {
"moduleFileExtensions": [
"js",
"ts",
"tsx",
"json",
"node"
],
"moduleNameMapper": {
"jquery": "<rootDir>/wagtail/admin/static_src/wagtailadmin/js/vendor/jquery-3.5.1.min.js"
},
"transform": {
"^.+\\.(js|ts|tsx)$": "ts-jest"
},
"testPathIgnorePatterns": [
"/node_modules/",
"/build/"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/tests/"
],
"setupFiles": [
"./client/tests/adapter.js",
"./client/tests/stubs.js",
"./client/tests/mock-fetch.js",
"./client/tests/mock-jquery.js"
],
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"devDependencies": {
"@babel/core": "^7.13.16",
"@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",
"@types/draft-js": "^0.10.45",
"@types/react": "^16.9.53",
"@types/react-redux": "^7.1.16",
"@types/redux": "^3.6.0",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"@wagtail/stylelint-config-wagtail": "^0.1.1",
"autoprefixer": "^9.8.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"cssnano": "^4.1.10",
"dotenv-webpack": "^7.0.2",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.9.1",
"enzyme-to-json": "^3.3.0",
"eslint": "^7.20.0",
"eslint-config-wagtail": "^0.1.1",
"eslint-import-resolver-webpack": "^0.8.1",
"eslint-plugin-import": "^1.8.1",
"eslint-plugin-jsx-a11y": "^1.5.3",
"eslint-plugin-react": "^5.2.2",
"expose-loader": "^1.0.3",
"gulp": "^4.0.2",
"gulp-dart-sass": "^1.0.2",
"gulp-postcss": "^8.0.0",
"gulp-rename": "^1.2.2",
"gulp-size": "^3.0.0",
"gulp-sourcemaps": "~2.6.1",
"gulp-util": "~3.0.8",
"html-webpack-plugin": "^5.3.1",
"jest": "^26.6.0",
"npm-run-all": "^4.1.5",
"postcss-custom-properties": "^10.0.0",
"react-axe": "^3.1.0",
"react-test-renderer": "^16.13.1",
"redux-mock-store": "^1.3.0",
"stylelint": "^13.5.0",
"ts-jest": "^26.4.1",
"ts-loader": "^9.1.1",
"typescript": "^4.0.3",
"webpack": "^5.35.1",
"webpack-cli": "^3.3.12"
},
"dependencies": {
"core-js": "^2.5.3",
"draft-js": "^0.10.5",
"draftail": "^1.4.1",
"draftjs-filters": "^2.5.0",
"element-closest": "^2.0.2",
"focus-trap-react": "^8.4.2",
"formdata-polyfill": "^3.0.20",
"immer": "^9.0.1",
"js-cookie": "^2.2.1",
"postcss-calc": "^7.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",
"url-search-params-polyfill": "^8.1.1",
"uuid": "^8.3.2",
"whatwg-fetch": "^2.0.3"
},
"scripts": {
"build": "npm run gulp:prod:build && npm run webpack:prod:build",
"dist": "NODE_ENV=production npm run build",
"watch": "npm-run-all --parallel gulp:dev:watch webpack:dev:watch",
"start": "npm run watch",
"gulp:dev:watch": "gulp watch",
"gulp:prod:build": "gulp build",
"webpack:dev:watch": "webpack --config ./client/webpack.config.js --mode development --progress --watch",
"webpack:prod:build": "webpack --config ./client/webpack.config.js --mode production",
"lint:js": "eslint --report-unused-disable-directives --max-warnings 16 ./client",
"lint:css": "stylelint **/*.scss",
"lint": "npm run lint:js && npm run lint:css",
"test": "npm run test:unit",
"test:unit": "jest",
"test:unit:watch": "jest --watch",
"test:unit:coverage": "jest --coverage",
"storybook": "start-storybook -c client/.storybook -p 6006",
"build-storybook": "build-storybook -c client/.storybook"
}
}