Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 1.95 KB
/
Copy pathpackage.json
File metadata and controls
51 lines (51 loc) · 1.95 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
{
"name": "bcgov-wordpress-block-theme",
"version": "1.20.0",
"description": "Bcgov WordPress Block Theme",
"author": "govwordpress@gov.bc.ca",
"license": "Apache-2.0",
"keywords": [
"Wordpress",
"Block Theme",
"BCGov"
],
"homepage": "https://github.com/bcgov/bcgov-wordpress-block-theme#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/bcgov/bcgov-wordpress-block-theme.git"
},
"bugs": {
"url": "https://github.com/bcgov/bcgov-wordpress-block-theme/issues"
},
"main": "index.js",
"devDependencies": {
"@babel/runtime": "^7.29.10",
"@bcgov/bc-sans": "2.1.0",
"@bcgov/design-tokens": "2.0.1",
"@bcgov/wordpress-eslint": "github:bcgov/wordpress-eslint#semver:1.x",
"@bcgov/wordpress-stylelintrc": "github:bcgov/wordpress-stylelintrc#semver:1.x",
"@wordpress/scripts": "wp-6.7",
"classnames": "2.5.1",
"lodash": "4.18.1",
"typescript": "5.4.5"
},
"scripts": {
"build": "wp-scripts build src/scripts/admin src/scripts/public src/scripts/public/font.js --output-path=dist",
"build:production": "npm ci && npm run fix:js && npm run lint:js && npm run fix:css && npm run lint:css && npm run test:unit && npm run build",
"lint:css": "wp-scripts lint-style src/styles",
"fix:css": "wp-scripts lint-style --fix --config @wordpress/stylelint-config/scss src/styles",
"lint:js": "wp-scripts lint-js src/scripts",
"fix:js": "wp-scripts lint-js src/scripts --fix",
"format": "wp-scripts format src/",
"lint:md:docs": "wp-scripts lint-md-docs",
"lint:pkg-json": "wp-scripts lint-pkg-json",
"packages-update": "wp-scripts packages-update",
"start": "wp-scripts start src/scripts/admin src/scripts/public src/scripts/public/font.js --output-path=dist",
"test:e2e": "wp-scripts test-e2e --passWithNoTests",
"test:unit": "wp-scripts test-unit-js --passWithNoTests",
"test": "npm run test:unit"
},
"engines": {
"node": ">=22.17 <23"
}
}