forked from vmware-archive/clarity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
159 lines (159 loc) · 7.33 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "clarity",
"version": "6.0.0-next.6",
"private": true,
"workspaces": {
"packages": [
"packages/*",
"apps/website"
],
"nohoist": [
"@cds/core/tslib",
"@cds/core/ramda",
"@cds/core/@storybook/**",
"@cds/core/modern-normalize",
"@cds/core/sass",
"@cds/core/@cds/city",
"@cds/react/**",
"**/@cds/city/**",
"**/@storybook/**",
"**/@angular/*",
"**/@angular/*/**",
"**/@angular-devkit/**",
"**/@nguniversal/**",
"**/@web/**",
"**/jsdom/**",
"**/lit",
"**/lit/**",
"**/lit-html/**",
"**/ramda",
"**/ramda/**",
"website/**"
]
},
"scripts": {
"commit": "git-cz",
"ng": "ng",
"clean:modules": "del ./**/node_modules",
"clean": "del ./dist && yarn run schematics:clean",
"start": "yarn core:start",
"build": "npm-run-all build:ci build:website build:storybook:core",
"build:ci": "npm-run-all clean format lint build:libs test",
"build:libs": "npm-run-all preinstall core:build -p react:build angular:build schematics:build eslint:build",
"build:website": "yarn --cwd apps/website run build",
"build:storybook:core": "yarn --cwd packages/core run storybook:build",
"test": "npm-run-all core:test -p angular:test react:test eslint-rule:test schematics:test",
"test:a11y": "node scripts/axe",
"lint": "npm-run-all core:lint angular:lint react:lint eslint-rule:lint",
"lint:fix": "npm-run-all core:lint:fix angular:lint:fix react:lint:fix eslint-rule:lint:fix",
"license:fix": "node scripts/update-license",
"lock:check": "node scripts/lock-check",
"lock:fix": "node scripts/lock-fix",
"format": "prettier --list-different './**/*.{js,json,md,ts,scss}'",
"format:fix": "pretty-quick --staged",
"format:file": "prettier --write .",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"release:setversion": "node ./scripts/set-version.js",
"release:copyversion": "node ./scripts/copy-version.js",
"release:add-release-notes": "node ./scripts/website-add-rel-notes.js",
"publish:verify": "node ./scripts/publish-verify.js",
"publish:verify:registry": "node ./scripts/version-validation.js",
"publish:latest": "yarn publish dist/core --tag latest && yarn publish dist/angular --tag latest && yarn publish dist/react --tag latest && yarn publish dist/eslint-plugin-clarity-adoption --tag latest",
"publish:latest:dry-run": "yarn publish dist/core --dry-run; yarn publish dist/angular --dry-run; yarn publish dist/react --dry-run; yarn publish dist/eslint-plugin-clarity-adoption --dry-run;",
"publish:next": "yarn publish dist/core --tag next && yarn publish dist/angular --tag next && yarn publish dist/react --tag next && yarn publish dist/eslint-plugin-clarity-adoption --tag next;",
"publish:rc": "yarn publish dist/core --tag rc && yarn publish dist/angular --tag rc && yarn publish dist/react --tag rc && yarn publish dist/eslint-plugin-clarity-adoption --tag rc &&",
"publish:local": "yarn publish dist/core --registry http://localhost:4873 --tag local && yarn publish dist/angular --registry http://localhost:4873 --tag local && yarn publish dist/react --registry http://localhost:4873 --tag local && yarn publish dist/eslint-plugin-clarity-adoption --registry http://localhost:4873 --tag local",
"publish:local:npm": "npm publish dist/core --registry http://localhost:4873 --tag local && yarn publish dist/angular --registry http://localhost:4873 --tag local && npm publish dist/react --registry http://localhost:4873 --tag local && npm publish dist/eslint-plugin-clarity-adoption --registry http://localhost:4873 --tag local",
"angular:build": "yarn --cwd packages/angular run build",
"angular:test": "yarn --cwd packages/angular run test",
"angular:lint": "yarn --cwd packages/angular run lint",
"angular:visual-testing": "node ./tools/visual-tester/index.js",
"angular:visual-testing:fix": "node ./tools/visual-tester/index.js --overwrite=true",
"schematics:build": "yarn --cwd packages/schematics run build",
"schematics:test": "yarn --cwd packages/schematics run test",
"schematics:clean": "yarn --cwd packages/schematics run clean",
"core:start": "yarn --cwd packages/core run start",
"core:build": "yarn --cwd packages/core run build",
"core:test": "yarn --cwd packages/core run test",
"core:test:watch": "yarn --cwd packages/core run test:watch",
"core:lint": "yarn --cwd packages/core run lint",
"react:start": "yarn --cwd packages/react run start",
"react:build": "yarn --cwd packages/react run build",
"react:lint": "yarn --cwd packages/react run lint",
"react:test": "yarn --cwd packages/react run test",
"preinstall": "yarn --cwd packages/core build:preinstall && yarn --cwd packages/react build:preinstall && yarn --cwd packages/angular build:preinstall",
"eslint:build": "yarn --cwd packages/eslint-plugin-clarity-adoption run build",
"eslint:test": "yarn --cwd packages/eslint-plugin-clarity-adoption run test",
"website:deploy": "scripts/website.sh",
"website:build": "yarn --cwd apps/website run build",
"website:storybook": "yarn --cwd packages/angular run start:storybook",
"website:preview": "lite-server --baseDir=dist/website",
"website:start": "yarn --cwd apps/website run start",
"website:lint": "yarn --cwd app/website run lint",
"website:functions": "netlify-lambda build scripts/netlify",
"tool:audit-website": "yarn --cwd tools/audit-website run start",
"tool:link-checker": "yarn --cwd tools/link-checker run start",
"eslint-rule:lint": "yarn --cwd packages/eslint-plugin-clarity-adoption lint",
"eslint-rule:test": "yarn --cwd packages/eslint-plugin-clarity-adoption test"
},
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@commitlint/prompt": "^15.0.0",
"@types/node": "^16.11.11",
"@typescript-eslint/eslint-plugin": "5.5.0",
"@typescript-eslint/parser": "5.5.0",
"cheerio": "1.0.0-rc.10",
"commitizen": "^4.2.4",
"conventional-changelog-cli": "^2.1.1",
"cpy-cli": "^3.1.1",
"cross-env": "5.2.0",
"del": "6.0.0",
"del-cli": "3.0.1",
"detect-browser": "4.1.0",
"dotenv": "8.1.0",
"eslint": "8.3.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jasmine": "4.1.3",
"fs-extra": "8.1.0",
"glob": "7.1.6",
"husky": "1.3.1",
"lit": "2.0.0-rc.2",
"lite-server": "2.6.1",
"mustache": "4.0.1",
"netlify-cli": "2.25.0",
"netlify-lambda": "1.4.5",
"npm-run-all": "4.1.5",
"prettier": "2.0.5",
"pretty-quick": "1.11.0",
"replace": "1.1.0",
"shelljs": "0.8.3",
"source-map": "0.7.3",
"stylelint": "10.0.1",
"stylelint-config-recommended": "2.2.0",
"stylelint-declaration-use-variable": "1.7.0",
"stylelint-no-px": "0.12.1",
"stylelint-scss": "3.9.2",
"superagent": "5.1.0",
"ts-morph": "8.2.0",
"ts-node": "8.2.0",
"typescript": "4.4.2"
},
"config": {
"commitizen": {
"path": "@commitlint/prompt"
}
},
"engines": {
"node": ">=14 <15",
"yarn": ">=1.22.4 <2",
"npm": " PLEASE USE YARN "
},
"husky": {
"hooks": {
"pre-commit": "yarn format:fix && yarn license:fix",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}