-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
58 lines (58 loc) · 2.56 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
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "codex",
"private": true,
"homepage": "https://doc.wikimedia.org/codex/",
"repository": {
"type": "git",
"url": "https://gerrit.wikimedia.org/g/design/codex/"
},
"bugs": "https://phabricator.wikimedia.org/tag/codex/",
"license": "GPL-2.0+",
"workspaces": [
"packages/codex-design-tokens",
"packages/codex-icons",
"packages/codex",
"packages/codex-docs"
],
"engines": {
"npm": ">=7.21.0",
"node": ">=18"
},
"scripts": {
"branch-deploy": "./build/branch-deploy.sh",
"build": "npm run build-all",
"build-all": "npm run build --workspaces --if-present",
"build-all-if-missing": "npm run build-if-missing --workspaces --if-present",
"build-and-update-snapshots": "npm run build-all && npm run update-snapshots --workspaces --if-present",
"coverage": "npm run build-all-if-missing && mkdir -p coverage && npm run test:unit -w @wikimedia/codex -- --coverageDirectory=../../coverage",
"dev": "npm run build-if-missing -w @wikimedia/codex-icons && concurrently \"npm run watch -w @wikimedia/codex-design-tokens\" \"npm run dev -w @wikimedia/codex\"",
"doc": "npm run build -w @wikimedia/codex-icons && npm run build -w @wikimedia/codex-design-tokens && npm run build -w @wikimedia/codex && npm run build -w codex-docs && npm run doc:copy-sandbox",
"doc:copy-sandbox": "cp -r packages/codex/dist/sandbox packages/codex-docs/docs/.vitepress/dist/",
"doc-release": "CODEX_RELEASE=1 npm run doc",
"doc:dev": "npm run build-if-missing -w @wikimedia/codex-icons && concurrently \"npm run watch -w @wikimedia/codex-design-tokens\" \"CODEX_DOC_DEV=1 npm run dev -w codex-docs\"",
"lint": "npm run lint:eslint && npm run lint:stylelint && npm run lint --workspaces --if-present",
"lint:eslint": "npm run build-all-if-missing && eslint --max-warnings 0 .",
"lint:stylelint": "stylelint --max-warnings 0 . packages/codex-docs/docs/.vitepress",
"test": "npm run lint && npm run test --workspaces --if-present && ./build/diff-css.sh"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "6.9.0",
"@typescript-eslint/parser": "6.9.0",
"concurrently": "6.3.0",
"cssbeautify": "0.3.1",
"eslint": "8.52.0",
"eslint-config-wikimedia": "0.26.0",
"eslint-plugin-jest": "27.6.0",
"eslint-plugin-vue": "9.18.1",
"jest": "29.7.0",
"netlify-cli": "15.11.0",
"postcss-html": "1.6.0",
"postcss-markdown": "1.2.0",
"stylelint-config-wikimedia": "0.16.1",
"stylelint-declaration-strict-value": "1.10.4",
"stylelint-no-unsupported-browser-features": "7.0.0",
"stylelint-order": "6.0.4",
"stylelint-stylistic": "0.4.3",
"typescript": "5.2.2"
}
}