forked from baloise/design-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 5.23 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
{
"name": "root",
"private": true,
"homepage": "https://design.baloise.dev",
"contributors": [
"Gery Hirschfeld <gerhard.hirschfeld@baloise.ch> (https://github.com/hirsch88)",
"Yannick Holzenkamp <yannick.holzenkamp@baloise.ch> (https://github.com/yannickholzenkamp)",
"Petar Nobilo <petar.nobilo@baloise.ch> (https://github.com/nobilo)",
"Laurent Tauber <laurent.tauber@baloise.ch> (https://github.com/Gagne87)"
],
"scripts": {
"==================== INSTALLATION / SETUP ====================": "================================",
"prepare": "husky install",
"preinstall": "npx npm-force-resolutions",
"postinstall": "npm run bootstrap && node .build/copy.js",
"bootstrap": "lerna bootstrap",
"update:lock": "lerna exec -- npm install --package-lock-only",
"update:registry": "lerna run update:registry && sed -i -e \"s#nexus.balgroupit.com/repository/npm#registry.npmjs.org#g\" package-lock.json\n",
"precommit": "lint-staged --allow-empty",
"==================== FORMATTER / LINTER ====================": "================================",
"format:check": "prettier --check ./packages",
"format": "prettier --write ./packages",
"lint:check": "eslint --ext .tsx,.ts packages/",
"lint": "eslint --ext .tsx,.ts packages/ --fix",
"==================== START ====================": "================================",
"start": "npm run components:start",
"dev": "npm run components:start",
"debug": "npm run components:debug",
"components:start": "node .build/banner.js components:start && npm --prefix packages/components run start",
"components:debug": "node .build/banner.js components:debug && npm --prefix packages/components run debug",
"testing:serve": "node .build/banner.js testing:serve && npm --prefix packages/testing run serve",
"testing:server": "node .build/banner.js testing:server && npm --prefix packages/testing run ci:server",
"==================== BUILD ====================": "================================",
"build": "npm run build:pre && npm run build:components && npm run build:post",
"build:pre": "node .build/banner.js build:pre && concurrently \"npm:build:pre:*\"",
"build:pre:fonts": "npm --prefix packages/fonts run build",
"build:pre:icons": "npm --prefix packages/icons run build",
"build:components": "node .build/banner.js build:components && cross-env STENCIL_MODE=prod npm --prefix packages/components run build",
"build:post": "node .build/banner.js build:post && concurrently \"npm:build:post:*\"",
"build:post:table__": "npm --prefix packages/components-table run build",
"build:post:testing": "npm --prefix packages/testing run build",
"build:post:react__": "npm --prefix packages/components-react run build",
"build:post:angular": "npm --prefix packages/components-angular run build",
"build:post:vue____": "npm --prefix packages/components-vue run build",
"build:docs": "npm run build:pre && npm run build:components && npm run build:post:table__ && npm --prefix packages/components run build:docs",
"build:components:docs": "node .build/banner.js build:components && cross-env STENCIL_MODE=docs npm --prefix packages/components run build",
"==================== TEST ====================": "================================",
"test": "npm run test:components",
"test:components": "node .build/banner.js test:components && cd packages/components && npm run test",
"test:cypress": "node .build/banner.js test:cypress && npm --prefix packages/testing run test",
"test:serve": "node .build/banner.js test:cypress && npm --prefix packages/testing run serve",
"test:server": "node .build/banner.js test:server && npm run test:build-server && npm run test:start-server",
"test:build-server": "npm --prefix packages/components run www",
"test:start-server": "http-server packages/components/www -p 3333 -c-1 --silent",
"test:ci": "npm run test:build-server && concurrently --names \"SERVER,CYPRESS\" -c \"bgBlue.bold,bgMagenta.bold\" \"npm:test:start-server\" \"npm:test:cypress\"",
"==================== RELEASE ====================": "================================",
"release:canary": "lerna publish prepatch --canary --preid beta --dist-tag beta --yes --no-changelog",
"==================== DOCUMENTATION ====================": "================================",
"storybook": "node .build/banner.js storybook:build && npm run build:docs",
"storybook:start": "node .build/banner.js storybook:start && http-server storybook -p 8080"
},
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"chalk": "^4.1.2",
"concurrently": "^6.5.1",
"conventional-changelog-conventionalcommits": "^4.6.3",
"cross-env": "^7.0.3",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"figlet": "^1.5.2",
"fs-extra": "^10.0.0",
"glob": "^7.2.0",
"http-server": "^14.0.0",
"husky": "^7.0.0",
"lerna": "^4.0.0",
"lint-staged": "^12.2.1",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"typescript": "4.3.5"
},
"resolutions": {
"tar": ">=4.4.18"
}
}