-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 3.53 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
{
"name": "@tangible/fields",
"description": "React library for form field types",
"version": "2025.1.25",
"type": "module",
"repository": {
"url": "git+ssh://[email protected]/tangibleinc/fields.git"
},
"tangible": {
"deployType": "module"
},
"scripts": {
"start": "wp-now start --blueprint=blueprint.dev.json",
"dev": "concurrently --raw 'roll dev' 'npm run start'",
"build": "roll build",
"format": "roll format",
"postinstall": "roll install",
"update": "roll update",
"install:dev": "roll install --dev",
"update:dev": "roll update --dev",
"archive": "roll archive && rm -rf publish/tangible-blocks && unzip publish/tangible-blocks.zip -d publish/ && npm run test:archive",
"version": "node version.js",
"// Test": "",
"test": "roll run tests/index.ts",
"test:all": "npm run jest:test && npm run test:7.4 && npm run test:8.4 # && npm run e2e",
"test:7.4": "roll run tests/index.ts PHP_VERSION=7.4",
"test:8.4": "roll run tests/index.ts PHP_VERSION=8.4",
"test:archive": "roll run tests/index.ts TEST_ARCHIVE=1",
"jest:test": "jest --config=tests/jest/jest.config.js --silent=false --maxWorkers=1 test",
"-- Local environment --": "https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env",
"env": "wp-env",
"env:start": "wp-env start",
"env:test": "FOLDER=`basename $PWD`; wp-env run tests-wordpress /var/www/html/wp-content/plugins/$FOLDER/vendor/bin/phpunit --testdox -c /var/www/html/wp-content/plugins/$FOLDER/phpunit.xml --verbose",
"env:test:7.4": "WP_ENV_PHP_VERSION=7.4 wp-env start && npm run env:test",
"env:test:8.2": "WP_ENV_PHP_VERSION=8.2 wp-env start && npm run env:test",
"env:stop": "wp-env stop",
"env:destroy": "wp-env destroy",
"env:clean": "wp-env clean all",
"-- End-to-end testing --": "https://playwright.dev/",
"e2e": "playwright test --config tests/playwright.config.js",
"e2e:install": "playwright install chromium",
"e2e:debug": "npm run e2e -- --debug",
"e2e:ui": "npm run e2e -- --ui",
"e2e:watch": "chokidar 'tests/e2e/**/*.js' --initial -c 'npm run e2e -- --retries=0'"
},
"dependencies": {
"@codemirror/autocomplete": "^6.18.4",
"@codemirror/basic-setup": "^0.20.0",
"@codemirror/commands": "^6.8.0",
"@codemirror/lang-html": "^6.4.9",
"@codemirror/language": "^6.10.8",
"@codemirror/search": "^6.5.8",
"@codemirror/state": "^6.5.1",
"@codemirror/view": "^6.36.2",
"@react-aria/color": "^3.0.3",
"prosemirror-example-setup": "^1.2.3",
"prosemirror-menu": "^1.2.4",
"prosemirror-model": "^1.24.1",
"prosemirror-schema-basic": "^1.2.3",
"prosemirror-schema-list": "^1.5.0",
"prosemirror-state": "^1.4.3",
"prosemirror-view": "^1.37.2",
"react-aria": "^3.37.0",
"react-stately": "^3.35.0"
},
"devDependencies": {
"@babel/preset-env": "^7.26.7",
"@babel/preset-react": "^7.26.3",
"@playwright/test": "^1.50.0",
"@tangible/env": "^2025.1.30",
"@tangible/now": "^2.0.3",
"@tangible/roller": "^2.1.4",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.2.0",
"@testing-library/user-event": "^14.6.1",
"@wordpress/e2e-test-utils-playwright": "^1.16.0",
"@wordpress/env": "^10.16.0",
"babel-jest": "^29.7.0",
"chokidar-cli": "^3.0.0",
"concurrently": "^9.1.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react-test-renderer": "^18.3.1",
"rollup-plugin-visualizer": "^5.14.0",
"sass": "1.83.4",
"testra": "^2.1.4"
}
}