-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.35 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 2.35 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
{
"name": "wp-content-connect",
"version": "2.0.0",
"description": "WordPress library that enables direct relationships for posts to posts and posts to users.",
"homepage": "https://github.com/10up/wp-content-connect",
"license": "GPL-3.0-or-later",
"author": {
"name": "10up",
"email": "opensource@10up.com",
"url": "https://10up.com",
"role": "developer"
},
"main": "index.js",
"directories": {
"test": "tests"
},
"scripts": {
"start": "10up-toolkit build --watch",
"build": "10up-toolkit build",
"format-js": "10up-toolkit format-js",
"lint-js": "10up-toolkit lint-js",
"lint-style": "10up-toolkit lint-style",
"test": "10up-toolkit test-unit-jest",
"makepot": "wpi18n makepot && echo '.pot file updated'",
"archive": "mkdir -p release && composer archive --file=release/$npm_package_name --format=zip",
"wp-env:start": "wp-env start",
"wp-env:stop": "wp-env stop",
"wp-env:clean": "wp-env clean all",
"wp-env:destroy": "wp-env destroy",
"test:setup": "npm run wp-env:start",
"test:php": "wp-env run tests-cli bash -c 'cd wp-content/plugins/wp-content-connect && [ ! -d vendor ] && composer install --no-interaction --quiet; vendor/bin/phpunit -c phpunit.xml'",
"test:e2e": "playwright test --config=tests/e2e/playwright.config.ts",
"test:e2e:ui": "playwright test --config=tests/e2e/playwright.config.ts --ui",
"test:e2e:setup": "npm run wp-env:start && wp-env run tests-cli wp content-connect-example generate",
"test:e2e:reset": "wp-env run tests-cli wp content-connect-example delete --yes && wp-env run tests-cli wp content-connect-example generate"
},
"dependencies": {
"@10up/block-components": "^1.22.1",
"10up-toolkit": "^6.5.1"
},
"10up-toolkit": {
"entry": {
"block-editor": "assets/js/index.ts",
"classic-editor": "assets/js/classic-editor.tsx",
"admin-styles": "assets/css/admin-styles.css"
}
},
"devDependencies": {
"@playwright/test": "^1.40.0",
"@wordpress/api-fetch": "^7.18.0",
"@wordpress/e2e-test-utils-playwright": "^1.39.0",
"@wordpress/data": "^10.18.0",
"@wordpress/edit-post": "^8.18.0",
"@wordpress/editor": "^14.18.0",
"@wordpress/env": "^10.39.0",
"@wordpress/html-entities": "^4.18.0",
"@wordpress/url": "^4.18.0",
"core-js": "^3.38.0",
"node-wp-i18n": "^1.2.7"
}
}