-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.61 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 2.61 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
{
"name": "press-this",
"version": "2.0.2",
"description": "A little tool that lets you grab bits of the web and create new posts with ease.",
"repository": {
"type": "git",
"url": "git+https://github.com/WordPress/press-this.git"
},
"author": "WordPress Contributors",
"license": "GPL-2.0+",
"bugs": {
"url": "https://github.com/WordPress/press-this/issues"
},
"homepage": "https://github.com/WordPress/press-this#readme",
"engines": {
"node": ">=22"
},
"scripts": {
"build": "wp-scripts build && npm run build:bookmarklet",
"build:bookmarklet": "terser assets/bookmarklet.js --compress --mangle -o assets/bookmarklet.min.js",
"build:dist": "npm run build && rm -rf dist press-this.zip && mkdir -p dist/press-this && cp press-this-plugin.php class-wp-press-this-plugin.php readme.txt dist/press-this/ && cp UPGRADE.md dist/press-this/ 2>/dev/null || true && cp -r includes build assets dist/press-this/ && cd dist && zip -r ../press-this.zip press-this/ && echo 'Created press-this.zip'",
"start": "wp-scripts start",
"lint": "wp-scripts lint-js src/",
"lint:fix": "wp-scripts lint-js src/ --fix",
"lint:css": "wp-scripts lint-style src/",
"lint:css:fix": "wp-scripts lint-style src/ --fix",
"test:unit": "wp-scripts test-unit-js --testPathIgnorePatterns='/worktrees/'",
"test:js": "wp-scripts test-unit-js --testPathPattern='tests/'",
"wp-env": "wp-env",
"env:start": "wp-env start",
"env:stop": "wp-env stop",
"env:destroy": "wp-env destroy",
"env:cli": "wp-env run cli",
"test:e2e": "npx playwright test",
"test:e2e:ui": "npx playwright test --ui"
},
"devDependencies": {
"@playwright/test": "^1.58.2",
"@wordpress/env": "^10.37.0",
"@wordpress/scripts": "^31.2.0",
"terser": "^5.44.1"
},
"dependencies": {
"@wordpress/a11y": "^4.40.0",
"@wordpress/block-editor": "^15.10.0",
"@wordpress/block-library": "^9.37.0",
"@wordpress/blocks": "^15.10.0",
"@wordpress/components": "^31.0.0",
"@wordpress/compose": "^7.37.0",
"@wordpress/core-data": "^7.37.0",
"@wordpress/data": "^10.37.0",
"@wordpress/dom-ready": "^4.37.0",
"@wordpress/edit-post": "^8.37.0",
"@wordpress/editor": "^14.37.0",
"@wordpress/element": "^6.37.0",
"@wordpress/format-library": "^5.37.0",
"@wordpress/html-entities": "^4.40.0",
"@wordpress/i18n": "^6.10.0",
"@wordpress/icons": "^11.4.0",
"@wordpress/keyboard-shortcuts": "^5.37.0",
"@wordpress/rich-text": "^7.37.0"
},
"overrides": {
"react-autosize-textarea": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
}
}
}