-
Notifications
You must be signed in to change notification settings - Fork 54
/
package.json
162 lines (162 loc) · 6.65 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
160
161
162
{
"name": "medly-components",
"private": true,
"workspaces": [
"packages/*"
],
"version": "1.0.0",
"keywords": [
"React",
"Components",
"Medly",
"react-components"
],
"author": "Medly",
"license": "ISC",
"bugs": {
"url": "https://github.com/medly/medly-components/issues"
},
"homepage": "https://github.com/medly/medly-components#readme",
"repository": {
"type": "git",
"url": "git://github.com/medly/medly-components.git"
},
"description": "🚀 Simple themable component library using react, styled-components & typescript",
"scripts": {
"build:core": "lerna run build --scope @medly-components/core",
"build:forms": "lerna run build --scope @medly-components/forms",
"build:icons": "lerna run build --scope @medly-components/icons",
"build:layout": "lerna run build --scope @medly-components/layout",
"build:loaders": "lerna run build --scope @medly-components/loaders",
"build:markdown": "lerna run build --scope @medly-components/markdown",
"build:theme": "lerna run build --scope @medly-components/theme",
"build:utils": "lerna run build --scope @medly-components/utils",
"build": "lerna run build",
"chromatic": "chromatic -d .out -t 9e7b69d929cd --auto-accept-changes",
"clean": "lerna clean --yes && rimraf node_modules",
"commit": "git-cz",
"init:commitizen": "commitizen init cz-lerna-changelog --yarn --dev --exact --force",
"unlink:packages": "lerna exec -- yarn unlink",
"link:packages": "lerna link && lerna exec -- yarn link",
"lint": "lerna run lint --stream --parallel",
"lint:fix": "lerna run lint:fix",
"prerelease": "yarn lint && yarn test && yarn build",
"release": "cross-env HUSKY_BYPASS=true lerna publish",
"prestorybook:build": "rimraf out && yarn test:generate-output",
"storybook:build": "cross-env BABEL_ENV=storybook build-storybook -c .storybook -o .out -s .storybook/static",
"prestorybook:deploy": "yarn storybook:build",
"storybook:deploy": "storybook-to-ghpages --existing-output-dir=.out",
"storybook": "cross-env BABEL_ENV=storybook start-storybook -p 6006 -s .storybook/static",
"test:coverage": "jest --coverage",
"test:generate-output": "jest --json --outputFile=.jest-test-results.json || true",
"test:update": "tsc && jest -u",
"test:watch": "jest --watch",
"test": "lerna run test --stream --parallel",
"test:core": "jest --selectProjects core --cache",
"test:forms": "jest --selectProjects forms --cache",
"test:layout": "jest --selectProjects layout --cache",
"test:utils": "jest --selectProjects utils --cache",
"watch": "lerna run watch",
"watch:core": "lerna run watch --scope @medly-components/core",
"watch:layout": "lerna run watch --scope @medly-components/layout",
"watch:utils": "lerna run watch --scope @medly-components/utils",
"watch:loaders": "lerna run watch --scope @medly-components/loaders",
"watch:icons": "lerna run watch --scope @medly-components/icons",
"watch:forms": "lerna run watch --scope @medly-components/forms",
"watch:theme": "lerna run watch --scope @medly-components/theme",
"watch:markdown": "lerna run watch --scope @medly-components/markdown"
},
"prettier": "@medly/prettier-config",
"stylelint": {
"extends": "@medly/stylelint-config"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": "@medly/react",
"globals": {
"React": true,
"JSX": true
},
"rules": {
"@typescript-eslint/no-non-null-assertion": 0,
"react-hooks/exhaustive-deps": 0
}
},
"storybook-deployer": {
"gitUsername": "gmukul01",
"gitEmail": "[email protected]",
"commitMessage": "docs: Deploy latest documentation"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-lerna-changelog"
}
},
"husky": {
"hooks": {
"prepare-commit-msg": "[[ -n $HUSKY_BYPASS ]] || exec < /dev/tty && git cz --hook || true",
"commit-msg": "[[ -n $HUSKY_BYPASS ]] || commitlint -E HUSKY_GIT_PARAMS"
}
},
"devDependencies": {
"@babel/runtime": "^7.15.4",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-lerna-scopes": "^17.2.1",
"@mdx-js/loader": "1.5.5",
"@medly/babel-config-react": "^0.7.0",
"@medly/eslint-config-react": "^0.3.1",
"@medly/prettier-config": "^0.1.1",
"@medly/rollup-config": "^0.8.2",
"@medly/stylelint-config": "0.2.0",
"@medly/typescript-config-react": "^1.4.0",
"@nrwl/nx-cloud": "^15.0.2",
"@storybook/addon-actions": "5.3.18",
"@storybook/addon-docs": "5.3.18",
"@storybook/addon-jest": "5.3.18",
"@storybook/addon-knobs": "5.3.18",
"@storybook/addon-links": "5.3.18",
"@storybook/addon-viewport": "^5.3.19",
"@storybook/addons": "5.3.18",
"@storybook/react": "5.3.18",
"@storybook/storybook-deployer": "^2.8.5",
"@svgr/webpack": "^5.3.0",
"@testing-library/dom": "^7.5.6",
"@testing-library/react": "12.1.2",
"@testing-library/user-event": "^12.0.2",
"@types/react": "^17.0.30",
"@types/react-dom": "^17.0.9",
"@types/storybook__addon-info": "5.2.1",
"@types/styled-components": "^5.1.0",
"axios": "^0.21.1",
"axios-mock-adapter": "^1.19.0",
"babel-loader": "^8.1.0",
"chromatic": "^5.10.0-canary.0",
"commitizen": "4.0.3",
"cross-env": "7.0.0",
"crypto": "^1.0.1",
"cz-lerna-changelog": "^2.0.2",
"eslint-plugin-jest": "^25.0.6",
"fork-ts-checker-webpack-plugin": "^4.1.1",
"husky": "^4.2.3",
"jest": "26.1.0",
"jest-styled-components": "^7.0.0",
"lerna": "^6.1.0",
"npm-run-all": "4.1.5",
"react": "^17.0.2",
"react-docgen-typescript-loader": "3.6.0",
"react-dom": "^17.0.2",
"rimraf": "^3.0.1",
"storybook-addon-designs": "^5.2.1",
"storybook-addon-jsx": "7.1.14",
"styled-components": "^5.1.0",
"stylelint-custom-processor-loader": "^0.6.0",
"swr": "^2.1.1",
"thread-loader": "^2.1.3",
"ts-node": "^8.8.2",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"webpack": "^4.43.0"
},
"dependencies": {
"@etchteam/storybook-addon-status": "^4.1.0"
}
}