-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
119 lines (119 loc) · 5.9 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"name": "@db-ui/core",
"version": "0.0.0",
"description": "Technical Frontend implementation of the DB UX Design System.",
"style": "./dist/css/enterprise/db-ui-core.css",
"sass": "./sources/css/enterprise/db-ui-core.scss",
"browser": "./dist/js/plugins.min.js",
"bugs": {
"url": "https://github.com/db-ui/core/issues"
},
"scripts": {
"test": "start-server-and-test start :8080 'npm-run-all test:accessibility'",
"test:visual-regression:test": "backstop test --config=./tests/backstop.json",
"test:visual-regression:approve": "backstop approve --config=./tests/backstop.json",
"test:accessibility": "npx pa11y-ci",
"test:lighthouse": "npx lighthouse http://localhost:8080/patterns/pages-sample-page/pages-sample-page.rendered.html --budget-path=.lighthouse-budget.json --view",
"test:webhint": "npx hint http://localhost:8080/styleguide/html/styleguide.html",
"lint": "npm-run-all -p lint:*",
"lint:markdownlint": "markdownlint -c .markdown-lint.yml '**/*.md'",
"lint:stylelint": "stylelint **/*.scss",
"lint:xo": "xo",
"lint:html": "npm-run-all pl:build:* lint:html:standalone",
"lint:html:standalone": "html-validate out/patterns --ext .markup-only.html",
"lint:prettier": "prettier . --check",
"pl:build:enterprise": "patternlab build --config ./enterprise.patternlab-config.json",
"pl:help": "patternlab --help",
"pl:install:enterprise": "patternlab install --config ./enterprise.patternlab-config.json",
"pl:serve:enterprise": "patternlab serve --config ./enterprise.patternlab-config.json",
"pl:version": "patternlab --version",
"css-deploy": "npm-run-all css-build:** css-postcss css-copy",
"css-copy": "cpr out/css/ dist/css/ --filter=\"^(?!.*db-ui-core[.a-z]*[.]css([.]map)?).*$\"",
"css-watch": "nodemon --watch source/_patterns/ -e scss -x \"npm-run-all css-build:* css-postcss\"",
"css-postcss": "postcss out/css/**/*.css --replace --map",
"css-build:general": "sass source/css/enterprise/:out/css/enterprise --style=compressed --embed-sources --load-path=node_modules",
"css-build:incremental:partials": "sass source/_patterns:dist/css --style=compressed --embed-sources --load-path=node_modules",
"css-build:base": "sass source/css/db-ui-core.vars.scss:dist/css/db-ui-core.vars.css source/css/db-ui-core.general.scss:dist/css/db-ui-core.general.css --style=compressed --embed-sources --load-path=node_modules",
"css-build:pattern-lab-ui": "sass source/css/pattern-scaffolding-project-specific.scss:out/css/pattern-scaffolding-project-specific.css --style=compressed --embed-sources --load-path=node_modules",
"js-deploy": "npm run js-build && cpr source/js dist/js -d",
"js-build": "babel source/**/*.plugin.js --minified --out-file source/js/plugins.min.js --source-maps",
"js-watch": "npm run js-build -- --watch",
"copy-assets": "cpr node_modules/@db-ui/base/build/assets/icons dist/icons -d && cpr node_modules/@db-ui/base/build/assets/fonts dist/fonts --filter=\"^(.*[/]sources[/]).*$\" -d | cpr source/images dist/images -d | cpr source/favicon.ico dist/favicon.ico -o | cpr source/robots.txt dist/robots.txt -o | cpr source/site.webmanifest dist/site.webmanifest -o",
"copy-scss-sources": "cpr source/_patterns/ sources/_patterns/ --filter=\"^(?!.*[.](scss|sass)$).*$\" -d | cpr source/css/ sources/css/ --filter=\"^(?!.*[.](scss|sass)$).*$\" -d",
"clean": "git clean -dfx --exclude=.env",
"build": "rimraf dist && npm-run-all css-deploy js-deploy pl:build:* --parallel copy-assets copy-scss-sources",
"start": "npm-run-all --parallel pl:serve:enterprise css-watch js-watch",
"stylelint-check": "stylelint-config-prettier-check",
"prepare": "husky"
},
"validate-branch-name": {
"pattern": "((dependabot-)|^((test|feat|fix|chore|docs|refactor|style|ci|perf|[0-9]+)\\-[a-zA-Z0-9\\-]+)$)",
"errorMsg": "There is something wrong with your branch name. You should rename your branch to a valid name and try again. See the Pattern below."
},
"keywords": [],
"author": {
"name": "Maximilian Franzke",
"email": "[email protected]"
},
"license": "Apache-2.0",
"dependencies": {
"@csstools/normalize.css": "^12.1.1",
"@db-ui/base": "^0.29.0"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/preset-env": "^7.26.0",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@mfranzke/plugin-node-uiextension": "^1.0.0",
"@pattern-lab/cli": "^6.1.0",
"@pattern-lab/core": "^6.0.1",
"@pattern-lab/engine-handlebars": "^6.1.0",
"@pattern-lab/starterkit-handlebars-demo": "^6.1.0",
"@pattern-lab/uikit-workshop": "^6.1.0",
"autoprefixer": "^10.4.20",
"backstopjs": "^6.3.25",
"cpr": "^3.0.1",
"cssnano": "^7.0.6",
"details-element-polyfill": "^2.4.0",
"dialog-polyfill": "^0.5.6",
"dotenv": "^16.4.7",
"find-versions-cli": "^5.0.0",
"html-validate": "^8.28.0",
"html5-boilerplate": "^9.0.1",
"husky": "^9.1.7",
"iframe-resizer": "^5.3.2",
"invokers-polyfill": "^0.4.6",
"lint-staged": "^15.2.11",
"markdownlint-cli": "^0.43.0",
"nodemon": "^3.1.9",
"npm-run-all2": "7.0.2",
"pa11y-ci": "^3.1.0",
"plugin-node-patternlab-inline-remote-assets": "^0.2.1",
"postcss": "^8.4.49",
"postcss-cli": "^11.0.0",
"postcss-focus": "^7.0.0",
"postcss-list-style-safari-fix": "^1.0.0",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"sass": "^1.83.0",
"start-server-and-test": "^2.0.9",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-sass-guidelines": "^9.0.1",
"validate-branch-name": "^1.3.1",
"xo": "^0.60.0"
},
"repository": {
"type": "git",
"url": "https://github.com/db-ui/core.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"homepage": "https://db-ui.github.io/core/",
"overrides": {
"cross-spawn": "~7.0.5"
}
}