forked from db-ui/base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 3.2 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
{
"name": "@db-ui/base",
"version": "0.0.0",
"description": "Provides basic tokens and assets based on the DB Design System.",
"main": "build.js",
"bugs": {
"url": "https://github.com/db-ui/base/issues"
},
"author": {
"name": "Maximilian Franzke",
"email": "[email protected]"
},
"scripts": {
"prepare": "node -e \"try { require('husky').install() } catch (e) {}\"",
"copy:assets": "cpr assets build/assets -d",
"copy:csstokens": "cpr build/css/variables.css out/css/variables.css -o",
"build:style-dictionary": "node style-dictionary.js && npm run copy:csstokens",
"build:css": "sass source/css/db-ui-base.scss:out/css/db-ui-base.css --style=compressed --embed-sources --load-path=node_modules",
"build:tailwind": "node scripts/tailwind-config-generator.mjs false true && cpr scripts/tailwind-config-generator.mjs build/tailwind/tailwind-config-generator.mjs -o",
"build": "npm-run-all copy:assets build:* pl:build",
"clean": "git clean -dfx --exclude=.env",
"lint": "npm-run-all -p lint:*",
"lint:markdownlint": "markdownlint -c .markdown-lint.yml '**/*.md'",
"lint:stylelint": "stylelint **/*.scss",
"lint:xo": "xo",
"start": "npm-run-all build:style-dictionary --parallel pl:serve watch:tokens watch:scss",
"test": "exit 0",
"watch:tokens": "nodemon --watch tokens/ -e json -x \"npm run build:style-dictionary\"",
"watch:scss": "nodemon --watch source/_patterns/ -e scss -x \"npm run build:css\"",
"pl:build": "patternlab build --config ./patternlab-config.json",
"pl:help": "patternlab --help",
"pl:install": "patternlab install --config ./patternlab-config.json",
"pl:serve": "patternlab serve --config ./patternlab-config.json",
"pl:version": "patternlab --version"
},
"license": "Apache-2.0",
"devDependencies": {
"@commitlint/cli": "17.6.1",
"@commitlint/config-conventional": "17.6.1",
"@mfranzke/plugin-node-uiextension": "^1.0.0",
"@pattern-lab/cli": "6.0.1",
"@pattern-lab/core": "6.0.1",
"@pattern-lab/engine-handlebars": "6.0.0",
"@pattern-lab/starterkit-handlebars-vanilla": "1.4.3",
"@pattern-lab/uikit-workshop": "6.0.3",
"cpr": "3.0.1",
"dotenv": "^16.0.3",
"find-versions-cli": "^4.0.0",
"husky": "8.0.3",
"markdownlint-cli": "^0.33.0",
"nodemon": "2.0.22",
"npm-run-all": "4.1.5",
"plugin-node-patternlab-inline-remote-assets": "^0.2.0",
"prettier": "2.8.8",
"pretty-quick": "3.1.3",
"sass": "^1.62.1",
"style-dictionary": "3.7.2",
"stylelint": "14.16.1",
"stylelint-config-prettier": "9.0.5",
"stylelint-config-sass-guidelines": "9.0.1",
"validate-branch-name": "^1.3.0",
"xo": "^0.54.1"
},
"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."
},
"repository": {
"type": "git",
"url": "https://github.com/db-ui/base"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"homepage": "https://db-ui.github.io/base/"
}