forked from johngodley/redirection
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 5 KB
/
package.json
File metadata and controls
158 lines (158 loc) · 5 KB
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
{
"name": "redirection",
"version": "5.5.0",
"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/'",
"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": "yarn build:version && NODE_ENV=production webpack --progress --color --config ./webpack.config.js --mode production",
"build:version": "./dev/generate-version.sh $npm_package_version $npm_package_wordpress_supported",
"release": "yarn build && rm -rf release && mkdir -p release && cp -R *.php readme.txt redirection.js redirection.css license.txt modules models matches images fileio database api actions release",
"dist": "yarn release && rm -rf redirection dist && mkdir -p dist && mv release redirection && zip redirection.zip -r redirection && mv redirection.zip dist && rm -rf redirection",
"dist:github": "yarn dist && release-it",
"dist:svn": "yarn dist && ./dev/svn.sh $npm_package_version",
"e2e": "NODE_ENV=e2e jest --config=e2e-jest.js --testPathIgnorePatterns='/node_modules/|/client/' --testTimeout=30000 e2e",
"doc": "apidoc -v -i api/ -o ./api-doc/",
"phpunit": "WP_TESTS_DIR=/var/folders/9z/t36wpw1d6hzdy4x5sfq8nqt00000gn/T/wordpress-tests-lib ./vendor/bin/phpunit",
"test:php": "composer run-script test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/johngodley/redirection.git"
},
"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.25.2",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.25.3",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@redux-devtools/extension": "^3.3.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-highlight-words": "^0.20.0",
"@types/react-redux": "^7.1.33",
"@wordpress/base-styles": "^5.4.0",
"@wordpress/eslint-plugin": "^20.1.0",
"@wordpress/jest-preset-default": "^12.4.0",
"@wordpress/prettier-config": "^4.4.0",
"@wordpress/scripts": "^28.4.0",
"apidoc": "^1.2.0",
"autoprefixer": "^10.4.20",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"chai": "^5.1.1",
"css-loader": "^7.1.2",
"download": "^8.0.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint-import-resolver-node": "0.3.9",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.29.1",
"html-webpack-plugin": "^5.6.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"json-loader": "^0.5.7",
"mocha": "^10.7.0",
"node-fetch": "2",
"node-sass": "^9.0.0",
"npm-check-updates": "^17.0.2",
"path": "^0.12.7",
"postcss": "^8.4.40",
"postcss-focus": "^7.0.0",
"postcss-loader": "^8.1.1",
"postcss-preset-env": "^10.0.0",
"postcss-reporter": "^7.1.0",
"prettier": "npm:wp-prettier@3.0.3",
"redux-devtools-extension": "^2.13.9",
"release-it": "^17.6.0",
"request-promise": "^4.2.6",
"sass-loader": "^16.0.0",
"style-loader": "4.0.0",
"stylelint": "^16.8.1",
"stylelint-config-wordpress": "^17.0.0",
"underscore": "^1.13.7",
"webpack": "^5.93.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-bundle-size-analyzer": "^3.1.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@emotion/react": "^11.13.0",
"@wordpress/element": "^6.4.0",
"@wordpress/i18n": "^5.4.0",
"classnames": "^2.5.1",
"deep-equal": "^2.2.3",
"lru": "^3.1.0",
"qs": "^6.13.0",
"rc-progress": "^4.0.0",
"rc-util": "^5.43.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-dropzone": "^14.2.3",
"react-focus-lock": "^2.12.1",
"react-highlight-words": "^0.20.0",
"react-redux": "^9.1.2",
"react-textarea-autosize": "^8.5.3",
"redux": "^5.0.1",
"redux-thunk": "^3.1.0",
"request": "^2.88.2",
"typescript": "^5.5.4",
"url": "^0.11.4",
"use-debounce": "^10.0.2"
},
"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": "6.4"
},
"engines": {
"node": ">=12.14.0",
"npm": ">=6.14.8"
},
"release-it": {
"github": {
"assets": [
"dist/redirection.zip"
]
},
"npm": false
}
}