forked from BryanAdamss/monorepo-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
153 lines (153 loc) · 4.71 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
{
"name": "root",
"private": true,
"description": "A monorepo starter for UI components develop. Use lerna,yarn workspaces, rollup, storybook etc.",
"author": {
"name": "GuangHui",
"email": "[email protected]",
"url": "https://github.com/BryanAdamss"
},
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "lerna bootstrap --use-workspaces",
"build": "lerna run build --parallel",
"build:since": "lerna run build --parallel --since",
"commit": "git-cz",
"predev": "yarn doc:lib",
"dev:comp": "start-storybook -p 7007 -s public --no-manager-cache",
"dev:lib": "node build/bin/dev-lib.js",
"dev:svg": "node build/bin/dev-svg.js",
"dev": "concurrently --raw \"yarn dev:comp\" \"yarn dev:lib\" \"yarn dev:svg\"",
"doc:comp": "build-storybook -s public -o ./docs-static",
"doc:lib": "lerna run jsdoc2mdx --parallel",
"doc:lib:since": "lerna run jsdoc2mdx --parallel --since",
"doc": "yarn doc:lib && yarn doc:comp",
"doc:since": "yarn doc:lib:since && yarn doc:comp:since",
"test": "jest --config test/unit/jest.config.js --coverage",
"new": "node build/bin/new.js",
"pkgs": "lerna ls -pla",
"pkgs:deps": "lerna ls --graph",
"prepublishOnly": "yarn build:since",
"postversion": "node build/bin/post-version.js"
},
"devDependencies": {
"@babel/cli": "^7.12.13",
"@babel/core": "^7.12.13",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/preset-env": "^7.13.12",
"@babel/preset-react": "^7.14.5",
"@commitlint/cli": "^12.0.1",
"@commitlint/config-conventional": "^12.0.1",
"@lerna/project": "^4.0.0",
"@ls-lint/ls-lint": "^1.9.2",
"@storybook/addon-actions": "^6.2.9",
"@storybook/addon-console": "^1.2.3",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/addon-links": "^6.2.9",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/addons": "^6.2.9",
"@storybook/preset-scss": "^1.0.3",
"@storybook/theming": "^6.2.9",
"@storybook/vue": "^6.2.9",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-standard": "^6.0.0",
"@vue/test-utils": "^1.1.3",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"chokidar": "^3.5.1",
"commitizen": "^4.2.3",
"concurrently": "^6.2.0",
"copy": "^0.3.2",
"css-loader": "^5.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.19.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-standard": "^5.0.0",
"eslint-plugin-vue": "^7.5.0",
"file-save": "^0.2.0",
"husky": "^3.1.0",
"jest": "^26.6.3",
"jest-serializer-vue": "^2.0.2",
"jsdoc": "^3.6.6",
"jsdoc-to-markdown": "^7.0.1",
"json-templater": "^1.2.0",
"lerna": "^3.22.1",
"lint-staged": "^10.5.4",
"lodash": "^4.17.21",
"minami": "^1.2.3",
"postcss": "^8.3.4",
"postcss-import": "^14.0.2",
"postcss-url": "^10.1.3",
"prettier": "^2.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rollup": "^2.39.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-banner": "^0.2.1",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-img": "^1.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-vue": "^5.1.6",
"sass": "^1.35.0",
"sass-loader": "^10.2.0",
"shx": "^0.3.3",
"style-loader": "^2.0.0",
"stylelint": "^13.12.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-order": "^4.1.0",
"stylelint-selector-bem-pattern": "^2.1.0",
"svg-sprite-loader": "^6.0.6",
"svgo": "^2.3.0",
"svgo-loader": "^3.0.0",
"uppercamelcase": "^3.0.0",
"vue": "^2.6.12",
"vue-jest": "^3.0.7",
"vue-loader": "^15.9.6",
"vue-template-compiler": "^2.6.12"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BryanAdamss/monorepo-starter.git"
},
"bugs": {
"url": "https://github.com/BryanAdamss/monorepo-starter/issues"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.{json,md,html,flow,ts,tsd}": [
"prettier --write",
"git add"
],
"*.{js,jsx,vue}": [
"eslint --fix",
"git add"
],
"*.{sass,scss,vue,css,less,stylus}": [
"stylelint --fix",
"git add"
],
"*": [
"ls-lint"
]
}
}