-
Notifications
You must be signed in to change notification settings - Fork 139
/
package.json
159 lines (159 loc) · 5.2 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
{
"name": "redirection",
"version": "5.5.1",
"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": "dev/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 && rm release/api/*.md",
"dist": "yarn release && rm -rf redirection dist && mkdir -p dist && mv release redirection && zip redirection.zip -r redirection && mv redirection.zip dist && mv redirection release",
"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",
"update": "ncu -u"
},
"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.26.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@redux-devtools/extension": "^3.3.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-highlight-words": "^0.20.0",
"@types/react-redux": "^7.1.34",
"@wordpress/base-styles": "^5.12.0",
"@wordpress/eslint-plugin": "^21.5.0",
"@wordpress/jest-preset-default": "^12.12.0",
"@wordpress/prettier-config": "^4.12.0",
"@wordpress/scripts": "^30.5.1",
"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.2.1",
"chai": "^5.1.2",
"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.31.0",
"html-webpack-plugin": "^5.6.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"json-loader": "^0.5.7",
"mocha": "^10.8.2",
"node-fetch": "3",
"npm-check-updates": "^17.1.11",
"path": "^0.12.7",
"postcss": "^8.4.49",
"postcss-focus": "^7.0.0",
"postcss-loader": "^8.1.1",
"postcss-preset-env": "^10.1.1",
"postcss-reporter": "^7.1.0",
"prettier": "npm:[email protected]",
"redux-devtools-extension": "^2.13.9",
"release-it": "^17.10.0",
"request-promise": "^4.2.6",
"sass-loader": "^16.0.3",
"style-loader": "4.0.0",
"stylelint": "^16.10.0",
"stylelint-config-wordpress": "^17.0.0",
"underscore": "^1.13.7",
"webpack": "^5.96.1",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-bundle-size-analyzer": "^3.1.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@emotion/react": "^11.13.5",
"@wordpress/element": "^6.12.0",
"@wordpress/i18n": "^5.12.0",
"classnames": "^2.5.1",
"deep-equal": "^2.2.3",
"lru": "^3.1.0",
"qs": "^6.13.1",
"rc-progress": "^4.0.0",
"rc-util": "^5.43.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-dropzone": "^14.3.5",
"react-focus-lock": "^2.13.2",
"react-highlight-words": "^0.20.0",
"react-redux": "^9.1.2",
"react-textarea-autosize": "^8.5.5",
"redux": "^5.0.1",
"redux-thunk": "^3.1.0",
"request": "^2.88.2",
"typescript": "^5.7.2",
"url": "^0.11.4",
"use-debounce": "^10.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": "6.4"
},
"engines": {
"node": ">=12.14.0",
"npm": ">=6.14.8"
},
"release-it": {
"github": {
"assets": [
"dist/redirection.zip"
]
},
"npm": false
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}