-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.45 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
{
"name": "which-blocks",
"version": "1.0.1",
"scripts": {
"build": "composer install --no-dev",
"build:dev": "composer install",
"postbuild": "npm run archive",
"prepare": "husky install",
"lint": "npm run lint:php",
"lint:php": "composer run lint",
"lint:js": "10up-toolkit lint-js",
"archive": "rm -rf build && rm -rf $npm_package_name && rsync -av --exclude-from=.distignore . build/ && cd build && zip -r $npm_package_name.zip * && cd .. && cp build/$npm_package_name.zip ./ && rm -rf build",
"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",
"env:start": "wp-env start",
"env:stop": "wp-env stop",
"postenv:start": "./tests/bin/initialize.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cadic/which-blocks.git"
},
"author": "",
"license": "GPL2",
"bugs": {
"url": "https://github.com/cadic/which-blocks/issues"
},
"homepage": "https://github.com/cadic/which-blocks#readme",
"devDependencies": {
"@10up/cypress-wp-utils": "^0.2.0",
"@wordpress/env": "^5.5.0",
"10up-toolkit": "^5",
"cypress": "^13.2.0",
"cypress-mochawesome-reporter": "^3.6.0",
"eslint-plugin-cypress": "^2.15.1",
"husky": "^8.0.3",
"lint-staged": "^14.0.1"
},
"lint-staged": {
"*.php": [
"composer run lint"
]
}
}