forked from momentum-design/momentum-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
108 lines (108 loc) · 3.62 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
{
"name": "momentum-ui",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/momentum-design/momentum-ui.git"
},
"scripts": {
"bootstrap": "yarn build:tokens && lerna bootstrap && lerna link",
"bootstrap:clean": "run-s clean bootstrap",
"build": "yarn build:all",
"build:all": "run-s build:icons build:core build:react build:charts",
"build:core": "cd ./core && yarn build:lib",
"build:charts": "cd ./charts && yarn build:lib",
"build:icons": "cd ./icons && yarn build:lib",
"build:react": "cd ./react && yarn build:lib",
"build:tokens": "cd ./tokens && yarn build:lib",
"build:utils": "cd ./utils && yarn build:lib",
"build:data": "rimraf ./data && node ./tools/generateComponentsData.js",
"serve:core": "cd ./core && yarn open:dist",
"ci:publish": "yarn release",
"ci:test": "run-s ci:test:icons ci:test:core ci:test:react ci:test:charts",
"ci:test:core": "cd ./core && yarn test",
"ci:test:core:percy": "cd ./core && yarn test:percy",
"ci:test:icons": "cd ./icons && yarn test",
"ci:test:react": "cd ./react && yarn test:CI",
"ci:test:tokens": "cd ./tokens && yarn test",
"ci:test:react:percy": "cd ./react && yarn test:percy",
"ci:test:percy": "run-s ci:test:icons ci:test:core:percy ci:test:react",
"ci:test:charts": "cd ./charts && yarn test:CI",
"ci:test:www": "cd ./www && yarn test:CI",
"cypress:verify": "cypress verify",
"clean": "rimraf node_modules/ **/node_modules/",
"commit": "npx git-cz",
"data": "run-s build:data data:pushToDB",
"data:pushToDB": "node ./tools/postComponentsToDB.js",
"lint:all": "run-p lint:tokens lint:icons lint:core lint:react",
"lint:icons": "cd ./icons && yarn lint",
"lint:core": "cd ./core && yarn lint",
"lint:react": "cd ./react && yarn lint",
"lint:tokens": "cd ./tokens && yarn lint",
"publish:www": "node ./tools/publishWebsite.js",
"release": "./tools/release.sh",
"start:all": "run-p start:core start:react",
"start:core": "cd ./core && yarn start",
"start:react": "cd ./react && yarn start",
"start:tokens": "cd ./tokens && yarn start",
"start:charts": "cd ./charts && yarn start",
"test:all": "run-s test:tokens test:react",
"test:react": "cd ./react && yarn test",
"test:tokens": "cd ./tokens && yarn test",
"test:www": "cd ./www && yarn test:unit",
"test:charts": "cd ./charts && yarn test",
"postinstall": "yarn build:utils"
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/exec": "^3.3.2",
"@semantic-release/git": "^7.0.7",
"aws-sdk": "^2.538.0",
"cypress": "^3.4.1",
"git-url-parse": "^11.1.2",
"husky": "^4.2.3",
"lerna": "^3.13.1",
"mime": "^2.4.4",
"npm-run-all": "^4.1.5",
"remark-parse": "^6.0.3",
"rimraf": "^2.6.3",
"semantic-release": "^15.13.24",
"semantic-release-monorepo": "^6.1.1",
"unified": "^7.1.0",
"webex": "^1.80.1",
"yarn": "^1.16.0"
},
"workspaces": {
"packages": [
"./core",
"./charts",
"./icons",
"./react",
"./tokens",
"./utils",
"./www"
],
"nohoist": [
"**/@types/**",
"**/@percy/**",
"**/awesome-typescript-loader",
"**/html-loader",
"**/jest/**",
"**/jest",
"**/moment*",
"**/webpack-cli/**"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}