-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 1.89 KB
/
package.json
File metadata and controls
46 lines (46 loc) · 1.89 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
{
"name": "nhsblocks",
"engines": {
"node": ">=20.0.0",
"npm": ">=9.0.0"
},
"license": "GPL-3.0-or-later",
"main": "src/index.js",
"devDependencies": {
"@wordpress/scripts": "^32.1.0",
"eslint-plugin-prettier": "^5.0.1",
"jsdoc": "^4.0.2",
"wp-hookdoc": "^0.2.0"
},
"scripts": {
"build": "wp-scripts build",
"check-engines": "wp-scripts check-engines",
"check-licenses": "wp-scripts check-licenses",
"format": "wp-scripts format",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"plugin-zip": "wp-scripts plugin-zip",
"start": "wp-scripts start",
"test:e2e": "wp-scripts test-e2e",
"test:unit": "wp-scripts test-unit-js",
"build-scss": "cat style.scss | node_modules/.bin/sass --load-path node_modules/ --load-path node_modules/nhsuk-frontend/packages/nhsuk/ style.scss --style expanded > style.css | cat style-gutenburg.scss | node_modules/.bin/sass --load-path node_modules/ --load-path node_modules/nhsuk-frontend/packages/nhsuk/ style-gutenburg.scss --style expanded > style-gutenburg.css",
"compress-scss": "postcss style.css > style.min.css",
"zip": "zip -r nhsblocks.zip ./ -x .git .gitignore *.git/* .DS_Store .package.json .package-lock.json *.scss webpack.config.js nhsblocks.zip postcss.config.css README.md .wordpress-org/**\\* .ds_store vendor/**\\* node_modules/**\\* src/**\\* webpack.config.js n",
"build:docs": "rm -rf hookdocs/ && jsdoc -c hookdoc-conf.json"
},
"dependencies": {
"cssnano": "^6.0.1",
"nhsuk-frontend": "^8.0.2",
"postcss": "^8.5.14",
"postcss-cli": "^10.1.0",
"sass": "^1.89.2"
},
"overrides": {
"minimatch": "^10.2.3",
"webpack-dev-server": "^5.2.1",
"serialize-javascript": "^7.0.5"
}
}