-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 2.3 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
{
"name": "gally-admin",
"version": "0.1.1",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"start": "concurrently \"yarn start:components\" \"yarn start:shared\"",
"start:components": "yarn --cwd ./packages/components start",
"start:shared": "yarn --cwd ./packages/shared start",
"start:storybook": "yarn --cwd ./packages/components storybook",
"build": "yarn build:shared && yarn build:components",
"build:components": "yarn --cwd ./packages/components build",
"build:shared": "yarn --cwd ./packages/shared build",
"build:storybook": "yarn --cwd ./packages/components build-storybook",
"test": "yarn --cwd ./packages/shared test && yarn --cwd ./packages/components test",
"test:ci": "yarn --cwd ./packages/shared test:ci && yarn --cwd ./packages/components test:ci",
"eslint": "yarn --cwd ./packages/shared eslint && yarn --cwd ./packages/components eslint",
"eslint:ci": "yarn --cwd ./packages/shared eslint:ci && yarn --cwd ./packages/components eslint:ci",
"prettier": "yarn --cwd ./packages/shared prettier && yarn --cwd ./packages/components prettier",
"prettier:ci": "yarn --cwd ./packages/shared prettier:ci && yarn --cwd ./packages/components prettier:ci",
"typescript": "yarn --cwd ./packages/shared typescript && yarn --cwd ./packages/components typescript",
"typescript:ci": "yarn --cwd ./packages/shared typescript:ci && yarn --cwd ./packages/components typescript:ci",
"prepare": "yarn --cwd ./packages/shared prepare && yarn --cwd ./packages/components prepare && husky install .husky",
"release:major": "yarn --cwd ./packages/shared changelog -- -M && yarn --cwd ./packages/components changelog -- -M && yarn bumpAndPublish",
"release:minor": "yarn --cwd ./packages/shared changelog -- -m && yarn --cwd ./packages/components changelog -- -m && yarn bumpAndPublish",
"release:patch": "yarn --cwd ./packages/shared changelog -- -p && yarn --cwd ./packages/components changelog -- -p && yarn bumpAndPublish",
"bumpAndPublish": "yarn prettier && git add . && git commit -m 'docs: update CHANGELOG files' && lerna publish --no-private"
},
"devDependencies": {
"@commitlint/cli": "17.4.0",
"@commitlint/config-conventional": "17.4.0",
"concurrently": "7.4.0",
"husky": "8.0.1",
"lerna": "6.3.0"
}
}