-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 2.27 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 2.27 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
{
"name": "gravity-forms-zero-spam",
"version": "1.8.0",
"private": true,
"scripts": {
"build:css": "postcss assets/css/email-rejection.pcss -o dist/css/gf-zero-spam.css --no-map",
"build:js": "terser assets/js/email-rejection.js -o dist/js/gf-zero-spam-admin.js --compress --mangle && terser assets/js/token-injection.js -o dist/js/gf-zero-spam.js --compress --mangle",
"build": "npm run build:css && npm run build:js",
"watch": "postcss assets/css/email-rejection.pcss -o dist/css/gf-zero-spam.css --no-map --watch",
"lint": "biome lint assets/",
"lint:fix": "biome lint --fix assets/",
"prepare": "husky install",
"wp-env": "cd tests/E2E/setup && wp-env",
"wp-env:configure": "cd tests/E2E/setup && node wp-env.config.js",
"wp-env:cli": "npm run wp-env run cli -- ",
"wp-env:bash": "npm run wp-env:cli bash -c",
"tests:e2e:download-gf": "node scripts/download-gf.js",
"tests:e2e:setup": "npm run build && npm run wp-env:configure && npm run wp-env start",
"tests:e2e:clean": "npm run wp-env:configure && npm run wp-env clean all",
"tests:e2e:run": "playwright test --config=tests/E2E/setup/playwright.config.js",
"tests:e2e:debug": "USE_LOCAL_BROWSER=1 playwright test --config=tests/E2E/setup/playwright.config.js --debug",
"tests:e2e:js:lint": "prettier --check tests/E2E && eslint tests/E2E",
"tests:e2e:js:format": "prettier --write tests/E2E"
},
"devDependencies": {
"@biomejs/biome": "^2.4.3",
"@gravitykit/e2e-bootstrap": "^1.1.0",
"@gravitykit/e2e-fixtures": "^1.1.0",
"@playwright/test": "1.56.1",
"@types/node": "^20.14.14",
"@wordpress/e2e-test-utils-playwright": "^1.14.0",
"@wordpress/env": "^10.34.0",
"cssnano": "^7.0.6",
"dotenv": "^16.4.5",
"eslint": "^9.26.0",
"eslint-config-prettier": "^10.1.2",
"grunt": "^1.5.3",
"grunt-exec": "^0.4.6",
"grunt-wp-i18n": "^1.0.3",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"postcss": "^8.4.49",
"postcss-cli": "^11.0.0",
"postcss-nesting": "^13.0.1",
"postcss-simple-vars": "^7.0.1",
"prettier": "^3.5.3",
"terser": "^5.37.0"
},
"lint-staged": {
"*.php": [
"composer code:sniff",
"composer code:analyze"
],
"assets/**/*.{js,pcss}": [
"biome lint"
]
}
}