This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
55 lines (55 loc) · 1.61 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
{
"name": "block-interactivity-experiments",
"version": "0.1.27",
"author": "The WordPress Contributors",
"license": "GPL-2.0-or-later",
"main": "build/index.js",
"scripts": {
"build": "webpack --mode=production",
"start": "webpack --mode=development --watch",
"dev": "npm start",
"format:php": "wp-env run composer run-script format",
"lint:php": "wp-env run composer run-script lint",
"lint:js": "wp-scripts lint-js",
"lint:js:fix": "npm run lint:js -- --fix",
"test": "jest",
"pretest:unit:php": "wp-env start",
"test:unit:php": "wp-env run tests-wordpress /var/www/html/wp-content/plugins/block-interactivity-experiments/vendor/bin/phpunit -c /var/www/html/wp-content/plugins/block-interactivity-experiments/phpunit.xml.dist --verbose",
"test:watch": "jest --watch",
"plugin-zip": "node .github/scripts/build-plugin.js",
"wp-env": "wp-env"
},
"prettier": {
"useTabs": true,
"tabWidth": 4,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "es5",
"bracketSameLine": false,
"bracketSpacing": true,
"semi": true,
"arrowParens": "always",
"phpVersion": "5.6"
},
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@playwright/test": "^1.29.0",
"@types/jest": "^27.5.1",
"@wordpress/env": "^5.8.0",
"@wordpress/scripts": "^24.3.0",
"archiver": "^5.3.1",
"babel-jest": "^28.1.0",
"css-loader": "^6.7.3",
"jest": "^28.1.0",
"mini-css-extract-plugin": "^2.7.5",
"prettier": "^2.7.1",
"style-loader": "^3.3.2"
},
"dependencies": {
"@preact/signals": "^1.1.2",
"deepsignal": "^1.2.1",
"hpq": "^1.3.0",
"preact": "^10.10.6"
}
}