forked from johngodley/redirection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
193 lines (193 loc) · 6.3 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
{
"name": "redirection",
"version": "5.3.9",
"description": "Redirection is a WordPress plugin to manage 301 redirections and keep track of 404 errors without requiring knowledge of Apache .htaccess files.",
"main": "redirection.php",
"browser": {
"redirection.php": false
},
"sideEffects": true,
"scripts": {
"test": "jest --testPathIgnorePatterns='/node_modules/|/e2e/'",
"watch": "jest --watch",
"testsetup": "bin/install-wp-tests.sh wordpress_test wp wp localhost latest",
"start": "NODE_ENV=development DEBUG=redirection* webpack serve --progress --color --port 3312",
"build": "gulp version && NODE_ENV=production webpack --progress --color --config ./webpack.config.js --mode production",
"localbuild": "NODE_ENV=production webpack serve --progress --color --hot --config ./webpack.config.js --port 3312 --mode production",
"lint": "eslint --cache --ext=.js src",
"stat": "NODE_ENV=production webpack --json --mode production | webpack-bundle-size-analyzer",
"e2e": "NODE_ENV=e2e jest --config=e2e-jest.js --testPathIgnorePatterns='/node_modules/|/client/' --testTimeout=30000 e2e",
"up": "docker compose up",
"down": "docker compose down",
"clean": "docker compose down && docker compose rm && docker volume prune",
"cli": "docker compose run cli sh",
"export": "docker compose run cli wp redirection export all /opt/redirection/redirects.json",
"release": "rm -rf node_modules && yarn install && yarn dist && gulp version",
"doc": "apidoc -v -i api/ -o ./api-doc/",
"phpcs": "phpcs ./models ./api ./actions ./modules ./matches ./fileio ./database ./*.php",
"phpunit": "WP_TESTS_DIR=/var/folders/9z/t36wpw1d6hzdy4x5sfq8nqt00000gn/T/wordpress-tests-lib ./vendor/bin/phpunit",
"psalm": "./vendor/vimeo/psalm/psalm --show-info=true",
"psalm-taint": "./vendor/vimeo/psalm/psalm --show-info=true --taint-analysis",
"locale": "rm -rf language/*.po language/*.mo language/json/*.json && composer run-script pot && yarn locale:download && yarn locale:json",
"locale:download": "gulp potDownload",
"locale:json": "gulp potJson",
"svn": "gulp svn",
"plugin": "gulp plugin",
"test:php": "composer run-script test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/johngodley/redirection.git"
},
"keywords": [
"post",
"admin",
"seo",
"pages",
"manage",
"301",
"404",
"redirect",
"permalink"
],
"author": "John Godley",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/johngodley/redirection/issues"
},
"homepage": "https://github.com/johngodley/redirection",
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.20.2",
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
"@babel/plugin-proposal-function-sent": "^7.18.6",
"@babel/plugin-proposal-json-strings": "^7.18.6",
"@babel/plugin-proposal-numeric-separator": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.2",
"@babel/plugin-proposal-throw-expressions": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@redux-devtools/extension": "^3.2.3",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.8",
"@types/react-highlight-words": "^0.16.4",
"@types/react-redux": "^7.1.24",
"@wordpress/base-styles": "^4.12.0",
"@wordpress/eslint-plugin": "^13.5.0",
"@wordpress/jest-preset-default": "^10.2.0",
"@wordpress/prettier-config": "^2.4.0",
"apidoc": "^0.53.1",
"autoprefixer": "^10.4.13",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.2.2",
"babel-loader": "^9.1.0",
"chai": "^4.3.6",
"css-loader": "^6.7.1",
"download": "^8.0.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint-import-resolver-node": "0.3.6",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.26.0",
"exports-loader": "^4.0.0",
"extract-text-webpack-plugin": "3.0.2",
"glob-all": "^3.3.1",
"gulp": "^4.0.2",
"gulp-deleted": "1.0.0",
"gulp-po2json": "^1.0.0",
"gulp-zip": "^5.1.0",
"he": "^1.2.0",
"html-webpack-plugin": "^5.5.0",
"imports-loader": "^4.0.1",
"jest": "^29.2.2",
"jest-environment-jsdom": "^29.2.2",
"json-loader": "^0.5.7",
"mocha": "^10.1.0",
"node-fetch": "2",
"node-sass": "^7.0.3",
"null-loader": "^4.0.1",
"path": "^0.12.7",
"postcss": "^8.4.18",
"postcss-focus": "^5.0.1",
"postcss-loader": "^7.0.1",
"postcss-preset-env": "^7.8.2",
"postcss-reporter": "^7.0.5",
"prettier": "npm:wp-prettier@2.6.2",
"redux-devtools-extension": "^2.13.9",
"request-promise": "^4.2.6",
"sass-loader": "^13.1.0",
"shared-git-hooks": "^1.2.1",
"style-loader": "3.3.1",
"stylelint": "^14.14.1",
"stylelint-config-wordpress": "^17.0.0",
"through": "^2.3.8",
"through2": "^4.0.2",
"underscore": "^1.13.6",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-bundle-size-analyzer": "^3.1.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1"
},
"dependencies": {
"@emotion/react": "^11.10.5",
"@wordpress/element": "^4.19.0",
"@wordpress/i18n": "^4.21.0",
"classnames": "^2.3.2",
"deep-equal": "^2.1.0",
"lru": "^3.1.0",
"qs": "^6.11.0",
"rc-progress": "^3.4.1",
"rc-util": "^5.24.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
"react-focus-lock": "^2.9.1",
"react-highlight-words": "^0.18.0",
"react-redux": "^8.0.5",
"react-textarea-autosize": "^8.3.4",
"redux": "^4.2.0",
"redux-thunk": "^2.4.2",
"typescript": "^4.8.4",
"url": "^0.11.0",
"use-debounce": "^8.0.4"
},
"jest": {
"modulePaths": [
"./client"
],
"moduleNameMapper": {
"^.+\\.(css|less|scss)$": "babel-jest"
},
"testEnvironment": "jsdom"
},
"apidoc": {
"name": "Redirection REST API",
"version": "0.1.0",
"description": "WordPress REST API documentation for Redirection",
"title": "Redirection REST API",
"url": "https://redirection.me/wp-json",
"header": {
"title": "Introduction",
"filename": "./api/header.md"
},
"footer": {
"filename": "./api/footer.md"
},
"template": {
"withCompare": false
}
},
"wordpress": {
"supported": "5.4"
},
"engines": {
"node": ">=12.14.0",
"npm": ">=6.14.8"
}
}