-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.08 KB
/
package.json
File metadata and controls
34 lines (34 loc) · 1.08 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
{
"name": "gravity-forms-zero-spam",
"version": "1.7.2",
"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"
},
"devDependencies": {
"@biomejs/biome": "^2.4.3",
"cssnano": "^7.0.6",
"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",
"terser": "^5.37.0"
},
"lint-staged": {
"*.php": [
"composer code:sniff",
"composer code:analyze"
],
"assets/**/*.{js,pcss}": [
"biome lint"
]
}
}