-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
62 lines (62 loc) · 1.88 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
{
"name": "convert-to-blocks",
"version": "1.3.1",
"description": "Convert to Blocks is a WordPress plugin that transforms classic editor content to blocks on the fly.",
"author": {
"name": "10up",
"email": "[email protected]",
"url": "https://10up.com",
"role": "developer"
},
"license": "GPL-2.0-or-later",
"scripts": {
"test": "phpunit",
"start": "composer install && npm install && npm run build",
"build": "NODE_ENV=production wp-scripts build",
"watch": "NODE_ENV=development wp-scripts start",
"build-release": "npm install && composer install --no-dev -o && npm run build",
"lint-release": "npm install && composer install && npm run lint",
"lint-js": "wp-scripts lint-js ./assets/js",
"lint-php": "composer run lint",
"format-js": "wp-scripts format ./assets/js",
"lint": "npm run lint-js && npm run lint-php",
"format": "npm run format-js",
"wp-env": "wp-env",
"env:start": "wp-env start",
"env:stop": "wp-env stop",
"env:reset": "wp-env clean all",
"env:destroy": "wp-env destroy",
"cypress:open": "cypress open --config-file tests/cypress/config.js --e2e --browser chrome",
"cypress:run": "cypress run --config-file tests/cypress/config.js",
"env": "wp-env",
"postenv:start": "./tests/bin/initialize.sh"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint"
]
},
"repository": {
"type": "git",
"url": "https://github.com/10up/convert-to-blocks"
},
"devDependencies": {
"@10up/cypress-wp-utils": "^0.2.0",
"@10up/eslint-config": "^4.0.0",
"@wordpress/env": "^10.2.0",
"@wordpress/scripts": "^30.4.0",
"cypress": "^13.3.0",
"cypress-mochawesome-reporter": "^3.6.0",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"prettier": "^3.2.5"
},
"engines": {
"node": ">=8.11"
}
}